Class CPDefinitionGroupedEntryUtil

java.lang.Object
com.liferay.commerce.product.type.grouped.service.persistence.CPDefinitionGroupedEntryUtil

public class CPDefinitionGroupedEntryUtil extends Object
The persistence utility for the cp definition grouped entry service. This utility wraps 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 Details

    • CPDefinitionGroupedEntryUtil

      public CPDefinitionGroupedEntryUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(CPDefinitionGroupedEntry cpDefinitionGroupedEntry)
      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

      public static CPDefinitionGroupedEntry update(CPDefinitionGroupedEntry cpDefinitionGroupedEntry)
      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

      public static List<CPDefinitionGroupedEntry> findByUuid(String uuid)
      Returns all the cp definition grouped entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching cp definition grouped entries
    • findByUuid

      public static List<CPDefinitionGroupedEntry> findByUuid(String uuid, int start, int end)
      Returns a range of all the cp definition grouped entries where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionGroupedEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of cp definition grouped entries
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionGroupedEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of cp definition grouped entries
      end - the upper bound of the range of cp definition grouped entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionGroupedEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of cp definition grouped entries
      end - the upper bound of the range of cp definition grouped entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition grouped entry
      Throws:
      NoSuchCPDefinitionGroupedEntryException - if a matching cp definition grouped entry could not be found
      NoSuchCPDefinitionGroupedEntryException
    • 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition grouped entry, or null if 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition grouped entry
      Throws:
      NoSuchCPDefinitionGroupedEntryException - if a matching cp definition grouped entry could not be found
      NoSuchCPDefinitionGroupedEntryException
    • 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition grouped entry, or null if 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 entry
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchCPDefinitionGroupedEntryException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the cp definition grouped entries where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      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 a NoSuchCPDefinitionGroupedEntryException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching cp definition grouped entry
      Throws:
      NoSuchCPDefinitionGroupedEntryException - if a matching cp definition grouped entry could not be found
      NoSuchCPDefinitionGroupedEntryException
    • fetchByUUID_G

      public static CPDefinitionGroupedEntry fetchByUUID_G(String uuid, long groupId)
      Returns the cp definition grouped entry where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching cp definition grouped entry, or null if 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching cp definition grouped entry, or null if 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 uuid
      groupId - the group ID
      Returns:
      the cp definition grouped entry that was removed
      Throws:
      NoSuchCPDefinitionGroupedEntryException
    • countByUUID_G

      public static int countByUUID_G(String uuid, long groupId)
      Returns the number of cp definition grouped entries where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching cp definition grouped entries
    • findByUuid_C

      public static List<CPDefinitionGroupedEntry> findByUuid_C(String uuid, long companyId)
      Returns all the cp definition grouped entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionGroupedEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of cp definition grouped entries
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionGroupedEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of cp definition grouped entries
      end - the upper bound of the range of cp definition grouped entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionGroupedEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of cp definition grouped entries
      end - the upper bound of the range of cp definition grouped entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition grouped entry
      Throws:
      NoSuchCPDefinitionGroupedEntryException - if a matching cp definition grouped entry could not be found
      NoSuchCPDefinitionGroupedEntryException
    • 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition grouped entry, or null if 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition grouped entry
      Throws:
      NoSuchCPDefinitionGroupedEntryException - if a matching cp definition grouped entry could not be found
      NoSuchCPDefinitionGroupedEntryException
    • 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition grouped entry, or null if 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 entry
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchCPDefinitionGroupedEntryException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the cp definition grouped entries where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of cp definition grouped entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching cp definition grouped entries
    • findByCPDefinitionId

      public static List<CPDefinitionGroupedEntry> findByCPDefinitionId(long CPDefinitionId)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionGroupedEntryModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      start - the lower bound of the range of cp definition grouped entries
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionGroupedEntryModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      start - the lower bound of the range of cp definition grouped entries
      end - the upper bound of the range of cp definition grouped entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionGroupedEntryModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      start - the lower bound of the range of cp definition grouped entries
      end - the upper bound of the range of cp definition grouped entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition grouped entry
      Throws:
      NoSuchCPDefinitionGroupedEntryException - if a matching cp definition grouped entry could not be found
      NoSuchCPDefinitionGroupedEntryException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition grouped entry, or null if 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition grouped entry
      Throws:
      NoSuchCPDefinitionGroupedEntryException - if a matching cp definition grouped entry could not be found
      NoSuchCPDefinitionGroupedEntryException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition grouped entry, or null if 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 entry
      CPDefinitionId - the cp definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchCPDefinitionGroupedEntryException
    • 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

      public static List<CPDefinitionGroupedEntry> findByEntryCProductId(long entryCProductId)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionGroupedEntryModelImpl.

      Parameters:
      entryCProductId - the entry c product ID
      start - the lower bound of the range of cp definition grouped entries
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionGroupedEntryModelImpl.

      Parameters:
      entryCProductId - the entry c product ID
      start - the lower bound of the range of cp definition grouped entries
      end - the upper bound of the range of cp definition grouped entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionGroupedEntryModelImpl.

      Parameters:
      entryCProductId - the entry c product ID
      start - the lower bound of the range of cp definition grouped entries
      end - the upper bound of the range of cp definition grouped entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition grouped entry
      Throws:
      NoSuchCPDefinitionGroupedEntryException - if a matching cp definition grouped entry could not be found
      NoSuchCPDefinitionGroupedEntryException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition grouped entry, or null if 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition grouped entry
      Throws:
      NoSuchCPDefinitionGroupedEntryException - if a matching cp definition grouped entry could not be found
      NoSuchCPDefinitionGroupedEntryException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition grouped entry, or null if 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 entry
      entryCProductId - the entry c product ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 found
      NoSuchCPDefinitionGroupedEntryException
    • 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 a NoSuchCPDefinitionGroupedEntryException if it could not be found.
      Parameters:
      CPDefinitionId - the cp definition ID
      entryCProductId - the entry c product ID
      Returns:
      the matching cp definition grouped entry
      Throws:
      NoSuchCPDefinitionGroupedEntryException - if a matching cp definition grouped entry could not be found
      NoSuchCPDefinitionGroupedEntryException
    • fetchByC_E

      public static CPDefinitionGroupedEntry fetchByC_E(long CPDefinitionId, long entryCProductId)
      Returns the cp definition grouped entry where CPDefinitionId = ? and entryCProductId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      CPDefinitionId - the cp definition ID
      entryCProductId - the entry c product ID
      Returns:
      the matching cp definition grouped entry, or null if 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      CPDefinitionId - the cp definition ID
      entryCProductId - the entry c product ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching cp definition grouped entry, or null if 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 ID
      entryCProductId - 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 ID
      entryCProductId - the entry c product ID
      Returns:
      the number of matching cp definition grouped entries
    • cacheResult

      public static void cacheResult(CPDefinitionGroupedEntry cpDefinitionGroupedEntry)
      Caches the cp definition grouped entry in the entity cache if it is enabled.
      Parameters:
      cpDefinitionGroupedEntry - the cp definition grouped entry
    • cacheResult

      public static void cacheResult(List<CPDefinitionGroupedEntry> cpDefinitionGroupedEntries)
      Caches the cp definition grouped entries in the entity cache if it is enabled.
      Parameters:
      cpDefinitionGroupedEntries - the cp definition grouped entries
    • create

      public static CPDefinitionGroupedEntry create(long CPDefinitionGroupedEntryId)
      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 found
      NoSuchCPDefinitionGroupedEntryException
    • 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 a NoSuchCPDefinitionGroupedEntryException if 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 found
      NoSuchCPDefinitionGroupedEntryException
    • fetchByPrimaryKey

      public static CPDefinitionGroupedEntry fetchByPrimaryKey(long CPDefinitionGroupedEntryId)
      Returns the cp definition grouped entry with the primary key or returns null if it could not be found.
      Parameters:
      CPDefinitionGroupedEntryId - the primary key of the cp definition grouped entry
      Returns:
      the cp definition grouped entry, or null if a cp definition grouped entry with the primary key could not be found
    • findAll

      public static List<CPDefinitionGroupedEntry> findAll()
      Returns all the cp definition grouped entries.
      Returns:
      the cp definition grouped entries
    • findAll

      public static List<CPDefinitionGroupedEntry> findAll(int start, int end)
      Returns a range of all the cp definition grouped entries.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionGroupedEntryModelImpl.

      Parameters:
      start - the lower bound of the range of cp definition grouped entries
      end - 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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionGroupedEntryModelImpl.

      Parameters:
      start - the lower bound of the range of cp definition grouped entries
      end - the upper bound of the range of cp definition grouped entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPDefinitionGroupedEntryModelImpl.

      Parameters:
      start - the lower bound of the range of cp definition grouped entries
      end - the upper bound of the range of cp definition grouped entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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

      public static CPDefinitionGroupedEntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(CPDefinitionGroupedEntryPersistence persistence)