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 TypeMethodDescriptionvoidcacheResult(ChangesetEntry changesetEntry) Caches the changeset entry in the entity cache if it is enabled.voidcacheResult(List<ChangesetEntry> changesetEntries) Caches the changeset entries in the entity cache if it is enabled.intcountAll()Returns the number of changeset entries.intcountByC_C(long changesetCollectionId, long classNameId) Returns the number of changeset entries where changesetCollectionId = ? and classNameId = ?.intcountByC_C_C(long changesetCollectionId, long classNameId, long classPK) Returns the number of changeset entries where changesetCollectionId = ? and classNameId = ? and classPK = ?.intcountByC_CERC_C(long changesetCollectionId, String classExternalReferenceCode, long classNameId) Returns the number of changeset entries where changesetCollectionId = ? and classExternalReferenceCode = ? and classNameId = ?.intcountByChangesetCollectionId(long changesetCollectionId) Returns the number of changeset entries where changesetCollectionId = ?.intcountByCompanyId(long companyId) Returns the number of changeset entries where companyId = ?.intcountByG_C(long groupId, long classNameId) Returns the number of changeset entries where groupId = ? and classNameId = ?.intcountByGroupId(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 returnsnullif 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 returnsnullif 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_CERC_C(long changesetCollectionId, String classExternalReferenceCode, long classNameId) Returns the changeset entry where changesetCollectionId = ? and classExternalReferenceCode = ? and classNameId = ? or returnsnullif it could not be found.fetchByC_CERC_C(long changesetCollectionId, String classExternalReferenceCode, long classNameId, boolean useFinderCache) Returns the changeset entry where changesetCollectionId = ? and classExternalReferenceCode = ? and classNameId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByChangesetCollectionId_First(long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the first 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 = ?.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 = ?.fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the first changeset entry in the ordered set where groupId = ?.fetchByPrimaryKey(long changesetEntryId) Returns the changeset entry with the primary key or returnsnullif 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 aNoSuchEntryExceptionif 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_CERC_C(long changesetCollectionId, String classExternalReferenceCode, long classNameId) Returns the changeset entry where changesetCollectionId = ? and classExternalReferenceCode = ? and classNameId = ? or throws aNoSuchEntryExceptionif it could not be found.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 = ?.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 = ?.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 = ?.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 = ?.findByPrimaryKey(long changesetEntryId) Returns the changeset entry with the primary key or throws aNoSuchEntryExceptionif it could not be found.remove(long changesetEntryId) Removes the changeset entry with the primary key from the database.voidRemoves all the changeset entries from the database.voidremoveByC_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.removeByC_CERC_C(long changesetCollectionId, String classExternalReferenceCode, long classNameId) Removes the changeset entry where changesetCollectionId = ? and classExternalReferenceCode = ? and classNameId = ? from the database.voidremoveByChangesetCollectionId(long changesetCollectionId) Removes all the changeset entries where changesetCollectionId = ? from the database.voidremoveByCompanyId(long companyId) Removes all the changeset entries where companyId = ? from the database.voidremoveByG_C(long groupId, long classNameId) Removes all the changeset entries where groupId = ? and classNameId = ? from the database.voidremoveByGroupId(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, dslQuery, dslQueryCount, 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetEntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetEntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetEntryModelImpl.- 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
nullif a matching changeset entry 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetEntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetEntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetEntryModelImpl.- 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
nullif a matching changeset entry 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetEntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetEntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetEntryModelImpl.- 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
nullif a matching changeset entry 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetEntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetEntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetEntryModelImpl.- 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
nullif a matching changeset entry 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetEntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetEntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetEntryModelImpl.- 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
nullif a matching changeset entry 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_CERC_C
ChangesetEntry findByC_CERC_C(long changesetCollectionId, String classExternalReferenceCode, long classNameId) throws NoSuchEntryException Returns the changeset entry where changesetCollectionId = ? and classExternalReferenceCode = ? and classNameId = ? or throws aNoSuchEntryExceptionif it could not be found.- Parameters:
changesetCollectionId- the changeset collection IDclassExternalReferenceCode- the class external reference codeclassNameId- the class name ID- Returns:
- the matching changeset entry
- Throws:
NoSuchEntryException- if a matching changeset entry could not be found
-
fetchByC_CERC_C
ChangesetEntry fetchByC_CERC_C(long changesetCollectionId, String classExternalReferenceCode, long classNameId) Returns the changeset entry where changesetCollectionId = ? and classExternalReferenceCode = ? and classNameId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
changesetCollectionId- the changeset collection IDclassExternalReferenceCode- the class external reference codeclassNameId- the class name ID- Returns:
- the matching changeset entry, or
nullif a matching changeset entry could not be found
-
fetchByC_CERC_C
ChangesetEntry fetchByC_CERC_C(long changesetCollectionId, String classExternalReferenceCode, long classNameId, boolean useFinderCache) Returns the changeset entry where changesetCollectionId = ? and classExternalReferenceCode = ? and classNameId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
changesetCollectionId- the changeset collection IDclassExternalReferenceCode- the class external reference codeclassNameId- the class name IDuseFinderCache- whether to use the finder cache- Returns:
- the matching changeset entry, or
nullif a matching changeset entry could not be found
-
removeByC_CERC_C
ChangesetEntry removeByC_CERC_C(long changesetCollectionId, String classExternalReferenceCode, long classNameId) throws NoSuchEntryException Removes the changeset entry where changesetCollectionId = ? and classExternalReferenceCode = ? and classNameId = ? from the database.- Parameters:
changesetCollectionId- the changeset collection IDclassExternalReferenceCode- the class external reference codeclassNameId- the class name ID- Returns:
- the changeset entry that was removed
- Throws:
NoSuchEntryException
-
countByC_CERC_C
int countByC_CERC_C(long changesetCollectionId, String classExternalReferenceCode, long classNameId) Returns the number of changeset entries where changesetCollectionId = ? and classExternalReferenceCode = ? and classNameId = ?.- Parameters:
changesetCollectionId- the changeset collection IDclassExternalReferenceCode- the class external reference codeclassNameId- 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 aNoSuchEntryExceptionif 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 returnsnullif 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
nullif 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 returnsnullif 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
nullif 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 aNoSuchEntryExceptionif 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 returnsnullif it could not be found.- Parameters:
changesetEntryId- the primary key of the changeset entry- Returns:
- the changeset entry, or
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetEntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetEntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.changeset.model.impl.ChangesetEntryModelImpl.- 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
-