Class ChangesetCollectionUtil
com.liferay.changeset.service.persistence.impl.ChangesetCollectionPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(ChangesetCollection changesetCollection) Caches the changeset collection in the entity cache if it is enabled.static void
cacheResult
(List<ChangesetCollection> changesetCollections) Caches the changeset collections in the entity cache if it is enabled.static void
static void
clearCache
(ChangesetCollection changesetCollection) static int
countAll()
Returns the number of changeset collections.static int
countByC_N
(long companyId, String name) Returns the number of changeset collections where companyId = ? and name = ?.static int
countByCompanyId
(long companyId) Returns the number of changeset collections where companyId = ?.static int
countByG_N
(long groupId, String name) Returns the number of changeset collections where groupId = ? and name = ?.static int
countByG_U
(long groupId, long userId) Returns the number of changeset collections where groupId = ? and userId = ?.static int
countByGroupId
(long groupId) Returns the number of changeset collections where groupId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static ChangesetCollection
create
(long changesetCollectionId) Creates a new changeset collection with the primary key.static ChangesetCollection
fetchByC_N_First
(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the first changeset collection in the ordered set where companyId = ? and name = ?.static ChangesetCollection
fetchByC_N_Last
(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the last changeset collection in the ordered set where companyId = ? and name = ?.static ChangesetCollection
fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the first changeset collection in the ordered set where companyId = ?.static ChangesetCollection
fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the last changeset collection in the ordered set where companyId = ?.static ChangesetCollection
fetchByG_N
(long groupId, String name) Returns the changeset collection where groupId = ? and name = ? or returnsnull
if it could not be found.static ChangesetCollection
fetchByG_N
(long groupId, String name, boolean useFinderCache) Returns the changeset collection where groupId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.static ChangesetCollection
fetchByG_U_First
(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the first changeset collection in the ordered set where groupId = ? and userId = ?.static ChangesetCollection
fetchByG_U_Last
(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the last changeset collection in the ordered set where groupId = ? and userId = ?.static ChangesetCollection
fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the first changeset collection in the ordered set where groupId = ?.static ChangesetCollection
fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the last changeset collection in the ordered set where groupId = ?.static ChangesetCollection
fetchByPrimaryKey
(long changesetCollectionId) Returns the changeset collection with the primary key or returnsnull
if it could not be found.static Map<Serializable,
ChangesetCollection> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static List<ChangesetCollection>
findAll()
Returns all the changeset collections.static List<ChangesetCollection>
findAll
(int start, int end) Returns a range of all the changeset collections.static List<ChangesetCollection>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns an ordered range of all the changeset collections.static List<ChangesetCollection>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the changeset collections.static List<ChangesetCollection>
Returns all the changeset collections where companyId = ? and name = ?.static List<ChangesetCollection>
Returns a range of all the changeset collections where companyId = ? and name = ?.static List<ChangesetCollection>
findByC_N
(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns an ordered range of all the changeset collections where companyId = ? and name = ?.static List<ChangesetCollection>
findByC_N
(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the changeset collections where companyId = ? and name = ?.static ChangesetCollection
findByC_N_First
(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the first changeset collection in the ordered set where companyId = ? and name = ?.static ChangesetCollection
findByC_N_Last
(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the last changeset collection in the ordered set where companyId = ? and name = ?.static ChangesetCollection[]
findByC_N_PrevAndNext
(long changesetCollectionId, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the changeset collections before and after the current changeset collection in the ordered set where companyId = ? and name = ?.static List<ChangesetCollection>
findByCompanyId
(long companyId) Returns all the changeset collections where companyId = ?.static List<ChangesetCollection>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the changeset collections where companyId = ?.static List<ChangesetCollection>
findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns an ordered range of all the changeset collections where companyId = ?.static List<ChangesetCollection>
findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the changeset collections where companyId = ?.static ChangesetCollection
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the first changeset collection in the ordered set where companyId = ?.static ChangesetCollection
findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the last changeset collection in the ordered set where companyId = ?.static ChangesetCollection[]
findByCompanyId_PrevAndNext
(long changesetCollectionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the changeset collections before and after the current changeset collection in the ordered set where companyId = ?.static ChangesetCollection
Returns the changeset collection where groupId = ? and name = ? or throws aNoSuchCollectionException
if it could not be found.static List<ChangesetCollection>
findByG_U
(long groupId, long userId) Returns all the changeset collections where groupId = ? and userId = ?.static List<ChangesetCollection>
findByG_U
(long groupId, long userId, int start, int end) Returns a range of all the changeset collections where groupId = ? and userId = ?.static List<ChangesetCollection>
findByG_U
(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns an ordered range of all the changeset collections where groupId = ? and userId = ?.static List<ChangesetCollection>
findByG_U
(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the changeset collections where groupId = ? and userId = ?.static ChangesetCollection
findByG_U_First
(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the first changeset collection in the ordered set where groupId = ? and userId = ?.static ChangesetCollection
findByG_U_Last
(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the last changeset collection in the ordered set where groupId = ? and userId = ?.static ChangesetCollection[]
findByG_U_PrevAndNext
(long changesetCollectionId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the changeset collections before and after the current changeset collection in the ordered set where groupId = ? and userId = ?.static List<ChangesetCollection>
findByGroupId
(long groupId) Returns all the changeset collections where groupId = ?.static List<ChangesetCollection>
findByGroupId
(long groupId, int start, int end) Returns a range of all the changeset collections where groupId = ?.static List<ChangesetCollection>
findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns an ordered range of all the changeset collections where groupId = ?.static List<ChangesetCollection>
findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the changeset collections where groupId = ?.static ChangesetCollection
findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the first changeset collection in the ordered set where groupId = ?.static ChangesetCollection
findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the last changeset collection in the ordered set where groupId = ?.static ChangesetCollection[]
findByGroupId_PrevAndNext
(long changesetCollectionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the changeset collections before and after the current changeset collection in the ordered set where groupId = ?.static ChangesetCollection
findByPrimaryKey
(long changesetCollectionId) Returns the changeset collection with the primary key or throws aNoSuchCollectionException
if it could not be found.static List<ChangesetCollection>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<ChangesetCollection>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<ChangesetCollection>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) static ChangesetCollection
remove
(long changesetCollectionId) Removes the changeset collection with the primary key from the database.static void
Removes all the changeset collections from the database.static void
removeByC_N
(long companyId, String name) Removes all the changeset collections where companyId = ? and name = ? from the database.static void
removeByCompanyId
(long companyId) Removes all the changeset collections where companyId = ? from the database.static ChangesetCollection
removeByG_N
(long groupId, String name) Removes the changeset collection where groupId = ? and name = ? from the database.static void
removeByG_U
(long groupId, long userId) Removes all the changeset collections where groupId = ? and userId = ? from the database.static void
removeByGroupId
(long groupId) Removes all the changeset collections where groupId = ? from the database.static void
setPersistence
(ChangesetCollectionPersistence persistence) static ChangesetCollection
update
(ChangesetCollection changesetCollection) static ChangesetCollection
update
(ChangesetCollection changesetCollection, com.liferay.portal.kernel.service.ServiceContext serviceContext) static ChangesetCollection
updateImpl
(ChangesetCollection changesetCollection)
-
Constructor Details
-
ChangesetCollectionUtil
public ChangesetCollectionUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,ChangesetCollection> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<ChangesetCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<ChangesetCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<ChangesetCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static ChangesetCollection update(ChangesetCollection changesetCollection, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByGroupId
Returns all the changeset collections where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching changeset collections
-
findByGroupId
Returns a range of all the changeset collections where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromChangesetCollectionModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of changeset collectionsend
- the upper bound of the range of changeset collections (not inclusive)- Returns:
- the range of matching changeset collections
-
findByGroupId
public static List<ChangesetCollection> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns an ordered range of all the changeset collections where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromChangesetCollectionModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of changeset collectionsend
- the upper bound of the range of changeset collections (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching changeset collections
-
findByGroupId
public static List<ChangesetCollection> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the changeset collections where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromChangesetCollectionModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of changeset collectionsend
- the upper bound of the range of changeset collections (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching changeset collections
-
findByGroupId_First
public static ChangesetCollection findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException Returns the first changeset collection in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching changeset collection
- Throws:
NoSuchCollectionException
- if a matching changeset collection could not be foundNoSuchCollectionException
-
fetchByGroupId_First
public static ChangesetCollection fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the first changeset collection in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching changeset collection, or
null
if a matching changeset collection could not be found
-
findByGroupId_Last
public static ChangesetCollection findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException Returns the last changeset collection in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching changeset collection
- Throws:
NoSuchCollectionException
- if a matching changeset collection could not be foundNoSuchCollectionException
-
fetchByGroupId_Last
public static ChangesetCollection fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the last changeset collection in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching changeset collection, or
null
if a matching changeset collection could not be found
-
findByGroupId_PrevAndNext
public static ChangesetCollection[] findByGroupId_PrevAndNext(long changesetCollectionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException Returns the changeset collections before and after the current changeset collection in the ordered set where groupId = ?.- Parameters:
changesetCollectionId
- the primary key of the current changeset collectiongroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next changeset collection
- Throws:
NoSuchCollectionException
- if a changeset collection with the primary key could not be foundNoSuchCollectionException
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the changeset collections where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Returns the number of changeset collections where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching changeset collections
-
findByCompanyId
Returns all the changeset collections where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching changeset collections
-
findByCompanyId
Returns a range of all the changeset collections where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromChangesetCollectionModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of changeset collectionsend
- the upper bound of the range of changeset collections (not inclusive)- Returns:
- the range of matching changeset collections
-
findByCompanyId
public static List<ChangesetCollection> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns an ordered range of all the changeset collections where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromChangesetCollectionModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of changeset collectionsend
- the upper bound of the range of changeset collections (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching changeset collections
-
findByCompanyId
public static List<ChangesetCollection> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the changeset collections where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromChangesetCollectionModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of changeset collectionsend
- the upper bound of the range of changeset collections (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching changeset collections
-
findByCompanyId_First
public static ChangesetCollection findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException Returns the first changeset collection in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching changeset collection
- Throws:
NoSuchCollectionException
- if a matching changeset collection could not be foundNoSuchCollectionException
-
fetchByCompanyId_First
public static ChangesetCollection fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the first changeset collection in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching changeset collection, or
null
if a matching changeset collection could not be found
-
findByCompanyId_Last
public static ChangesetCollection findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException Returns the last changeset collection in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching changeset collection
- Throws:
NoSuchCollectionException
- if a matching changeset collection could not be foundNoSuchCollectionException
-
fetchByCompanyId_Last
public static ChangesetCollection fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the last changeset collection in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching changeset collection, or
null
if a matching changeset collection could not be found
-
findByCompanyId_PrevAndNext
public static ChangesetCollection[] findByCompanyId_PrevAndNext(long changesetCollectionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException Returns the changeset collections before and after the current changeset collection in the ordered set where companyId = ?.- Parameters:
changesetCollectionId
- the primary key of the current changeset collectioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next changeset collection
- Throws:
NoSuchCollectionException
- if a changeset collection with the primary key could not be foundNoSuchCollectionException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the changeset collections where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of changeset collections where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching changeset collections
-
findByG_U
Returns all the changeset collections where groupId = ? and userId = ?.- Parameters:
groupId
- the group IDuserId
- the user ID- Returns:
- the matching changeset collections
-
findByG_U
Returns a range of all the changeset collections where groupId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromChangesetCollectionModelImpl
.- Parameters:
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of changeset collectionsend
- the upper bound of the range of changeset collections (not inclusive)- Returns:
- the range of matching changeset collections
-
findByG_U
public static List<ChangesetCollection> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns an ordered range of all the changeset collections where groupId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromChangesetCollectionModelImpl
.- Parameters:
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of changeset collectionsend
- the upper bound of the range of changeset collections (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching changeset collections
-
findByG_U
public static List<ChangesetCollection> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the changeset collections where groupId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromChangesetCollectionModelImpl
.- Parameters:
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of changeset collectionsend
- the upper bound of the range of changeset collections (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching changeset collections
-
findByG_U_First
public static ChangesetCollection findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException Returns the first changeset collection in the ordered set where groupId = ? and userId = ?.- Parameters:
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching changeset collection
- Throws:
NoSuchCollectionException
- if a matching changeset collection could not be foundNoSuchCollectionException
-
fetchByG_U_First
public static ChangesetCollection fetchByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the first changeset collection in the ordered set where groupId = ? and userId = ?.- Parameters:
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching changeset collection, or
null
if a matching changeset collection could not be found
-
findByG_U_Last
public static ChangesetCollection findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException Returns the last changeset collection in the ordered set where groupId = ? and userId = ?.- Parameters:
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching changeset collection
- Throws:
NoSuchCollectionException
- if a matching changeset collection could not be foundNoSuchCollectionException
-
fetchByG_U_Last
public static ChangesetCollection fetchByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the last changeset collection in the ordered set where groupId = ? and userId = ?.- Parameters:
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching changeset collection, or
null
if a matching changeset collection could not be found
-
findByG_U_PrevAndNext
public static ChangesetCollection[] findByG_U_PrevAndNext(long changesetCollectionId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException Returns the changeset collections before and after the current changeset collection in the ordered set where groupId = ? and userId = ?.- Parameters:
changesetCollectionId
- the primary key of the current changeset collectiongroupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next changeset collection
- Throws:
NoSuchCollectionException
- if a changeset collection with the primary key could not be foundNoSuchCollectionException
-
removeByG_U
public static void removeByG_U(long groupId, long userId) Removes all the changeset collections where groupId = ? and userId = ? from the database.- Parameters:
groupId
- the group IDuserId
- the user ID
-
countByG_U
public static int countByG_U(long groupId, long userId) Returns the number of changeset collections where groupId = ? and userId = ?.- Parameters:
groupId
- the group IDuserId
- the user ID- Returns:
- the number of matching changeset collections
-
findByG_N
public static ChangesetCollection findByG_N(long groupId, String name) throws NoSuchCollectionException Returns the changeset collection where groupId = ? and name = ? or throws aNoSuchCollectionException
if it could not be found.- Parameters:
groupId
- the group IDname
- the name- Returns:
- the matching changeset collection
- Throws:
NoSuchCollectionException
- if a matching changeset collection could not be foundNoSuchCollectionException
-
fetchByG_N
Returns the changeset collection where groupId = ? and name = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDname
- the name- Returns:
- the matching changeset collection, or
null
if a matching changeset collection could not be found
-
fetchByG_N
Returns the changeset collection where groupId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDname
- the nameuseFinderCache
- whether to use the finder cache- Returns:
- the matching changeset collection, or
null
if a matching changeset collection could not be found
-
removeByG_N
public static ChangesetCollection removeByG_N(long groupId, String name) throws NoSuchCollectionException Removes the changeset collection where groupId = ? and name = ? from the database.- Parameters:
groupId
- the group IDname
- the name- Returns:
- the changeset collection that was removed
- Throws:
NoSuchCollectionException
-
countByG_N
Returns the number of changeset collections where groupId = ? and name = ?.- Parameters:
groupId
- the group IDname
- the name- Returns:
- the number of matching changeset collections
-
findByC_N
Returns all the changeset collections where companyId = ? and name = ?.- Parameters:
companyId
- the company IDname
- the name- Returns:
- the matching changeset collections
-
findByC_N
Returns a range of all the changeset collections where companyId = ? and name = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromChangesetCollectionModelImpl
.- Parameters:
companyId
- the company IDname
- the namestart
- the lower bound of the range of changeset collectionsend
- the upper bound of the range of changeset collections (not inclusive)- Returns:
- the range of matching changeset collections
-
findByC_N
public static List<ChangesetCollection> findByC_N(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns an ordered range of all the changeset collections where companyId = ? and name = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromChangesetCollectionModelImpl
.- Parameters:
companyId
- the company IDname
- the namestart
- the lower bound of the range of changeset collectionsend
- the upper bound of the range of changeset collections (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching changeset collections
-
findByC_N
public static List<ChangesetCollection> findByC_N(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the changeset collections where companyId = ? and name = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromChangesetCollectionModelImpl
.- Parameters:
companyId
- the company IDname
- the namestart
- the lower bound of the range of changeset collectionsend
- the upper bound of the range of changeset collections (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching changeset collections
-
findByC_N_First
public static ChangesetCollection findByC_N_First(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException Returns the first changeset collection in the ordered set where companyId = ? and name = ?.- Parameters:
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching changeset collection
- Throws:
NoSuchCollectionException
- if a matching changeset collection could not be foundNoSuchCollectionException
-
fetchByC_N_First
public static ChangesetCollection fetchByC_N_First(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the first changeset collection in the ordered set where companyId = ? and name = ?.- Parameters:
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching changeset collection, or
null
if a matching changeset collection could not be found
-
findByC_N_Last
public static ChangesetCollection findByC_N_Last(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException Returns the last changeset collection in the ordered set where companyId = ? and name = ?.- Parameters:
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching changeset collection
- Throws:
NoSuchCollectionException
- if a matching changeset collection could not be foundNoSuchCollectionException
-
fetchByC_N_Last
public static ChangesetCollection fetchByC_N_Last(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the last changeset collection in the ordered set where companyId = ? and name = ?.- Parameters:
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching changeset collection, or
null
if a matching changeset collection could not be found
-
findByC_N_PrevAndNext
public static ChangesetCollection[] findByC_N_PrevAndNext(long changesetCollectionId, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException Returns the changeset collections before and after the current changeset collection in the ordered set where companyId = ? and name = ?.- Parameters:
changesetCollectionId
- the primary key of the current changeset collectioncompanyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next changeset collection
- Throws:
NoSuchCollectionException
- if a changeset collection with the primary key could not be foundNoSuchCollectionException
-
removeByC_N
Removes all the changeset collections where companyId = ? and name = ? from the database.- Parameters:
companyId
- the company IDname
- the name
-
countByC_N
Returns the number of changeset collections where companyId = ? and name = ?.- Parameters:
companyId
- the company IDname
- the name- Returns:
- the number of matching changeset collections
-
cacheResult
Caches the changeset collection in the entity cache if it is enabled.- Parameters:
changesetCollection
- the changeset collection
-
cacheResult
Caches the changeset collections in the entity cache if it is enabled.- Parameters:
changesetCollections
- the changeset collections
-
create
Creates a new changeset collection with the primary key. Does not add the changeset collection to the database.- Parameters:
changesetCollectionId
- the primary key for the new changeset collection- Returns:
- the new changeset collection
-
remove
public static ChangesetCollection remove(long changesetCollectionId) throws NoSuchCollectionException Removes the changeset collection with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
changesetCollectionId
- the primary key of the changeset collection- Returns:
- the changeset collection that was removed
- Throws:
NoSuchCollectionException
- if a changeset collection with the primary key could not be foundNoSuchCollectionException
-
updateImpl
-
findByPrimaryKey
public static ChangesetCollection findByPrimaryKey(long changesetCollectionId) throws NoSuchCollectionException Returns the changeset collection with the primary key or throws aNoSuchCollectionException
if it could not be found.- Parameters:
changesetCollectionId
- the primary key of the changeset collection- Returns:
- the changeset collection
- Throws:
NoSuchCollectionException
- if a changeset collection with the primary key could not be foundNoSuchCollectionException
-
fetchByPrimaryKey
Returns the changeset collection with the primary key or returnsnull
if it could not be found.- Parameters:
changesetCollectionId
- the primary key of the changeset collection- Returns:
- the changeset collection, or
null
if a changeset collection with the primary key could not be found
-
findAll
Returns all the changeset collections.- Returns:
- the changeset collections
-
findAll
Returns a range of all the changeset collections.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromChangesetCollectionModelImpl
.- Parameters:
start
- the lower bound of the range of changeset collectionsend
- the upper bound of the range of changeset collections (not inclusive)- Returns:
- the range of changeset collections
-
findAll
public static List<ChangesetCollection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns an ordered range of all the changeset collections.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromChangesetCollectionModelImpl
.- Parameters:
start
- the lower bound of the range of changeset collectionsend
- the upper bound of the range of changeset collections (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of changeset collections
-
findAll
public static List<ChangesetCollection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the changeset collections.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromChangesetCollectionModelImpl
.- Parameters:
start
- the lower bound of the range of changeset collectionsend
- the upper bound of the range of changeset collections (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of changeset collections
-
removeAll
public static void removeAll()Removes all the changeset collections from the database. -
countAll
public static int countAll()Returns the number of changeset collections.- Returns:
- the number of changeset collections
-
getPersistence
-
setPersistence
-