Class ChangesetEntryUtil
com.liferay.changeset.service.persistence.impl.ChangesetEntryPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(ChangesetEntry changesetEntry) Caches the changeset entry in the entity cache if it is enabled.static voidcacheResult(List<ChangesetEntry> changesetEntries) Caches the changeset entries in the entity cache if it is enabled.static voidstatic voidclearCache(ChangesetEntry changesetEntry) static intcountAll()Returns the number of changeset entries.static intcountByC_C(long changesetCollectionId, long classNameId) Returns the number of changeset entries where changesetCollectionId = ? and classNameId = ?.static intcountByC_C_C(long changesetCollectionId, long classNameId, long classPK) Returns the number of changeset entries where changesetCollectionId = ? and classNameId = ? and classPK = ?.static intcountByChangesetCollectionId(long changesetCollectionId) Returns the number of changeset entries where changesetCollectionId = ?.static intcountByCompanyId(long companyId) Returns the number of changeset entries where companyId = ?.static intcountByG_C(long groupId, long classNameId) Returns the number of changeset entries where groupId = ? and classNameId = ?.static intcountByGroupId(long groupId) Returns the number of changeset entries where groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static ChangesetEntrycreate(long changesetEntryId) Creates a new changeset entry with the primary key.static ChangesetEntryfetchByC_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.static ChangesetEntryfetchByC_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.static ChangesetEntryfetchByC_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 = ?.static ChangesetEntryfetchByC_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 = ?.static ChangesetEntryfetchByChangesetCollectionId_First(long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the first changeset entry in the ordered set where changesetCollectionId = ?.static ChangesetEntryfetchByChangesetCollectionId_Last(long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the last changeset entry in the ordered set where changesetCollectionId = ?.static ChangesetEntryfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the first changeset entry in the ordered set where companyId = ?.static ChangesetEntryfetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the last changeset entry in the ordered set where companyId = ?.static ChangesetEntryfetchByG_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 = ?.static ChangesetEntryfetchByG_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 = ?.static ChangesetEntryfetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the first changeset entry in the ordered set where groupId = ?.static ChangesetEntryfetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the last changeset entry in the ordered set where groupId = ?.static ChangesetEntryfetchByPrimaryKey(long changesetEntryId) Returns the changeset entry with the primary key or returnsnullif it could not be found.static Map<Serializable,ChangesetEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static List<ChangesetEntry>findAll()Returns all the changeset entries.static List<ChangesetEntry>findAll(int start, int end) Returns a range of all the changeset entries.static List<ChangesetEntry>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns an ordered range of all the changeset entries.static 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.static List<ChangesetEntry>findByC_C(long changesetCollectionId, long classNameId) Returns all the changeset entries where changesetCollectionId = ? and classNameId = ?.static List<ChangesetEntry>findByC_C(long changesetCollectionId, long classNameId, int start, int end) Returns a range of all the changeset entries where changesetCollectionId = ? and classNameId = ?.static 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 = ?.static 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 = ?.static ChangesetEntryfindByC_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.static ChangesetEntryfindByC_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 = ?.static ChangesetEntryfindByC_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 = ?.static ChangesetEntry[]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 = ?.static List<ChangesetEntry>findByChangesetCollectionId(long changesetCollectionId) Returns all the changeset entries where changesetCollectionId = ?.static List<ChangesetEntry>findByChangesetCollectionId(long changesetCollectionId, int start, int end) Returns a range of all the changeset entries where changesetCollectionId = ?.static 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 = ?.static 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 = ?.static ChangesetEntryfindByChangesetCollectionId_First(long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the first changeset entry in the ordered set where changesetCollectionId = ?.static ChangesetEntryfindByChangesetCollectionId_Last(long changesetCollectionId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the last changeset entry in the ordered set where changesetCollectionId = ?.static ChangesetEntry[]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 = ?.static List<ChangesetEntry>findByCompanyId(long companyId) Returns all the changeset entries where companyId = ?.static List<ChangesetEntry>findByCompanyId(long companyId, int start, int end) Returns a range of all the changeset entries where companyId = ?.static 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 = ?.static 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 = ?.static ChangesetEntryfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the first changeset entry in the ordered set where companyId = ?.static ChangesetEntryfindByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the last changeset entry in the ordered set where companyId = ?.static ChangesetEntry[]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 = ?.static List<ChangesetEntry>findByG_C(long groupId, long classNameId) Returns all the changeset entries where groupId = ? and classNameId = ?.static List<ChangesetEntry>findByG_C(long groupId, long classNameId, int start, int end) Returns a range of all the changeset entries where groupId = ? and classNameId = ?.static 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 = ?.static 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 = ?.static ChangesetEntryfindByG_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 = ?.static ChangesetEntryfindByG_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 = ?.static ChangesetEntry[]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 = ?.static List<ChangesetEntry>findByGroupId(long groupId) Returns all the changeset entries where groupId = ?.static List<ChangesetEntry>findByGroupId(long groupId, int start, int end) Returns a range of all the changeset entries where groupId = ?.static 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 = ?.static 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 = ?.static ChangesetEntryfindByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the first changeset entry in the ordered set where groupId = ?.static ChangesetEntryfindByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) Returns the last changeset entry in the ordered set where groupId = ?.static ChangesetEntry[]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 = ?.static ChangesetEntryfindByPrimaryKey(long changesetEntryId) Returns the changeset entry with the primary key or throws aNoSuchEntryExceptionif it could not be found.static List<ChangesetEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<ChangesetEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<ChangesetEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) static ChangesetEntryPersistencestatic ChangesetEntryremove(long changesetEntryId) Removes the changeset entry with the primary key from the database.static voidRemoves all the changeset entries from the database.static voidremoveByC_C(long changesetCollectionId, long classNameId) Removes all the changeset entries where changesetCollectionId = ? and classNameId = ? from the database.static ChangesetEntryremoveByC_C_C(long changesetCollectionId, long classNameId, long classPK) Removes the changeset entry where changesetCollectionId = ? and classNameId = ? and classPK = ? from the database.static voidremoveByChangesetCollectionId(long changesetCollectionId) Removes all the changeset entries where changesetCollectionId = ? from the database.static voidremoveByCompanyId(long companyId) Removes all the changeset entries where companyId = ? from the database.static voidremoveByG_C(long groupId, long classNameId) Removes all the changeset entries where groupId = ? and classNameId = ? from the database.static voidremoveByGroupId(long groupId) Removes all the changeset entries where groupId = ? from the database.static voidsetPersistence(ChangesetEntryPersistence persistence) static ChangesetEntryupdate(ChangesetEntry changesetEntry) static ChangesetEntryupdate(ChangesetEntry changesetEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static ChangesetEntryupdateImpl(ChangesetEntry changesetEntry)
-
Constructor Details
-
ChangesetEntryUtil
public ChangesetEntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<ChangesetEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<ChangesetEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<ChangesetEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ChangesetEntry> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static ChangesetEntry update(ChangesetEntry changesetEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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 bothstartandendtoQueryUtil#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 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
public static 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 bothstartandendtoQueryUtil#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 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
public static 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 bothstartandendtoQueryUtil#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 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
public static 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 foundNoSuchEntryException
-
fetchByGroupId_First
public static 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
-
findByGroupId_Last
public static 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 foundNoSuchEntryException
-
fetchByGroupId_Last
public static 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
nullif a matching changeset entry could not be found
-
findByGroupId_PrevAndNext
public static 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 foundNoSuchEntryException
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the changeset entries where groupId = ? from the database.- Parameters:
groupId- the group ID
-
countByGroupId
public static 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 bothstartandendtoQueryUtil#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 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
public static 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 bothstartandendtoQueryUtil#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 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
public static 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 bothstartandendtoQueryUtil#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 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
public static 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 foundNoSuchEntryException
-
fetchByCompanyId_First
public static 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
-
findByCompanyId_Last
public static 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 foundNoSuchEntryException
-
fetchByCompanyId_Last
public static 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
nullif a matching changeset entry could not be found
-
findByCompanyId_PrevAndNext
public static 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 foundNoSuchEntryException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the changeset entries where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static 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
public static List<ChangesetEntry> findByChangesetCollectionId(long changesetCollectionId, int start, int end) 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 bothstartandendtoQueryUtil#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 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
public static 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 bothstartandendtoQueryUtil#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 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
public static 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 bothstartandendtoQueryUtil#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 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
public static 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 foundNoSuchEntryException
-
fetchByChangesetCollectionId_First
public static 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
-
findByChangesetCollectionId_Last
public static 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 foundNoSuchEntryException
-
fetchByChangesetCollectionId_Last
public static 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
nullif a matching changeset entry could not be found
-
findByChangesetCollectionId_PrevAndNext
public static 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 foundNoSuchEntryException
-
removeByChangesetCollectionId
public static void removeByChangesetCollectionId(long changesetCollectionId) Removes all the changeset entries where changesetCollectionId = ? from the database.- Parameters:
changesetCollectionId- the changeset collection ID
-
countByChangesetCollectionId
public static 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 bothstartandendtoQueryUtil#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 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
public static 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 bothstartandendtoQueryUtil#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 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
public static 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 bothstartandendtoQueryUtil#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 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
public static 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 foundNoSuchEntryException
-
fetchByG_C_First
public static 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
-
findByG_C_Last
public static 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 foundNoSuchEntryException
-
fetchByG_C_Last
public static 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
nullif a matching changeset entry could not be found
-
findByG_C_PrevAndNext
public static 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 foundNoSuchEntryException
-
removeByG_C
public static 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
public static 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
public static List<ChangesetEntry> findByC_C(long changesetCollectionId, long classNameId, int start, int end) 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 bothstartandendtoQueryUtil#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 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
public static 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 bothstartandendtoQueryUtil#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 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
public static 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 bothstartandendtoQueryUtil#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 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
public static 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 foundNoSuchEntryException
-
fetchByC_C_First
public static 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
-
findByC_C_Last
public static 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 foundNoSuchEntryException
-
fetchByC_C_Last
public static 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
nullif a matching changeset entry could not be found
-
findByC_C_PrevAndNext
public static 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 foundNoSuchEntryException
-
removeByC_C
public static 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
public static 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
public static 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 foundNoSuchEntryException
-
fetchByC_C_C
public static ChangesetEntry 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. 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
public static 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
public static 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
public static 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 foundNoSuchEntryException
-
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 foundNoSuchEntryException
-
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
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 bothstartandendtoQueryUtil#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 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
public static 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 bothstartandendtoQueryUtil#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 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
public static 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 bothstartandendtoQueryUtil#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 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
public static void removeAll()Removes all the changeset entries from the database. -
countAll
public static int countAll()Returns the number of changeset entries.- Returns:
- the number of changeset entries
-
getPersistence
-
setPersistence
-