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 voidcacheResult(ChangesetCollection changesetCollection) static voidcacheResult(List<ChangesetCollection> changesetCollections) static voidstatic voidclearCache(ChangesetCollection changesetCollection) static intcountByC_N(long companyId, String name) Returns the number of changeset collections where companyId = ? and name = ?.static intcountByCompanyId(long companyId) Returns the number of changeset collections where companyId = ?.static intcountByG_N(long groupId, String name) Returns the number of changeset collections where groupId = ? and name = ?.static intcountByG_U(long groupId, long userId) Returns the number of changeset collections where groupId = ? and userId = ?.static intcountByGroupId(long groupId) Returns the number of changeset collections where groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static ChangesetCollectioncreate(long changesetCollectionId) Creates a new changeset collection with the primary key.static ChangesetCollectionfetchByC_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 ChangesetCollectionfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the first changeset collection in the ordered set where companyId = ?.static ChangesetCollectionfetchByG_N(long groupId, String name) Returns the changeset collection where groupId = ? and name = ? or returnsnullif it could not be found.static ChangesetCollectionfetchByG_N(long groupId, String name, boolean useFinderCache) Returns the changeset collection where groupId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.static ChangesetCollectionfetchByG_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 ChangesetCollectionfetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the first changeset collection in the ordered set where groupId = ?.static ChangesetCollectionfetchByPrimaryKey(long changesetCollectionId) Returns the changeset collection with the primary key or returnsnullif it could not be found.static Map<Serializable, ChangesetCollection> fetchByPrimaryKeys(Set<Serializable> primaryKeys) 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 ChangesetCollectionfindByC_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 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 ChangesetCollectionfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the first changeset collection in the ordered set where companyId = ?.static ChangesetCollectionReturns the changeset collection where groupId = ? and name = ? or throws aNoSuchCollectionExceptionif 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 ChangesetCollectionfindByG_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 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 ChangesetCollectionfindByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the first changeset collection in the ordered set where groupId = ?.static ChangesetCollectionfindByPrimaryKey(long changesetCollectionId) Returns the changeset collection with the primary key or throws aNoSuchCollectionExceptionif 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 ChangesetCollectionremove(long changesetCollectionId) Removes the changeset collection with the primary key from the database.static voidremoveByC_N(long companyId, String name) Removes all the changeset collections where companyId = ? and name = ? from the database.static voidremoveByCompanyId(long companyId) Removes all the changeset collections where companyId = ? from the database.static ChangesetCollectionremoveByG_N(long groupId, String name) Removes the changeset collection where groupId = ? and name = ? from the database.static voidremoveByG_U(long groupId, long userId) Removes all the changeset collections where groupId = ? and userId = ? from the database.static voidremoveByGroupId(long groupId) Removes all the changeset collections where groupId = ? from the database.static voidsetPersistence(ChangesetCollectionPersistence persistence) static ChangesetCollectionupdate(ChangesetCollection changesetCollection) static ChangesetCollectionupdate(ChangesetCollection changesetCollection, com.liferay.portal.kernel.service.ServiceContext serviceContext) static ChangesetCollectionupdateImpl(ChangesetCollection changesetCollection)
-
Constructor Details
-
ChangesetCollectionUtil
public ChangesetCollectionUtil()
-
-
Method Details
-
cacheResult
- See Also:
-
cacheResult
- See Also:
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
public static Map<Serializable,ChangesetCollection> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
public static List<ChangesetCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<ChangesetCollection> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
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:
-
update
- See Also:
-
update
public static ChangesetCollection update(ChangesetCollection changesetCollection, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetCollectionModelImpl.- 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
-
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
nullif a matching changeset collection could not be found
-
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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetCollectionModelImpl.- 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
-
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
nullif a matching changeset collection could not be found
-
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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetCollectionModelImpl.- 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
-
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
nullif a matching changeset collection could not be found
-
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 aNoSuchCollectionExceptionif it could not be found.- Parameters:
groupId- the group IDname- the name- Returns:
- the matching changeset collection
-
fetchByG_N
Returns the changeset collection where groupId = ? and name = ? or returnsnullif 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
nullif 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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetCollectionModelImpl.- 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
-
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
nullif a matching changeset collection could not be found
-
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
-
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
-
updateImpl
-
findByPrimaryKey
public static ChangesetCollection findByPrimaryKey(long changesetCollectionId) throws NoSuchCollectionException Returns the changeset collection with the primary key or throws aNoSuchCollectionExceptionif it could not be found.- Parameters:
changesetCollectionId- the primary key of the changeset collection- Returns:
- the changeset collection
-
fetchByPrimaryKey
Returns the changeset collection with the primary key or returnsnullif it could not be found.- Parameters:
changesetCollectionId- the primary key of the changeset collection- Returns:
- the changeset collection, or
nullif a changeset collection with the primary key could not be found
-
fetchByG_N
Returns the changeset collection where groupId = ? and name = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
groupId- the group IDname- the name- Returns:
- the matching changeset collection, or
nullif a matching changeset collection could not be found
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetCollectionModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetCollectionModelImpl.- 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetCollectionModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetCollectionModelImpl.- 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetCollectionModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetCollectionModelImpl.- 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetCollectionModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetCollectionModelImpl.- 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
-
getPersistence
-
setPersistence
-