Interface ChangesetCollectionPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<ChangesetCollection>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(ChangesetCollection changesetCollection) Caches the changeset collection in the entity cache if it is enabled.void
cacheResult
(List<ChangesetCollection> changesetCollections) Caches the changeset collections in the entity cache if it is enabled.int
countAll()
Returns the number of changeset collections.int
countByC_N
(long companyId, String name) Returns the number of changeset collections where companyId = ? and name = ?.int
countByCompanyId
(long companyId) Returns the number of changeset collections where companyId = ?.int
countByG_N
(long groupId, String name) Returns the number of changeset collections where groupId = ? and name = ?.int
countByG_U
(long groupId, long userId) Returns the number of changeset collections where groupId = ? and userId = ?.int
countByGroupId
(long groupId) Returns the number of changeset collections where groupId = ?.create
(long changesetCollectionId) Creates a new changeset collection with the primary key.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 = ?.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 = ?.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the first changeset collection in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the last changeset collection in the ordered set where companyId = ?.fetchByG_N
(long groupId, String name) Returns the changeset collection where groupId = ? and name = ? or returnsnull
if it could not be found.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.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 = ?.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 = ?.fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the first changeset collection in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the last changeset collection in the ordered set where groupId = ?.fetchByPrimaryKey
(long changesetCollectionId) Returns the changeset collection with the primary key or returnsnull
if it could not be found.findAll()
Returns all the changeset collections.findAll
(int start, int end) Returns a range of all the changeset collections.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns an ordered range of all the changeset collections.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the changeset collections.Returns all the changeset collections where companyId = ? and name = ?.Returns a range of all the changeset collections where companyId = ? and name = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByCompanyId
(long companyId) Returns all the changeset collections where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the changeset collections where companyId = ?.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 = ?.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 = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the first changeset collection in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the last changeset collection in the ordered set where companyId = ?.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 = ?.Returns the changeset collection where groupId = ? and name = ? or throws aNoSuchCollectionException
if it could not be found.findByG_U
(long groupId, long userId) Returns all the changeset collections where groupId = ? and userId = ?.findByG_U
(long groupId, long userId, int start, int end) Returns a range of all the changeset collections where groupId = ? and userId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByGroupId
(long groupId) Returns all the changeset collections where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the changeset collections where groupId = ?.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 = ?.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 = ?.findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the first changeset collection in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) Returns the last changeset collection in the ordered set where groupId = ?.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 = ?.findByPrimaryKey
(long changesetCollectionId) Returns the changeset collection with the primary key or throws aNoSuchCollectionException
if it could not be found.remove
(long changesetCollectionId) Removes the changeset collection with the primary key from the database.void
Removes all the changeset collections from the database.void
removeByC_N
(long companyId, String name) Removes all the changeset collections where companyId = ? and name = ? from the database.void
removeByCompanyId
(long companyId) Removes all the changeset collections where companyId = ? from the database.removeByG_N
(long groupId, String name) Removes the changeset collection where groupId = ? and name = ? from the database.void
removeByG_U
(long groupId, long userId) Removes all the changeset collections where groupId = ? and userId = ? from the database.void
removeByGroupId
(long groupId) Removes all the changeset collections where groupId = ? from the database.updateImpl
(ChangesetCollection changesetCollection) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
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
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
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
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 found
-
fetchByGroupId_First
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
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 found
-
fetchByGroupId_Last
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
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 found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the changeset collections where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
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
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
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
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 found
-
fetchByCompanyId_First
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
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 found
-
fetchByCompanyId_Last
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
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 found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the changeset collections where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
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
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
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
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 found
-
fetchByG_U_First
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
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 found
-
fetchByG_U_Last
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
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 found
-
removeByG_U
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
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
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 found
-
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
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
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
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
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 found
-
fetchByC_N_First
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
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 found
-
fetchByC_N_Last
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
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 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
-
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
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 found
-
updateImpl
-
findByPrimaryKey
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 found
-
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
List<ChangesetCollection> 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
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
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
void removeAll()Removes all the changeset collections from the database. -
countAll
int countAll()Returns the number of changeset collections.- Returns:
- the number of changeset collections
-