@ProviderType public interface ChangesetCollectionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ChangesetCollection>
Caching information and settings can be found in portal.properties
ChangesetCollectionUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(ChangesetCollection changesetCollection)
Caches the changeset collection in the entity cache if it is enabled.
|
void |
cacheResult(java.util.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,
java.lang.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,
java.lang.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 = ?.
|
ChangesetCollection |
create(long changesetCollectionId)
Creates a new changeset collection with the primary key.
|
ChangesetCollection |
fetchByC_N_First(long companyId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
Returns the first changeset collection in the ordered set where companyId = ? and name = ?.
|
ChangesetCollection |
fetchByC_N_Last(long companyId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
Returns the last changeset collection in the ordered set where companyId = ? and name = ?.
|
ChangesetCollection |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
Returns the first changeset collection in the ordered set where companyId = ?.
|
ChangesetCollection |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
Returns the last changeset collection in the ordered set where companyId = ?.
|
ChangesetCollection |
fetchByG_N(long groupId,
java.lang.String name)
Returns the changeset collection where groupId = ? and name = ? or returns
null if it could not be found. |
ChangesetCollection |
fetchByG_N(long groupId,
java.lang.String name,
boolean useFinderCache)
Returns the changeset collection where groupId = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
ChangesetCollection |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
Returns the first changeset collection in the ordered set where groupId = ?.
|
ChangesetCollection |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
Returns the last changeset collection in the ordered set where groupId = ?.
|
ChangesetCollection |
fetchByPrimaryKey(long changesetCollectionId)
Returns the changeset collection with the primary key or returns
null if it could not be found. |
java.util.List<ChangesetCollection> |
findAll()
Returns all the changeset collections.
|
java.util.List<ChangesetCollection> |
findAll(int start,
int end)
Returns a range of all the changeset collections.
|
java.util.List<ChangesetCollection> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
Returns an ordered range of all the changeset collections.
|
java.util.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.
|
ChangesetCollection |
findByC_N_First(long companyId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
Returns the first changeset collection in the ordered set where companyId = ? and name = ?.
|
ChangesetCollection |
findByC_N_Last(long companyId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
Returns the last changeset collection in the ordered set where companyId = ? and name = ?.
|
ChangesetCollection[] |
findByC_N_PrevAndNext(long changesetCollectionId,
long companyId,
java.lang.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 = ?.
|
java.util.List<ChangesetCollection> |
findByC_N(long companyId,
java.lang.String name)
Returns all the changeset collections where companyId = ? and name = ?.
|
java.util.List<ChangesetCollection> |
findByC_N(long companyId,
java.lang.String name,
int start,
int end)
Returns a range of all the changeset collections where companyId = ? and name = ?.
|
java.util.List<ChangesetCollection> |
findByC_N(long companyId,
java.lang.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 = ?.
|
java.util.List<ChangesetCollection> |
findByC_N(long companyId,
java.lang.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 = ?.
|
ChangesetCollection |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
Returns the first changeset collection in the ordered set where companyId = ?.
|
ChangesetCollection |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
Returns the last changeset collection in the ordered set where companyId = ?.
|
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 = ?.
|
java.util.List<ChangesetCollection> |
findByCompanyId(long companyId)
Returns all the changeset collections where companyId = ?.
|
java.util.List<ChangesetCollection> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the changeset collections where companyId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
ChangesetCollection |
findByG_N(long groupId,
java.lang.String name)
Returns the changeset collection where groupId = ? and name = ? or throws a
NoSuchCollectionException if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<ChangesetCollection> |
findByG_U(long groupId,
long userId)
Returns all the changeset collections where groupId = ? and userId = ?.
|
java.util.List<ChangesetCollection> |
findByG_U(long groupId,
long userId,
int start,
int end)
Returns a range of all the changeset collections where groupId = ? and userId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
ChangesetCollection |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
Returns the first changeset collection in the ordered set where groupId = ?.
|
ChangesetCollection |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
Returns the last changeset collection in the ordered set where groupId = ?.
|
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 = ?.
|
java.util.List<ChangesetCollection> |
findByGroupId(long groupId)
Returns all the changeset collections where groupId = ?.
|
java.util.List<ChangesetCollection> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the changeset collections where groupId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
ChangesetCollection |
findByPrimaryKey(long changesetCollectionId)
Returns the changeset collection with the primary key or throws a
NoSuchCollectionException if it could not be found. |
ChangesetCollection |
remove(long changesetCollectionId)
Removes the changeset collection with the primary key from the database.
|
void |
removeAll()
Removes all the changeset collections from the database.
|
void |
removeByC_N(long companyId,
java.lang.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.
|
ChangesetCollection |
removeByG_N(long groupId,
java.lang.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.
|
ChangesetCollection |
updateImpl(ChangesetCollection changesetCollection) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<ChangesetCollection> findByGroupId(long groupId)
groupId
- the group IDjava.util.List<ChangesetCollection> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChangesetCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of changeset collectionsend
- the upper bound of the range of changeset collections (not inclusive)java.util.List<ChangesetCollection> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChangesetCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<ChangesetCollection> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChangesetCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)useFinderCache
- whether to use the finder cacheChangesetCollection findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching changeset collection could not be foundChangesetCollection fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching changeset collection could not be foundChangesetCollection findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching changeset collection could not be foundChangesetCollection fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching changeset collection could not be foundChangesetCollection[] findByGroupId_PrevAndNext(long changesetCollectionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException
changesetCollectionId
- the primary key of the current changeset collectiongroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a changeset collection with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDjava.util.List<ChangesetCollection> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<ChangesetCollection> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChangesetCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of changeset collectionsend
- the upper bound of the range of changeset collections (not inclusive)java.util.List<ChangesetCollection> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChangesetCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<ChangesetCollection> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChangesetCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)useFinderCache
- whether to use the finder cacheChangesetCollection findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching changeset collection could not be foundChangesetCollection fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching changeset collection could not be foundChangesetCollection findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching changeset collection could not be foundChangesetCollection fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching changeset collection could not be foundChangesetCollection[] findByCompanyId_PrevAndNext(long changesetCollectionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException
changesetCollectionId
- the primary key of the current changeset collectioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a changeset collection with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDjava.util.List<ChangesetCollection> findByG_U(long groupId, long userId)
groupId
- the group IDuserId
- the user IDjava.util.List<ChangesetCollection> findByG_U(long groupId, long userId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChangesetCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<ChangesetCollection> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChangesetCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<ChangesetCollection> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChangesetCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)useFinderCache
- whether to use the finder cacheChangesetCollection findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching changeset collection could not be foundChangesetCollection fetchByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching changeset collection could not be foundChangesetCollection findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching changeset collection could not be foundChangesetCollection fetchByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching changeset collection could not be foundChangesetCollection[] findByG_U_PrevAndNext(long changesetCollectionId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException
changesetCollectionId
- the primary key of the current changeset collectiongroupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a changeset collection with the primary key could not be foundvoid removeByG_U(long groupId, long userId)
groupId
- the group IDuserId
- the user IDint countByG_U(long groupId, long userId)
groupId
- the group IDuserId
- the user IDChangesetCollection findByG_N(long groupId, java.lang.String name) throws NoSuchCollectionException
NoSuchCollectionException
if it could not be found.groupId
- the group IDname
- the nameNoSuchCollectionException
- if a matching changeset collection could not be foundChangesetCollection fetchByG_N(long groupId, java.lang.String name)
null
if it could not be found. Uses the finder cache.groupId
- the group IDname
- the namenull
if a matching changeset collection could not be foundChangesetCollection fetchByG_N(long groupId, java.lang.String name, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDname
- the nameuseFinderCache
- whether to use the finder cachenull
if a matching changeset collection could not be foundChangesetCollection removeByG_N(long groupId, java.lang.String name) throws NoSuchCollectionException
groupId
- the group IDname
- the nameNoSuchCollectionException
int countByG_N(long groupId, java.lang.String name)
groupId
- the group IDname
- the namejava.util.List<ChangesetCollection> findByC_N(long companyId, java.lang.String name)
companyId
- the company IDname
- the namejava.util.List<ChangesetCollection> findByC_N(long companyId, java.lang.String name, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChangesetCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<ChangesetCollection> findByC_N(long companyId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChangesetCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<ChangesetCollection> findByC_N(long companyId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChangesetCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)useFinderCache
- whether to use the finder cacheChangesetCollection findByC_N_First(long companyId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching changeset collection could not be foundChangesetCollection fetchByC_N_First(long companyId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching changeset collection could not be foundChangesetCollection findByC_N_Last(long companyId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a matching changeset collection could not be foundChangesetCollection fetchByC_N_Last(long companyId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching changeset collection could not be foundChangesetCollection[] findByC_N_PrevAndNext(long changesetCollectionId, long companyId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator) throws NoSuchCollectionException
changesetCollectionId
- the primary key of the current changeset collectioncompanyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCollectionException
- if a changeset collection with the primary key could not be foundvoid removeByC_N(long companyId, java.lang.String name)
companyId
- the company IDname
- the nameint countByC_N(long companyId, java.lang.String name)
companyId
- the company IDname
- the namevoid cacheResult(ChangesetCollection changesetCollection)
changesetCollection
- the changeset collectionvoid cacheResult(java.util.List<ChangesetCollection> changesetCollections)
changesetCollections
- the changeset collectionsChangesetCollection create(long changesetCollectionId)
changesetCollectionId
- the primary key for the new changeset collectionChangesetCollection remove(long changesetCollectionId) throws NoSuchCollectionException
changesetCollectionId
- the primary key of the changeset collectionNoSuchCollectionException
- if a changeset collection with the primary key could not be foundChangesetCollection updateImpl(ChangesetCollection changesetCollection)
ChangesetCollection findByPrimaryKey(long changesetCollectionId) throws NoSuchCollectionException
NoSuchCollectionException
if it could not be found.changesetCollectionId
- the primary key of the changeset collectionNoSuchCollectionException
- if a changeset collection with the primary key could not be foundChangesetCollection fetchByPrimaryKey(long changesetCollectionId)
null
if it could not be found.changesetCollectionId
- the primary key of the changeset collectionnull
if a changeset collection with the primary key could not be foundjava.util.List<ChangesetCollection> findAll()
java.util.List<ChangesetCollection> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChangesetCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of changeset collectionsend
- the upper bound of the range of changeset collections (not inclusive)java.util.List<ChangesetCollection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChangesetCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<ChangesetCollection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetCollection> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from ChangesetCollectionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()