Interface CPDefinitionGroupedEntryPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CPDefinitionGroupedEntry>

@ProviderType public interface CPDefinitionGroupedEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CPDefinitionGroupedEntry>
The persistence interface for the cp definition grouped entry service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

      Returns all the cp definition grouped entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching cp definition grouped entries
    • findByUuid

      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

      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

      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

      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
    • fetchByUuid_First

      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

      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
    • fetchByUuid_Last

      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

      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
    • removeByUuid

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

      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

      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
    • fetchByUUID_G

      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

      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

      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

      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

      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

      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

      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

      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

      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
    • fetchByUuid_C_First

      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

      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
    • fetchByUuid_C_Last

      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

      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
    • removeByUuid_C

      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

      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

      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

      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

      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

      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

      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
    • fetchByCPDefinitionId_First

      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

      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
    • fetchByCPDefinitionId_Last

      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

      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
    • removeByCPDefinitionId

      void removeByCPDefinitionId(long CPDefinitionId)
      Removes all the cp definition grouped entries where CPDefinitionId = ? from the database.
      Parameters:
      CPDefinitionId - the cp definition ID
    • countByCPDefinitionId

      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

      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

      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

      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

      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

      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
    • fetchByEntryCProductId_First

      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

      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
    • fetchByEntryCProductId_Last

      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

      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
    • removeByEntryCProductId

      void removeByEntryCProductId(long entryCProductId)
      Removes all the cp definition grouped entries where entryCProductId = ? from the database.
      Parameters:
      entryCProductId - the entry c product ID
    • countByEntryCProductId

      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

      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
    • fetchByC_E

      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

      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

      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

      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

      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

      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

      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

      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
    • updateImpl

      CPDefinitionGroupedEntry updateImpl(CPDefinitionGroupedEntry cpDefinitionGroupedEntry)
    • findByPrimaryKey

      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
    • fetchByPrimaryKey

      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

      Returns all the cp definition grouped entries.
      Returns:
      the cp definition grouped entries
    • findAll

      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

      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

      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

      void removeAll()
      Removes all the cp definition grouped entries from the database.
    • countAll

      int countAll()
      Returns the number of cp definition grouped entries.
      Returns:
      the number of cp definition grouped entries