Interface ChangesetEntryPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<ChangesetEntry>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(ChangesetEntry changesetEntry) Caches the changeset entry in the entity cache if it is enabled.void
cacheResult
(List<ChangesetEntry> changesetEntries) Caches the changeset entries in the entity cache if it is enabled.int
countAll()
Returns the number of changeset entries.int
countByC_C
(long changesetCollectionId, long classNameId) Returns the number of changeset entries where changesetCollectionId = ? and classNameId = ?.int
countByC_C_C
(long changesetCollectionId, long classNameId, long classPK) Returns the number of changeset entries where changesetCollectionId = ? and classNameId = ? and classPK = ?.int
countByChangesetCollectionId
(long changesetCollectionId) Returns the number of changeset entries where changesetCollectionId = ?.int
countByCompanyId
(long companyId) Returns the number of changeset entries where companyId = ?.int
countByG_C
(long groupId, long classNameId) Returns the number of changeset entries where groupId = ? and classNameId = ?.int
countByGroupId
(long groupId) Returns the number of changeset entries where groupId = ?.create
(long changesetEntryId) Creates a new changeset entry with the primary key.fetchByC_C_C
(long changesetCollectionId, long classNameId, long classPK) Returns the changeset entry where changesetCollectionId = ? and classNameId = ? and classPK = ? or returnsnull
if it could not be found.fetchByC_C_C
(long changesetCollectionId, long classNameId, long classPK, boolean useFinderCache) Returns the changeset entry where changesetCollectionId = ? and classNameId = ? and classPK = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByC_C_First
(long changesetCollectionId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the first changeset entry in the ordered set where changesetCollectionId = ? and classNameId = ?.fetchByC_C_Last
(long changesetCollectionId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the last changeset entry in the ordered set where changesetCollectionId = ? and classNameId = ?.fetchByChangesetCollectionId_First
(long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the first changeset entry in the ordered set where changesetCollectionId = ?.fetchByChangesetCollectionId_Last
(long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the last changeset entry in the ordered set where changesetCollectionId = ?.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the first changeset entry in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the last changeset entry in the ordered set where companyId = ?.fetchByG_C_First
(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the first changeset entry in the ordered set where groupId = ? and classNameId = ?.fetchByG_C_Last
(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the last changeset entry in the ordered set where groupId = ? and classNameId = ?.fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the first changeset entry in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the last changeset entry in the ordered set where groupId = ?.fetchByPrimaryKey
(long changesetEntryId) Returns the changeset entry with the primary key or returnsnull
if it could not be found.findAll()
Returns all the changeset entries.findAll
(int start, int end) Returns a range of all the changeset entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns an ordered range of all the changeset entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the changeset entries.findByC_C
(long changesetCollectionId, long classNameId) Returns all the changeset entries where changesetCollectionId = ? and classNameId = ?.findByC_C
(long changesetCollectionId, long classNameId, int start, int end) Returns a range of all the changeset entries where changesetCollectionId = ? and classNameId = ?.findByC_C
(long changesetCollectionId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns an ordered range of all the changeset entries where changesetCollectionId = ? and classNameId = ?.findByC_C
(long changesetCollectionId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the changeset entries where changesetCollectionId = ? and classNameId = ?.findByC_C_C
(long changesetCollectionId, long classNameId, long classPK) Returns the changeset entry where changesetCollectionId = ? and classNameId = ? and classPK = ? or throws aNoSuchEntryException
if it could not be found.findByC_C_First
(long changesetCollectionId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the first changeset entry in the ordered set where changesetCollectionId = ? and classNameId = ?.findByC_C_Last
(long changesetCollectionId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the last changeset entry in the ordered set where changesetCollectionId = ? and classNameId = ?.findByC_C_PrevAndNext
(long changesetEntryId, long changesetCollectionId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the changeset entries before and after the current changeset entry in the ordered set where changesetCollectionId = ? and classNameId = ?.findByChangesetCollectionId
(long changesetCollectionId) Returns all the changeset entries where changesetCollectionId = ?.findByChangesetCollectionId
(long changesetCollectionId, int start, int end) Returns a range of all the changeset entries where changesetCollectionId = ?.findByChangesetCollectionId
(long changesetCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns an ordered range of all the changeset entries where changesetCollectionId = ?.findByChangesetCollectionId
(long changesetCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the changeset entries where changesetCollectionId = ?.findByChangesetCollectionId_First
(long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the first changeset entry in the ordered set where changesetCollectionId = ?.findByChangesetCollectionId_Last
(long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the last changeset entry in the ordered set where changesetCollectionId = ?.findByChangesetCollectionId_PrevAndNext
(long changesetEntryId, long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the changeset entries before and after the current changeset entry in the ordered set where changesetCollectionId = ?.findByCompanyId
(long companyId) Returns all the changeset entries where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the changeset entries where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns an ordered range of all the changeset entries where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the changeset entries where companyId = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the first changeset entry in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the last changeset entry in the ordered set where companyId = ?.findByCompanyId_PrevAndNext
(long changesetEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the changeset entries before and after the current changeset entry in the ordered set where companyId = ?.findByG_C
(long groupId, long classNameId) Returns all the changeset entries where groupId = ? and classNameId = ?.findByG_C
(long groupId, long classNameId, int start, int end) Returns a range of all the changeset entries where groupId = ? and classNameId = ?.findByG_C
(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns an ordered range of all the changeset entries where groupId = ? and classNameId = ?.findByG_C
(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the changeset entries where groupId = ? and classNameId = ?.findByG_C_First
(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the first changeset entry in the ordered set where groupId = ? and classNameId = ?.findByG_C_Last
(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the last changeset entry in the ordered set where groupId = ? and classNameId = ?.findByG_C_PrevAndNext
(long changesetEntryId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the changeset entries before and after the current changeset entry in the ordered set where groupId = ? and classNameId = ?.findByGroupId
(long groupId) Returns all the changeset entries where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the changeset entries where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns an ordered range of all the changeset entries where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the changeset entries where groupId = ?.findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the first changeset entry in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the last changeset entry in the ordered set where groupId = ?.findByGroupId_PrevAndNext
(long changesetEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the changeset entries before and after the current changeset entry in the ordered set where groupId = ?.findByPrimaryKey
(long changesetEntryId) Returns the changeset entry with the primary key or throws aNoSuchEntryException
if it could not be found.remove
(long changesetEntryId) Removes the changeset entry with the primary key from the database.void
Removes all the changeset entries from the database.void
removeByC_C
(long changesetCollectionId, long classNameId) Removes all the changeset entries where changesetCollectionId = ? and classNameId = ? from the database.removeByC_C_C
(long changesetCollectionId, long classNameId, long classPK) Removes the changeset entry where changesetCollectionId = ? and classNameId = ? and classPK = ? from the database.void
removeByChangesetCollectionId
(long changesetCollectionId) Removes all the changeset entries where changesetCollectionId = ? from the database.void
removeByCompanyId
(long companyId) Removes all the changeset entries where companyId = ? from the database.void
removeByG_C
(long groupId, long classNameId) Removes all the changeset entries where groupId = ? and classNameId = ? from the database.void
removeByGroupId
(long groupId) Removes all the changeset entries where groupId = ? from the database.updateImpl
(ChangesetEntry changesetEntry) 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 entries where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching changeset entries
-
findByGroupId
Returns a range of all the changeset entries 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 fromChangesetEntryModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of changeset entriesend
- the upper bound of the range of changeset entries (not inclusive)- Returns:
- the range of matching changeset entries
-
findByGroupId
List<ChangesetEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns an ordered range of all the changeset entries 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 fromChangesetEntryModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of changeset entriesend
- the upper bound of the range of changeset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching changeset entries
-
findByGroupId
List<ChangesetEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the changeset entries 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 fromChangesetEntryModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of changeset entriesend
- the upper bound of the range of changeset entries (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 entries
-
findByGroupId_First
ChangesetEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException Returns the first changeset entry in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching changeset entry
- Throws:
NoSuchEntryException
- if a matching changeset entry could not be found
-
fetchByGroupId_First
ChangesetEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the first changeset entry in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching changeset entry, or
null
if a matching changeset entry could not be found
-
findByGroupId_Last
ChangesetEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException Returns the last changeset entry in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching changeset entry
- Throws:
NoSuchEntryException
- if a matching changeset entry could not be found
-
fetchByGroupId_Last
ChangesetEntry fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the last changeset entry in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching changeset entry, or
null
if a matching changeset entry could not be found
-
findByGroupId_PrevAndNext
ChangesetEntry[] findByGroupId_PrevAndNext(long changesetEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException Returns the changeset entries before and after the current changeset entry in the ordered set where groupId = ?.- Parameters:
changesetEntryId
- the primary key of the current changeset entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next changeset entry
- Throws:
NoSuchEntryException
- if a changeset entry with the primary key could not be found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the changeset entries where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of changeset entries where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching changeset entries
-
findByCompanyId
Returns all the changeset entries where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching changeset entries
-
findByCompanyId
Returns a range of all the changeset entries 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 fromChangesetEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of changeset entriesend
- the upper bound of the range of changeset entries (not inclusive)- Returns:
- the range of matching changeset entries
-
findByCompanyId
List<ChangesetEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns an ordered range of all the changeset entries 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 fromChangesetEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of changeset entriesend
- the upper bound of the range of changeset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching changeset entries
-
findByCompanyId
List<ChangesetEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the changeset entries 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 fromChangesetEntryModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of changeset entriesend
- the upper bound of the range of changeset entries (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 entries
-
findByCompanyId_First
ChangesetEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException Returns the first changeset entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching changeset entry
- Throws:
NoSuchEntryException
- if a matching changeset entry could not be found
-
fetchByCompanyId_First
ChangesetEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the first changeset entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching changeset entry, or
null
if a matching changeset entry could not be found
-
findByCompanyId_Last
ChangesetEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException Returns the last changeset entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching changeset entry
- Throws:
NoSuchEntryException
- if a matching changeset entry could not be found
-
fetchByCompanyId_Last
ChangesetEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the last changeset entry in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching changeset entry, or
null
if a matching changeset entry could not be found
-
findByCompanyId_PrevAndNext
ChangesetEntry[] findByCompanyId_PrevAndNext(long changesetEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException Returns the changeset entries before and after the current changeset entry in the ordered set where companyId = ?.- Parameters:
changesetEntryId
- the primary key of the current changeset entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next changeset entry
- Throws:
NoSuchEntryException
- if a changeset entry with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the changeset entries where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of changeset entries where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching changeset entries
-
findByChangesetCollectionId
Returns all the changeset entries where changesetCollectionId = ?.- Parameters:
changesetCollectionId
- the changeset collection ID- Returns:
- the matching changeset entries
-
findByChangesetCollectionId
Returns a range of all the changeset entries where changesetCollectionId = ?.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 fromChangesetEntryModelImpl
.- Parameters:
changesetCollectionId
- the changeset collection IDstart
- the lower bound of the range of changeset entriesend
- the upper bound of the range of changeset entries (not inclusive)- Returns:
- the range of matching changeset entries
-
findByChangesetCollectionId
List<ChangesetEntry> findByChangesetCollectionId(long changesetCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns an ordered range of all the changeset entries where changesetCollectionId = ?.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 fromChangesetEntryModelImpl
.- Parameters:
changesetCollectionId
- the changeset collection IDstart
- the lower bound of the range of changeset entriesend
- the upper bound of the range of changeset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching changeset entries
-
findByChangesetCollectionId
List<ChangesetEntry> findByChangesetCollectionId(long changesetCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the changeset entries where changesetCollectionId = ?.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 fromChangesetEntryModelImpl
.- Parameters:
changesetCollectionId
- the changeset collection IDstart
- the lower bound of the range of changeset entriesend
- the upper bound of the range of changeset entries (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 entries
-
findByChangesetCollectionId_First
ChangesetEntry findByChangesetCollectionId_First(long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException Returns the first changeset entry in the ordered set where changesetCollectionId = ?.- Parameters:
changesetCollectionId
- the changeset collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching changeset entry
- Throws:
NoSuchEntryException
- if a matching changeset entry could not be found
-
fetchByChangesetCollectionId_First
ChangesetEntry fetchByChangesetCollectionId_First(long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the first changeset entry in the ordered set where changesetCollectionId = ?.- Parameters:
changesetCollectionId
- the changeset collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching changeset entry, or
null
if a matching changeset entry could not be found
-
findByChangesetCollectionId_Last
ChangesetEntry findByChangesetCollectionId_Last(long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException Returns the last changeset entry in the ordered set where changesetCollectionId = ?.- Parameters:
changesetCollectionId
- the changeset collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching changeset entry
- Throws:
NoSuchEntryException
- if a matching changeset entry could not be found
-
fetchByChangesetCollectionId_Last
ChangesetEntry fetchByChangesetCollectionId_Last(long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the last changeset entry in the ordered set where changesetCollectionId = ?.- Parameters:
changesetCollectionId
- the changeset collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching changeset entry, or
null
if a matching changeset entry could not be found
-
findByChangesetCollectionId_PrevAndNext
ChangesetEntry[] findByChangesetCollectionId_PrevAndNext(long changesetEntryId, long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException Returns the changeset entries before and after the current changeset entry in the ordered set where changesetCollectionId = ?.- Parameters:
changesetEntryId
- the primary key of the current changeset entrychangesetCollectionId
- the changeset collection IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next changeset entry
- Throws:
NoSuchEntryException
- if a changeset entry with the primary key could not be found
-
removeByChangesetCollectionId
void removeByChangesetCollectionId(long changesetCollectionId) Removes all the changeset entries where changesetCollectionId = ? from the database.- Parameters:
changesetCollectionId
- the changeset collection ID
-
countByChangesetCollectionId
int countByChangesetCollectionId(long changesetCollectionId) Returns the number of changeset entries where changesetCollectionId = ?.- Parameters:
changesetCollectionId
- the changeset collection ID- Returns:
- the number of matching changeset entries
-
findByG_C
Returns all the changeset entries where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name ID- Returns:
- the matching changeset entries
-
findByG_C
Returns a range of all the changeset entries where groupId = ? and classNameId = ?.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 fromChangesetEntryModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of changeset entriesend
- the upper bound of the range of changeset entries (not inclusive)- Returns:
- the range of matching changeset entries
-
findByG_C
List<ChangesetEntry> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns an ordered range of all the changeset entries where groupId = ? and classNameId = ?.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 fromChangesetEntryModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of changeset entriesend
- the upper bound of the range of changeset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching changeset entries
-
findByG_C
List<ChangesetEntry> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the changeset entries where groupId = ? and classNameId = ?.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 fromChangesetEntryModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of changeset entriesend
- the upper bound of the range of changeset entries (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 entries
-
findByG_C_First
ChangesetEntry findByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException Returns the first changeset entry in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching changeset entry
- Throws:
NoSuchEntryException
- if a matching changeset entry could not be found
-
fetchByG_C_First
ChangesetEntry fetchByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the first changeset entry in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching changeset entry, or
null
if a matching changeset entry could not be found
-
findByG_C_Last
ChangesetEntry findByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException Returns the last changeset entry in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching changeset entry
- Throws:
NoSuchEntryException
- if a matching changeset entry could not be found
-
fetchByG_C_Last
ChangesetEntry fetchByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the last changeset entry in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching changeset entry, or
null
if a matching changeset entry could not be found
-
findByG_C_PrevAndNext
ChangesetEntry[] findByG_C_PrevAndNext(long changesetEntryId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException Returns the changeset entries before and after the current changeset entry in the ordered set where groupId = ? and classNameId = ?.- Parameters:
changesetEntryId
- the primary key of the current changeset entrygroupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next changeset entry
- Throws:
NoSuchEntryException
- if a changeset entry with the primary key could not be found
-
removeByG_C
void removeByG_C(long groupId, long classNameId) Removes all the changeset entries where groupId = ? and classNameId = ? from the database.- Parameters:
groupId
- the group IDclassNameId
- the class name ID
-
countByG_C
int countByG_C(long groupId, long classNameId) Returns the number of changeset entries where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name ID- Returns:
- the number of matching changeset entries
-
findByC_C
Returns all the changeset entries where changesetCollectionId = ? and classNameId = ?.- Parameters:
changesetCollectionId
- the changeset collection IDclassNameId
- the class name ID- Returns:
- the matching changeset entries
-
findByC_C
Returns a range of all the changeset entries where changesetCollectionId = ? and classNameId = ?.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 fromChangesetEntryModelImpl
.- Parameters:
changesetCollectionId
- the changeset collection IDclassNameId
- the class name IDstart
- the lower bound of the range of changeset entriesend
- the upper bound of the range of changeset entries (not inclusive)- Returns:
- the range of matching changeset entries
-
findByC_C
List<ChangesetEntry> findByC_C(long changesetCollectionId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns an ordered range of all the changeset entries where changesetCollectionId = ? and classNameId = ?.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 fromChangesetEntryModelImpl
.- Parameters:
changesetCollectionId
- the changeset collection IDclassNameId
- the class name IDstart
- the lower bound of the range of changeset entriesend
- the upper bound of the range of changeset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching changeset entries
-
findByC_C
List<ChangesetEntry> findByC_C(long changesetCollectionId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the changeset entries where changesetCollectionId = ? and classNameId = ?.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 fromChangesetEntryModelImpl
.- Parameters:
changesetCollectionId
- the changeset collection IDclassNameId
- the class name IDstart
- the lower bound of the range of changeset entriesend
- the upper bound of the range of changeset entries (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 entries
-
findByC_C_First
ChangesetEntry findByC_C_First(long changesetCollectionId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException Returns the first changeset entry in the ordered set where changesetCollectionId = ? and classNameId = ?.- Parameters:
changesetCollectionId
- the changeset collection IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching changeset entry
- Throws:
NoSuchEntryException
- if a matching changeset entry could not be found
-
fetchByC_C_First
ChangesetEntry fetchByC_C_First(long changesetCollectionId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the first changeset entry in the ordered set where changesetCollectionId = ? and classNameId = ?.- Parameters:
changesetCollectionId
- the changeset collection IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching changeset entry, or
null
if a matching changeset entry could not be found
-
findByC_C_Last
ChangesetEntry findByC_C_Last(long changesetCollectionId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException Returns the last changeset entry in the ordered set where changesetCollectionId = ? and classNameId = ?.- Parameters:
changesetCollectionId
- the changeset collection IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching changeset entry
- Throws:
NoSuchEntryException
- if a matching changeset entry could not be found
-
fetchByC_C_Last
ChangesetEntry fetchByC_C_Last(long changesetCollectionId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the last changeset entry in the ordered set where changesetCollectionId = ? and classNameId = ?.- Parameters:
changesetCollectionId
- the changeset collection IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching changeset entry, or
null
if a matching changeset entry could not be found
-
findByC_C_PrevAndNext
ChangesetEntry[] findByC_C_PrevAndNext(long changesetEntryId, long changesetCollectionId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) throws NoSuchEntryException Returns the changeset entries before and after the current changeset entry in the ordered set where changesetCollectionId = ? and classNameId = ?.- Parameters:
changesetEntryId
- the primary key of the current changeset entrychangesetCollectionId
- the changeset collection IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next changeset entry
- Throws:
NoSuchEntryException
- if a changeset entry with the primary key could not be found
-
removeByC_C
void removeByC_C(long changesetCollectionId, long classNameId) Removes all the changeset entries where changesetCollectionId = ? and classNameId = ? from the database.- Parameters:
changesetCollectionId
- the changeset collection IDclassNameId
- the class name ID
-
countByC_C
int countByC_C(long changesetCollectionId, long classNameId) Returns the number of changeset entries where changesetCollectionId = ? and classNameId = ?.- Parameters:
changesetCollectionId
- the changeset collection IDclassNameId
- the class name ID- Returns:
- the number of matching changeset entries
-
findByC_C_C
ChangesetEntry findByC_C_C(long changesetCollectionId, long classNameId, long classPK) throws NoSuchEntryException Returns the changeset entry where changesetCollectionId = ? and classNameId = ? and classPK = ? or throws aNoSuchEntryException
if it could not be found.- Parameters:
changesetCollectionId
- the changeset collection IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching changeset entry
- Throws:
NoSuchEntryException
- if a matching changeset entry could not be found
-
fetchByC_C_C
Returns the changeset entry where changesetCollectionId = ? and classNameId = ? and classPK = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
changesetCollectionId
- the changeset collection IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching changeset entry, or
null
if a matching changeset entry could not be found
-
fetchByC_C_C
ChangesetEntry fetchByC_C_C(long changesetCollectionId, long classNameId, long classPK, boolean useFinderCache) Returns the changeset entry where changesetCollectionId = ? and classNameId = ? and classPK = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
changesetCollectionId
- the changeset collection IDclassNameId
- the class name IDclassPK
- the class pkuseFinderCache
- whether to use the finder cache- Returns:
- the matching changeset entry, or
null
if a matching changeset entry could not be found
-
removeByC_C_C
ChangesetEntry removeByC_C_C(long changesetCollectionId, long classNameId, long classPK) throws NoSuchEntryException Removes the changeset entry where changesetCollectionId = ? and classNameId = ? and classPK = ? from the database.- Parameters:
changesetCollectionId
- the changeset collection IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the changeset entry that was removed
- Throws:
NoSuchEntryException
-
countByC_C_C
int countByC_C_C(long changesetCollectionId, long classNameId, long classPK) Returns the number of changeset entries where changesetCollectionId = ? and classNameId = ? and classPK = ?.- Parameters:
changesetCollectionId
- the changeset collection IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching changeset entries
-
cacheResult
Caches the changeset entry in the entity cache if it is enabled.- Parameters:
changesetEntry
- the changeset entry
-
cacheResult
Caches the changeset entries in the entity cache if it is enabled.- Parameters:
changesetEntries
- the changeset entries
-
create
Creates a new changeset entry with the primary key. Does not add the changeset entry to the database.- Parameters:
changesetEntryId
- the primary key for the new changeset entry- Returns:
- the new changeset entry
-
remove
Removes the changeset entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
changesetEntryId
- the primary key of the changeset entry- Returns:
- the changeset entry that was removed
- Throws:
NoSuchEntryException
- if a changeset entry with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the changeset entry with the primary key or throws aNoSuchEntryException
if it could not be found.- Parameters:
changesetEntryId
- the primary key of the changeset entry- Returns:
- the changeset entry
- Throws:
NoSuchEntryException
- if a changeset entry with the primary key could not be found
-
fetchByPrimaryKey
Returns the changeset entry with the primary key or returnsnull
if it could not be found.- Parameters:
changesetEntryId
- the primary key of the changeset entry- Returns:
- the changeset entry, or
null
if a changeset entry with the primary key could not be found
-
findAll
List<ChangesetEntry> findAll()Returns all the changeset entries.- Returns:
- the changeset entries
-
findAll
Returns a range of all the changeset entries.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 fromChangesetEntryModelImpl
.- Parameters:
start
- the lower bound of the range of changeset entriesend
- the upper bound of the range of changeset entries (not inclusive)- Returns:
- the range of changeset entries
-
findAll
List<ChangesetEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns an ordered range of all the changeset entries.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 fromChangesetEntryModelImpl
.- Parameters:
start
- the lower bound of the range of changeset entriesend
- the upper bound of the range of changeset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of changeset entries
-
findAll
List<ChangesetEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the changeset entries.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 fromChangesetEntryModelImpl
.- Parameters:
start
- the lower bound of the range of changeset entriesend
- the upper bound of the range of changeset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of changeset entries
-
removeAll
void removeAll()Removes all the changeset entries from the database. -
countAll
int countAll()Returns the number of changeset entries.- Returns:
- the number of changeset entries
-