Class CPDefinitionGroupedEntryUtil
com.liferay.commerce.product.type.grouped.service.persistence.impl.CPDefinitionGroupedEntryPersistenceImpl 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(CPDefinitionGroupedEntry cpDefinitionGroupedEntry) Caches the cp definition grouped entry in the entity cache if it is enabled.static voidcacheResult(List<CPDefinitionGroupedEntry> cpDefinitionGroupedEntries) Caches the cp definition grouped entries in the entity cache if it is enabled.static voidstatic voidclearCache(CPDefinitionGroupedEntry cpDefinitionGroupedEntry) static intcountAll()Returns the number of cp definition grouped entries.static intcountByC_E(long CPDefinitionId, long entryCProductId) Returns the number of cp definition grouped entries where CPDefinitionId = ? and entryCProductId = ?.static intcountByCPDefinitionId(long CPDefinitionId) Returns the number of cp definition grouped entries where CPDefinitionId = ?.static intcountByEntryCProductId(long entryCProductId) Returns the number of cp definition grouped entries where entryCProductId = ?.static intcountByUuid(String uuid) Returns the number of cp definition grouped entries where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of cp definition grouped entries where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of cp definition grouped entries where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CPDefinitionGroupedEntrycreate(long CPDefinitionGroupedEntryId) Creates a new cp definition grouped entry with the primary key.static CPDefinitionGroupedEntryfetchByC_E(long CPDefinitionId, long entryCProductId) Returns the cp definition grouped entry where CPDefinitionId = ? and entryCProductId = ? or returnsnullif it could not be found.static CPDefinitionGroupedEntryfetchByC_E(long CPDefinitionId, long entryCProductId, boolean useFinderCache) Returns the cp definition grouped entry where CPDefinitionId = ? and entryCProductId = ? or returnsnullif it could not be found, optionally using the finder cache.static CPDefinitionGroupedEntryfetchByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the first cp definition grouped entry in the ordered set where CPDefinitionId = ?.static CPDefinitionGroupedEntryfetchByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the last cp definition grouped entry in the ordered set where CPDefinitionId = ?.static CPDefinitionGroupedEntryfetchByEntryCProductId_First(long entryCProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the first cp definition grouped entry in the ordered set where entryCProductId = ?.static CPDefinitionGroupedEntryfetchByEntryCProductId_Last(long entryCProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the last cp definition grouped entry in the ordered set where entryCProductId = ?.static CPDefinitionGroupedEntryfetchByPrimaryKey(long CPDefinitionGroupedEntryId) Returns the cp definition grouped entry with the primary key or returnsnullif it could not be found.static Map<Serializable,CPDefinitionGroupedEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static CPDefinitionGroupedEntryfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the first cp definition grouped entry in the ordered set where uuid = ? and companyId = ?.static CPDefinitionGroupedEntryfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the last cp definition grouped entry in the ordered set where uuid = ? and companyId = ?.static CPDefinitionGroupedEntryfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the first cp definition grouped entry in the ordered set where uuid = ?.static CPDefinitionGroupedEntryfetchByUUID_G(String uuid, long groupId) Returns the cp definition grouped entry where uuid = ? and groupId = ? or returnsnullif it could not be found.static CPDefinitionGroupedEntryfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the cp definition grouped entry where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static CPDefinitionGroupedEntryfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the last cp definition grouped entry in the ordered set where uuid = ?.static List<CPDefinitionGroupedEntry>findAll()Returns all the cp definition grouped entries.static List<CPDefinitionGroupedEntry>findAll(int start, int end) Returns a range of all the cp definition grouped entries.static List<CPDefinitionGroupedEntry>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns an ordered range of all the cp definition grouped entries.static List<CPDefinitionGroupedEntry>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition grouped entries.static CPDefinitionGroupedEntryfindByC_E(long CPDefinitionId, long entryCProductId) Returns the cp definition grouped entry where CPDefinitionId = ? and entryCProductId = ? or throws aNoSuchCPDefinitionGroupedEntryExceptionif it could not be found.static List<CPDefinitionGroupedEntry>findByCPDefinitionId(long CPDefinitionId) Returns all the cp definition grouped entries where CPDefinitionId = ?.static List<CPDefinitionGroupedEntry>findByCPDefinitionId(long CPDefinitionId, int start, int end) Returns a range of all the cp definition grouped entries where CPDefinitionId = ?.static List<CPDefinitionGroupedEntry>findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns an ordered range of all the cp definition grouped entries where CPDefinitionId = ?.static List<CPDefinitionGroupedEntry>findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition grouped entries where CPDefinitionId = ?.static CPDefinitionGroupedEntryfindByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the first cp definition grouped entry in the ordered set where CPDefinitionId = ?.static CPDefinitionGroupedEntryfindByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the last cp definition grouped entry in the ordered set where CPDefinitionId = ?.static CPDefinitionGroupedEntry[]findByCPDefinitionId_PrevAndNext(long CPDefinitionGroupedEntryId, long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the cp definition grouped entries before and after the current cp definition grouped entry in the ordered set where CPDefinitionId = ?.static List<CPDefinitionGroupedEntry>findByEntryCProductId(long entryCProductId) Returns all the cp definition grouped entries where entryCProductId = ?.static List<CPDefinitionGroupedEntry>findByEntryCProductId(long entryCProductId, int start, int end) Returns a range of all the cp definition grouped entries where entryCProductId = ?.static List<CPDefinitionGroupedEntry>findByEntryCProductId(long entryCProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns an ordered range of all the cp definition grouped entries where entryCProductId = ?.static List<CPDefinitionGroupedEntry>findByEntryCProductId(long entryCProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition grouped entries where entryCProductId = ?.static CPDefinitionGroupedEntryfindByEntryCProductId_First(long entryCProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the first cp definition grouped entry in the ordered set where entryCProductId = ?.static CPDefinitionGroupedEntryfindByEntryCProductId_Last(long entryCProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the last cp definition grouped entry in the ordered set where entryCProductId = ?.static CPDefinitionGroupedEntry[]findByEntryCProductId_PrevAndNext(long CPDefinitionGroupedEntryId, long entryCProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the cp definition grouped entries before and after the current cp definition grouped entry in the ordered set where entryCProductId = ?.static CPDefinitionGroupedEntryfindByPrimaryKey(long CPDefinitionGroupedEntryId) Returns the cp definition grouped entry with the primary key or throws aNoSuchCPDefinitionGroupedEntryExceptionif it could not be found.static List<CPDefinitionGroupedEntry>findByUuid(String uuid) Returns all the cp definition grouped entries where uuid = ?.static List<CPDefinitionGroupedEntry>findByUuid(String uuid, int start, int end) Returns a range of all the cp definition grouped entries where uuid = ?.static List<CPDefinitionGroupedEntry>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns an ordered range of all the cp definition grouped entries where uuid = ?.static List<CPDefinitionGroupedEntry>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition grouped entries where uuid = ?.static List<CPDefinitionGroupedEntry>findByUuid_C(String uuid, long companyId) Returns all the cp definition grouped entries where uuid = ? and companyId = ?.static List<CPDefinitionGroupedEntry>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the cp definition grouped entries where uuid = ? and companyId = ?.static List<CPDefinitionGroupedEntry>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns an ordered range of all the cp definition grouped entries where uuid = ? and companyId = ?.static List<CPDefinitionGroupedEntry>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition grouped entries where uuid = ? and companyId = ?.static CPDefinitionGroupedEntryfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the first cp definition grouped entry in the ordered set where uuid = ? and companyId = ?.static CPDefinitionGroupedEntryfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the last cp definition grouped entry in the ordered set where uuid = ? and companyId = ?.static CPDefinitionGroupedEntry[]findByUuid_C_PrevAndNext(long CPDefinitionGroupedEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the cp definition grouped entries before and after the current cp definition grouped entry in the ordered set where uuid = ? and companyId = ?.static CPDefinitionGroupedEntryfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the first cp definition grouped entry in the ordered set where uuid = ?.static CPDefinitionGroupedEntryfindByUUID_G(String uuid, long groupId) Returns the cp definition grouped entry where uuid = ? and groupId = ? or throws aNoSuchCPDefinitionGroupedEntryExceptionif it could not be found.static CPDefinitionGroupedEntryfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the last cp definition grouped entry in the ordered set where uuid = ?.static CPDefinitionGroupedEntry[]findByUuid_PrevAndNext(long CPDefinitionGroupedEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the cp definition grouped entries before and after the current cp definition grouped entry in the ordered set where uuid = ?.static List<CPDefinitionGroupedEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CPDefinitionGroupedEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CPDefinitionGroupedEntry>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) static CPDefinitionGroupedEntryremove(long CPDefinitionGroupedEntryId) Removes the cp definition grouped entry with the primary key from the database.static voidRemoves all the cp definition grouped entries from the database.static CPDefinitionGroupedEntryremoveByC_E(long CPDefinitionId, long entryCProductId) Removes the cp definition grouped entry where CPDefinitionId = ? and entryCProductId = ? from the database.static voidremoveByCPDefinitionId(long CPDefinitionId) Removes all the cp definition grouped entries where CPDefinitionId = ? from the database.static voidremoveByEntryCProductId(long entryCProductId) Removes all the cp definition grouped entries where entryCProductId = ? from the database.static voidremoveByUuid(String uuid) Removes all the cp definition grouped entries where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the cp definition grouped entries where uuid = ? and companyId = ? from the database.static CPDefinitionGroupedEntryremoveByUUID_G(String uuid, long groupId) Removes the cp definition grouped entry where uuid = ? and groupId = ? from the database.static voidsetPersistence(CPDefinitionGroupedEntryPersistence persistence) static CPDefinitionGroupedEntryupdate(CPDefinitionGroupedEntry cpDefinitionGroupedEntry) static CPDefinitionGroupedEntryupdate(CPDefinitionGroupedEntry cpDefinitionGroupedEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CPDefinitionGroupedEntryupdateImpl(CPDefinitionGroupedEntry cpDefinitionGroupedEntry)
-
Constructor Details
-
CPDefinitionGroupedEntryUtil
public CPDefinitionGroupedEntryUtil()
-
-
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
public static Map<Serializable,CPDefinitionGroupedEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CPDefinitionGroupedEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CPDefinitionGroupedEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CPDefinitionGroupedEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CPDefinitionGroupedEntry update(CPDefinitionGroupedEntry cpDefinitionGroupedEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the cp definition grouped entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching cp definition grouped entries
-
findByUuid
Returns a range of all the cp definition grouped entries where uuid = ?.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 fromCPDefinitionGroupedEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp definition grouped entriesend- the upper bound of the range of cp definition grouped entries (not inclusive)- Returns:
- the range of matching cp definition grouped entries
-
findByUuid
public static List<CPDefinitionGroupedEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns an ordered range of all the cp definition grouped entries where uuid = ?.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 fromCPDefinitionGroupedEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp definition grouped entriesend- the upper bound of the range of cp definition grouped entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp definition grouped entries
-
findByUuid
public static List<CPDefinitionGroupedEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition grouped entries where uuid = ?.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 fromCPDefinitionGroupedEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cp definition grouped entriesend- the upper bound of the range of cp definition grouped 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 cp definition grouped entries
-
findByUuid_First
public static CPDefinitionGroupedEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) throws NoSuchCPDefinitionGroupedEntryException Returns the first cp definition grouped entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException- if a matching cp definition grouped entry could not be foundNoSuchCPDefinitionGroupedEntryException
-
fetchByUuid_First
public static CPDefinitionGroupedEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the first cp definition grouped entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition grouped entry, or
nullif a matching cp definition grouped entry could not be found
-
findByUuid_Last
public static CPDefinitionGroupedEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) throws NoSuchCPDefinitionGroupedEntryException Returns the last cp definition grouped entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException- if a matching cp definition grouped entry could not be foundNoSuchCPDefinitionGroupedEntryException
-
fetchByUuid_Last
public static CPDefinitionGroupedEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the last cp definition grouped entry in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp definition grouped entry, or
nullif a matching cp definition grouped entry could not be found
-
findByUuid_PrevAndNext
public static CPDefinitionGroupedEntry[] findByUuid_PrevAndNext(long CPDefinitionGroupedEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) throws NoSuchCPDefinitionGroupedEntryException Returns the cp definition grouped entries before and after the current cp definition grouped entry in the ordered set where uuid = ?.- Parameters:
CPDefinitionGroupedEntryId- the primary key of the current cp definition grouped entryuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException- if a cp definition grouped entry with the primary key could not be foundNoSuchCPDefinitionGroupedEntryException
-
removeByUuid
Removes all the cp definition grouped entries where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of cp definition grouped entries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching cp definition grouped entries
-
findByUUID_G
public static CPDefinitionGroupedEntry findByUUID_G(String uuid, long groupId) throws NoSuchCPDefinitionGroupedEntryException Returns the cp definition grouped entry where uuid = ? and groupId = ? or throws aNoSuchCPDefinitionGroupedEntryExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException- if a matching cp definition grouped entry could not be foundNoSuchCPDefinitionGroupedEntryException
-
fetchByUUID_G
Returns the cp definition grouped entry where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching cp definition grouped entry, or
nullif a matching cp definition grouped entry could not be found
-
fetchByUUID_G
public static CPDefinitionGroupedEntry fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the cp definition grouped entry where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching cp definition grouped entry, or
nullif a matching cp definition grouped entry could not be found
-
removeByUUID_G
public static CPDefinitionGroupedEntry removeByUUID_G(String uuid, long groupId) throws NoSuchCPDefinitionGroupedEntryException Removes the cp definition grouped entry where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the cp definition grouped entry that was removed
- Throws:
NoSuchCPDefinitionGroupedEntryException
-
countByUUID_G
Returns the number of cp definition grouped entries where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching cp definition grouped entries
-
findByUuid_C
Returns all the cp definition grouped entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching cp definition grouped entries
-
findByUuid_C
public static List<CPDefinitionGroupedEntry> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the cp definition grouped entries where uuid = ? and 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 fromCPDefinitionGroupedEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp definition grouped entriesend- the upper bound of the range of cp definition grouped entries (not inclusive)- Returns:
- the range of matching cp definition grouped entries
-
findByUuid_C
public static List<CPDefinitionGroupedEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns an ordered range of all the cp definition grouped entries where uuid = ? and 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 fromCPDefinitionGroupedEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp definition grouped entriesend- the upper bound of the range of cp definition grouped entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp definition grouped entries
-
findByUuid_C
public static List<CPDefinitionGroupedEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition grouped entries where uuid = ? and 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 fromCPDefinitionGroupedEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cp definition grouped entriesend- the upper bound of the range of cp definition grouped 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 cp definition grouped entries
-
findByUuid_C_First
public static CPDefinitionGroupedEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) throws NoSuchCPDefinitionGroupedEntryException Returns the first cp definition grouped entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException- if a matching cp definition grouped entry could not be foundNoSuchCPDefinitionGroupedEntryException
-
fetchByUuid_C_First
public static CPDefinitionGroupedEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the first cp definition grouped entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition grouped entry, or
nullif a matching cp definition grouped entry could not be found
-
findByUuid_C_Last
public static CPDefinitionGroupedEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) throws NoSuchCPDefinitionGroupedEntryException Returns the last cp definition grouped entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException- if a matching cp definition grouped entry could not be foundNoSuchCPDefinitionGroupedEntryException
-
fetchByUuid_C_Last
public static CPDefinitionGroupedEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the last cp definition grouped entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp definition grouped entry, or
nullif a matching cp definition grouped entry could not be found
-
findByUuid_C_PrevAndNext
public static CPDefinitionGroupedEntry[] findByUuid_C_PrevAndNext(long CPDefinitionGroupedEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) throws NoSuchCPDefinitionGroupedEntryException Returns the cp definition grouped entries before and after the current cp definition grouped entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
CPDefinitionGroupedEntryId- the primary key of the current cp definition grouped entryuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException- if a cp definition grouped entry with the primary key could not be foundNoSuchCPDefinitionGroupedEntryException
-
removeByUuid_C
Removes all the cp definition grouped entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of cp definition grouped entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching cp definition grouped entries
-
findByCPDefinitionId
Returns all the cp definition grouped entries where CPDefinitionId = ?.- Parameters:
CPDefinitionId- the cp definition ID- Returns:
- the matching cp definition grouped entries
-
findByCPDefinitionId
public static List<CPDefinitionGroupedEntry> findByCPDefinitionId(long CPDefinitionId, int start, int end) Returns a range of all the cp definition grouped entries where CPDefinitionId = ?.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 fromCPDefinitionGroupedEntryModelImpl.- Parameters:
CPDefinitionId- the cp definition IDstart- the lower bound of the range of cp definition grouped entriesend- the upper bound of the range of cp definition grouped entries (not inclusive)- Returns:
- the range of matching cp definition grouped entries
-
findByCPDefinitionId
public static List<CPDefinitionGroupedEntry> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns an ordered range of all the cp definition grouped entries where CPDefinitionId = ?.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 fromCPDefinitionGroupedEntryModelImpl.- Parameters:
CPDefinitionId- the cp definition IDstart- the lower bound of the range of cp definition grouped entriesend- the upper bound of the range of cp definition grouped entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp definition grouped entries
-
findByCPDefinitionId
public static List<CPDefinitionGroupedEntry> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition grouped entries where CPDefinitionId = ?.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 fromCPDefinitionGroupedEntryModelImpl.- Parameters:
CPDefinitionId- the cp definition IDstart- the lower bound of the range of cp definition grouped entriesend- the upper bound of the range of cp definition grouped 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 cp definition grouped entries
-
findByCPDefinitionId_First
public static CPDefinitionGroupedEntry findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) throws NoSuchCPDefinitionGroupedEntryException Returns the first cp definition grouped entry in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId- the cp definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException- if a matching cp definition grouped entry could not be foundNoSuchCPDefinitionGroupedEntryException
-
fetchByCPDefinitionId_First
public static CPDefinitionGroupedEntry fetchByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the first cp definition grouped entry in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId- the cp definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition grouped entry, or
nullif a matching cp definition grouped entry could not be found
-
findByCPDefinitionId_Last
public static CPDefinitionGroupedEntry findByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) throws NoSuchCPDefinitionGroupedEntryException Returns the last cp definition grouped entry in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId- the cp definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException- if a matching cp definition grouped entry could not be foundNoSuchCPDefinitionGroupedEntryException
-
fetchByCPDefinitionId_Last
public static CPDefinitionGroupedEntry fetchByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the last cp definition grouped entry in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId- the cp definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp definition grouped entry, or
nullif a matching cp definition grouped entry could not be found
-
findByCPDefinitionId_PrevAndNext
public static CPDefinitionGroupedEntry[] findByCPDefinitionId_PrevAndNext(long CPDefinitionGroupedEntryId, long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) throws NoSuchCPDefinitionGroupedEntryException Returns the cp definition grouped entries before and after the current cp definition grouped entry in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionGroupedEntryId- the primary key of the current cp definition grouped entryCPDefinitionId- the cp definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException- if a cp definition grouped entry with the primary key could not be foundNoSuchCPDefinitionGroupedEntryException
-
removeByCPDefinitionId
public static void removeByCPDefinitionId(long CPDefinitionId) Removes all the cp definition grouped entries where CPDefinitionId = ? from the database.- Parameters:
CPDefinitionId- the cp definition ID
-
countByCPDefinitionId
public static int countByCPDefinitionId(long CPDefinitionId) Returns the number of cp definition grouped entries where CPDefinitionId = ?.- Parameters:
CPDefinitionId- the cp definition ID- Returns:
- the number of matching cp definition grouped entries
-
findByEntryCProductId
Returns all the cp definition grouped entries where entryCProductId = ?.- Parameters:
entryCProductId- the entry c product ID- Returns:
- the matching cp definition grouped entries
-
findByEntryCProductId
public static List<CPDefinitionGroupedEntry> findByEntryCProductId(long entryCProductId, int start, int end) Returns a range of all the cp definition grouped entries where entryCProductId = ?.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 fromCPDefinitionGroupedEntryModelImpl.- Parameters:
entryCProductId- the entry c product IDstart- the lower bound of the range of cp definition grouped entriesend- the upper bound of the range of cp definition grouped entries (not inclusive)- Returns:
- the range of matching cp definition grouped entries
-
findByEntryCProductId
public static List<CPDefinitionGroupedEntry> findByEntryCProductId(long entryCProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns an ordered range of all the cp definition grouped entries where entryCProductId = ?.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 fromCPDefinitionGroupedEntryModelImpl.- Parameters:
entryCProductId- the entry c product IDstart- the lower bound of the range of cp definition grouped entriesend- the upper bound of the range of cp definition grouped entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cp definition grouped entries
-
findByEntryCProductId
public static List<CPDefinitionGroupedEntry> findByEntryCProductId(long entryCProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition grouped entries where entryCProductId = ?.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 fromCPDefinitionGroupedEntryModelImpl.- Parameters:
entryCProductId- the entry c product IDstart- the lower bound of the range of cp definition grouped entriesend- the upper bound of the range of cp definition grouped 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 cp definition grouped entries
-
findByEntryCProductId_First
public static CPDefinitionGroupedEntry findByEntryCProductId_First(long entryCProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) throws NoSuchCPDefinitionGroupedEntryException Returns the first cp definition grouped entry in the ordered set where entryCProductId = ?.- Parameters:
entryCProductId- the entry c product IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException- if a matching cp definition grouped entry could not be foundNoSuchCPDefinitionGroupedEntryException
-
fetchByEntryCProductId_First
public static CPDefinitionGroupedEntry fetchByEntryCProductId_First(long entryCProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the first cp definition grouped entry in the ordered set where entryCProductId = ?.- Parameters:
entryCProductId- the entry c product IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cp definition grouped entry, or
nullif a matching cp definition grouped entry could not be found
-
findByEntryCProductId_Last
public static CPDefinitionGroupedEntry findByEntryCProductId_Last(long entryCProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) throws NoSuchCPDefinitionGroupedEntryException Returns the last cp definition grouped entry in the ordered set where entryCProductId = ?.- Parameters:
entryCProductId- the entry c product IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException- if a matching cp definition grouped entry could not be foundNoSuchCPDefinitionGroupedEntryException
-
fetchByEntryCProductId_Last
public static CPDefinitionGroupedEntry fetchByEntryCProductId_Last(long entryCProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns the last cp definition grouped entry in the ordered set where entryCProductId = ?.- Parameters:
entryCProductId- the entry c product IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cp definition grouped entry, or
nullif a matching cp definition grouped entry could not be found
-
findByEntryCProductId_PrevAndNext
public static CPDefinitionGroupedEntry[] findByEntryCProductId_PrevAndNext(long CPDefinitionGroupedEntryId, long entryCProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) throws NoSuchCPDefinitionGroupedEntryException Returns the cp definition grouped entries before and after the current cp definition grouped entry in the ordered set where entryCProductId = ?.- Parameters:
CPDefinitionGroupedEntryId- the primary key of the current cp definition grouped entryentryCProductId- the entry c product IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException- if a cp definition grouped entry with the primary key could not be foundNoSuchCPDefinitionGroupedEntryException
-
removeByEntryCProductId
public static void removeByEntryCProductId(long entryCProductId) Removes all the cp definition grouped entries where entryCProductId = ? from the database.- Parameters:
entryCProductId- the entry c product ID
-
countByEntryCProductId
public static int countByEntryCProductId(long entryCProductId) Returns the number of cp definition grouped entries where entryCProductId = ?.- Parameters:
entryCProductId- the entry c product ID- Returns:
- the number of matching cp definition grouped entries
-
findByC_E
public static CPDefinitionGroupedEntry findByC_E(long CPDefinitionId, long entryCProductId) throws NoSuchCPDefinitionGroupedEntryException Returns the cp definition grouped entry where CPDefinitionId = ? and entryCProductId = ? or throws aNoSuchCPDefinitionGroupedEntryExceptionif it could not be found.- Parameters:
CPDefinitionId- the cp definition IDentryCProductId- the entry c product ID- Returns:
- the matching cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException- if a matching cp definition grouped entry could not be foundNoSuchCPDefinitionGroupedEntryException
-
fetchByC_E
Returns the cp definition grouped entry where CPDefinitionId = ? and entryCProductId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
CPDefinitionId- the cp definition IDentryCProductId- the entry c product ID- Returns:
- the matching cp definition grouped entry, or
nullif a matching cp definition grouped entry could not be found
-
fetchByC_E
public static CPDefinitionGroupedEntry fetchByC_E(long CPDefinitionId, long entryCProductId, boolean useFinderCache) Returns the cp definition grouped entry where CPDefinitionId = ? and entryCProductId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
CPDefinitionId- the cp definition IDentryCProductId- the entry c product IDuseFinderCache- whether to use the finder cache- Returns:
- the matching cp definition grouped entry, or
nullif a matching cp definition grouped entry could not be found
-
removeByC_E
public static CPDefinitionGroupedEntry removeByC_E(long CPDefinitionId, long entryCProductId) throws NoSuchCPDefinitionGroupedEntryException Removes the cp definition grouped entry where CPDefinitionId = ? and entryCProductId = ? from the database.- Parameters:
CPDefinitionId- the cp definition IDentryCProductId- the entry c product ID- Returns:
- the cp definition grouped entry that was removed
- Throws:
NoSuchCPDefinitionGroupedEntryException
-
countByC_E
public static int countByC_E(long CPDefinitionId, long entryCProductId) Returns the number of cp definition grouped entries where CPDefinitionId = ? and entryCProductId = ?.- Parameters:
CPDefinitionId- the cp definition IDentryCProductId- the entry c product ID- Returns:
- the number of matching cp definition grouped entries
-
cacheResult
Caches the cp definition grouped entry in the entity cache if it is enabled.- Parameters:
cpDefinitionGroupedEntry- the cp definition grouped entry
-
cacheResult
Caches the cp definition grouped entries in the entity cache if it is enabled.- Parameters:
cpDefinitionGroupedEntries- the cp definition grouped entries
-
create
Creates a new cp definition grouped entry with the primary key. Does not add the cp definition grouped entry to the database.- Parameters:
CPDefinitionGroupedEntryId- the primary key for the new cp definition grouped entry- Returns:
- the new cp definition grouped entry
-
remove
public static CPDefinitionGroupedEntry remove(long CPDefinitionGroupedEntryId) throws NoSuchCPDefinitionGroupedEntryException Removes the cp definition grouped entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CPDefinitionGroupedEntryId- the primary key of the cp definition grouped entry- Returns:
- the cp definition grouped entry that was removed
- Throws:
NoSuchCPDefinitionGroupedEntryException- if a cp definition grouped entry with the primary key could not be foundNoSuchCPDefinitionGroupedEntryException
-
updateImpl
public static CPDefinitionGroupedEntry updateImpl(CPDefinitionGroupedEntry cpDefinitionGroupedEntry) -
findByPrimaryKey
public static CPDefinitionGroupedEntry findByPrimaryKey(long CPDefinitionGroupedEntryId) throws NoSuchCPDefinitionGroupedEntryException Returns the cp definition grouped entry with the primary key or throws aNoSuchCPDefinitionGroupedEntryExceptionif it could not be found.- Parameters:
CPDefinitionGroupedEntryId- the primary key of the cp definition grouped entry- Returns:
- the cp definition grouped entry
- Throws:
NoSuchCPDefinitionGroupedEntryException- if a cp definition grouped entry with the primary key could not be foundNoSuchCPDefinitionGroupedEntryException
-
fetchByPrimaryKey
Returns the cp definition grouped entry with the primary key or returnsnullif it could not be found.- Parameters:
CPDefinitionGroupedEntryId- the primary key of the cp definition grouped entry- Returns:
- the cp definition grouped entry, or
nullif a cp definition grouped entry with the primary key could not be found
-
findAll
Returns all the cp definition grouped entries.- Returns:
- the cp definition grouped entries
-
findAll
Returns a range of all the cp definition grouped 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 fromCPDefinitionGroupedEntryModelImpl.- Parameters:
start- the lower bound of the range of cp definition grouped entriesend- the upper bound of the range of cp definition grouped entries (not inclusive)- Returns:
- the range of cp definition grouped entries
-
findAll
public static List<CPDefinitionGroupedEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator) Returns an ordered range of all the cp definition grouped 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 fromCPDefinitionGroupedEntryModelImpl.- Parameters:
start- the lower bound of the range of cp definition grouped entriesend- the upper bound of the range of cp definition grouped entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of cp definition grouped entries
-
findAll
public static List<CPDefinitionGroupedEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionGroupedEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp definition grouped 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 fromCPDefinitionGroupedEntryModelImpl.- Parameters:
start- the lower bound of the range of cp definition grouped entriesend- the upper bound of the range of cp definition grouped entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of cp definition grouped entries
-
removeAll
public static void removeAll()Removes all the cp definition grouped entries from the database. -
countAll
public static int countAll()Returns the number of cp definition grouped entries.- Returns:
- the number of cp definition grouped entries
-
getPersistence
-
setPersistence
-