Interface CPInstanceOptionValueRelPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CPInstanceOptionValueRel>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPInstanceOptionValueRel>

@ProviderType public interface CPInstanceOptionValueRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CPInstanceOptionValueRel>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPInstanceOptionValueRel>
The persistence interface for the cp instance option value rel service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

      Returns all the cp instance option value rels where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching cp instance option value rels
    • findByUuid

      List<CPInstanceOptionValueRel> findByUuid(String uuid, int start, int end)
      Returns a range of all the cp instance option value rels 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 CPInstanceOptionValueRelModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of cp instance option value rels
      end - the upper bound of the range of cp instance option value rels (not inclusive)
      Returns:
      the range of matching cp instance option value rels
    • findByUuid

      List<CPInstanceOptionValueRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
      Returns an ordered range of all the cp instance option value rels 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 CPInstanceOptionValueRelModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of cp instance option value rels
      end - the upper bound of the range of cp instance option value rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp instance option value rels
    • findByUuid

      List<CPInstanceOptionValueRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp instance option value rels 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 CPInstanceOptionValueRelModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of cp instance option value rels
      end - the upper bound of the range of cp instance option value rels (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 instance option value rels
    • findByUuid_First

      CPInstanceOptionValueRel findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
      Returns the first cp instance option value rel 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 instance option value rel
      Throws:
      NoSuchCPInstanceOptionValueRelException - if a matching cp instance option value rel could not be found
    • fetchByUuid_First

      CPInstanceOptionValueRel fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
      Returns the first cp instance option value rel 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 instance option value rel, or null if a matching cp instance option value rel could not be found
    • findByUuid_Last

      CPInstanceOptionValueRel findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
      Returns the last cp instance option value rel 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 instance option value rel
      Throws:
      NoSuchCPInstanceOptionValueRelException - if a matching cp instance option value rel could not be found
    • fetchByUuid_Last

      CPInstanceOptionValueRel fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
      Returns the last cp instance option value rel 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 instance option value rel, or null if a matching cp instance option value rel could not be found
    • findByUuid_PrevAndNext

      CPInstanceOptionValueRel[] findByUuid_PrevAndNext(long CPInstanceOptionValueRelId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
      Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where uuid = ?.
      Parameters:
      CPInstanceOptionValueRelId - the primary key of the current cp instance option value rel
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp instance option value rel
      Throws:
      NoSuchCPInstanceOptionValueRelException - if a cp instance option value rel with the primary key could not be found
    • removeByUuid

      void removeByUuid(String uuid)
      Removes all the cp instance option value rels where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of cp instance option value rels where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching cp instance option value rels
    • findByUUID_G

      Returns the cp instance option value rel where uuid = ? and groupId = ? or throws a NoSuchCPInstanceOptionValueRelException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching cp instance option value rel
      Throws:
      NoSuchCPInstanceOptionValueRelException - if a matching cp instance option value rel could not be found
    • fetchByUUID_G

      CPInstanceOptionValueRel fetchByUUID_G(String uuid, long groupId)
      Returns the cp instance option value rel 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 instance option value rel, or null if a matching cp instance option value rel could not be found
    • fetchByUUID_G

      CPInstanceOptionValueRel fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the cp instance option value rel 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 instance option value rel, or null if a matching cp instance option value rel could not be found
    • removeByUUID_G

      CPInstanceOptionValueRel removeByUUID_G(String uuid, long groupId) throws NoSuchCPInstanceOptionValueRelException
      Removes the cp instance option value rel where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the cp instance option value rel that was removed
      Throws:
      NoSuchCPInstanceOptionValueRelException
    • countByUUID_G

      int countByUUID_G(String uuid, long groupId)
      Returns the number of cp instance option value rels where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching cp instance option value rels
    • findByUuid_C

      List<CPInstanceOptionValueRel> findByUuid_C(String uuid, long companyId)
      Returns all the cp instance option value rels where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching cp instance option value rels
    • findByUuid_C

      List<CPInstanceOptionValueRel> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the cp instance option value rels 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 CPInstanceOptionValueRelModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of cp instance option value rels
      end - the upper bound of the range of cp instance option value rels (not inclusive)
      Returns:
      the range of matching cp instance option value rels
    • findByUuid_C

      List<CPInstanceOptionValueRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
      Returns an ordered range of all the cp instance option value rels 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 CPInstanceOptionValueRelModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of cp instance option value rels
      end - the upper bound of the range of cp instance option value rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp instance option value rels
    • findByUuid_C

      List<CPInstanceOptionValueRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp instance option value rels 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 CPInstanceOptionValueRelModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of cp instance option value rels
      end - the upper bound of the range of cp instance option value rels (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 instance option value rels
    • findByUuid_C_First

      CPInstanceOptionValueRel findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
      Returns the first cp instance option value rel 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 instance option value rel
      Throws:
      NoSuchCPInstanceOptionValueRelException - if a matching cp instance option value rel could not be found
    • fetchByUuid_C_First

      CPInstanceOptionValueRel fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
      Returns the first cp instance option value rel 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 instance option value rel, or null if a matching cp instance option value rel could not be found
    • findByUuid_C_Last

      CPInstanceOptionValueRel findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
      Returns the last cp instance option value rel 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 instance option value rel
      Throws:
      NoSuchCPInstanceOptionValueRelException - if a matching cp instance option value rel could not be found
    • fetchByUuid_C_Last

      CPInstanceOptionValueRel fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
      Returns the last cp instance option value rel 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 instance option value rel, or null if a matching cp instance option value rel could not be found
    • findByUuid_C_PrevAndNext

      CPInstanceOptionValueRel[] findByUuid_C_PrevAndNext(long CPInstanceOptionValueRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
      Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      CPInstanceOptionValueRelId - the primary key of the current cp instance option value rel
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp instance option value rel
      Throws:
      NoSuchCPInstanceOptionValueRelException - if a cp instance option value rel with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the cp instance option value rels 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 instance option value rels where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching cp instance option value rels
    • findByCPDefinitionOptionRelId

      List<CPInstanceOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId)
      Returns all the cp instance option value rels where CPDefinitionOptionRelId = ?.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      Returns:
      the matching cp instance option value rels
    • findByCPDefinitionOptionRelId

      List<CPInstanceOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end)
      Returns a range of all the cp instance option value rels where CPDefinitionOptionRelId = ?.

      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 CPInstanceOptionValueRelModelImpl.

      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      start - the lower bound of the range of cp instance option value rels
      end - the upper bound of the range of cp instance option value rels (not inclusive)
      Returns:
      the range of matching cp instance option value rels
    • findByCPDefinitionOptionRelId

      List<CPInstanceOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
      Returns an ordered range of all the cp instance option value rels where CPDefinitionOptionRelId = ?.

      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 CPInstanceOptionValueRelModelImpl.

      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      start - the lower bound of the range of cp instance option value rels
      end - the upper bound of the range of cp instance option value rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp instance option value rels
    • findByCPDefinitionOptionRelId

      List<CPInstanceOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp instance option value rels where CPDefinitionOptionRelId = ?.

      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 CPInstanceOptionValueRelModelImpl.

      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      start - the lower bound of the range of cp instance option value rels
      end - the upper bound of the range of cp instance option value rels (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 instance option value rels
    • findByCPDefinitionOptionRelId_First

      CPInstanceOptionValueRel findByCPDefinitionOptionRelId_First(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
      Returns the first cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ?.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp instance option value rel
      Throws:
      NoSuchCPInstanceOptionValueRelException - if a matching cp instance option value rel could not be found
    • fetchByCPDefinitionOptionRelId_First

      CPInstanceOptionValueRel fetchByCPDefinitionOptionRelId_First(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
      Returns the first cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ?.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp instance option value rel, or null if a matching cp instance option value rel could not be found
    • findByCPDefinitionOptionRelId_Last

      CPInstanceOptionValueRel findByCPDefinitionOptionRelId_Last(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
      Returns the last cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ?.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp instance option value rel
      Throws:
      NoSuchCPInstanceOptionValueRelException - if a matching cp instance option value rel could not be found
    • fetchByCPDefinitionOptionRelId_Last

      CPInstanceOptionValueRel fetchByCPDefinitionOptionRelId_Last(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
      Returns the last cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ?.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp instance option value rel, or null if a matching cp instance option value rel could not be found
    • findByCPDefinitionOptionRelId_PrevAndNext

      CPInstanceOptionValueRel[] findByCPDefinitionOptionRelId_PrevAndNext(long CPInstanceOptionValueRelId, long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
      Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ?.
      Parameters:
      CPInstanceOptionValueRelId - the primary key of the current cp instance option value rel
      CPDefinitionOptionRelId - the cp definition option rel ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp instance option value rel
      Throws:
      NoSuchCPInstanceOptionValueRelException - if a cp instance option value rel with the primary key could not be found
    • removeByCPDefinitionOptionRelId

      void removeByCPDefinitionOptionRelId(long CPDefinitionOptionRelId)
      Removes all the cp instance option value rels where CPDefinitionOptionRelId = ? from the database.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
    • countByCPDefinitionOptionRelId

      int countByCPDefinitionOptionRelId(long CPDefinitionOptionRelId)
      Returns the number of cp instance option value rels where CPDefinitionOptionRelId = ?.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      Returns:
      the number of matching cp instance option value rels
    • findByCPInstanceId

      List<CPInstanceOptionValueRel> findByCPInstanceId(long CPInstanceId)
      Returns all the cp instance option value rels where CPInstanceId = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      Returns:
      the matching cp instance option value rels
    • findByCPInstanceId

      List<CPInstanceOptionValueRel> findByCPInstanceId(long CPInstanceId, int start, int end)
      Returns a range of all the cp instance option value rels where CPInstanceId = ?.

      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 CPInstanceOptionValueRelModelImpl.

      Parameters:
      CPInstanceId - the cp instance ID
      start - the lower bound of the range of cp instance option value rels
      end - the upper bound of the range of cp instance option value rels (not inclusive)
      Returns:
      the range of matching cp instance option value rels
    • findByCPInstanceId

      List<CPInstanceOptionValueRel> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
      Returns an ordered range of all the cp instance option value rels where CPInstanceId = ?.

      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 CPInstanceOptionValueRelModelImpl.

      Parameters:
      CPInstanceId - the cp instance ID
      start - the lower bound of the range of cp instance option value rels
      end - the upper bound of the range of cp instance option value rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp instance option value rels
    • findByCPInstanceId

      List<CPInstanceOptionValueRel> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp instance option value rels where CPInstanceId = ?.

      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 CPInstanceOptionValueRelModelImpl.

      Parameters:
      CPInstanceId - the cp instance ID
      start - the lower bound of the range of cp instance option value rels
      end - the upper bound of the range of cp instance option value rels (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 instance option value rels
    • findByCPInstanceId_First

      CPInstanceOptionValueRel findByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
      Returns the first cp instance option value rel in the ordered set where CPInstanceId = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp instance option value rel
      Throws:
      NoSuchCPInstanceOptionValueRelException - if a matching cp instance option value rel could not be found
    • fetchByCPInstanceId_First

      CPInstanceOptionValueRel fetchByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
      Returns the first cp instance option value rel in the ordered set where CPInstanceId = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp instance option value rel, or null if a matching cp instance option value rel could not be found
    • findByCPInstanceId_Last

      CPInstanceOptionValueRel findByCPInstanceId_Last(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
      Returns the last cp instance option value rel in the ordered set where CPInstanceId = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp instance option value rel
      Throws:
      NoSuchCPInstanceOptionValueRelException - if a matching cp instance option value rel could not be found
    • fetchByCPInstanceId_Last

      CPInstanceOptionValueRel fetchByCPInstanceId_Last(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
      Returns the last cp instance option value rel in the ordered set where CPInstanceId = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp instance option value rel, or null if a matching cp instance option value rel could not be found
    • findByCPInstanceId_PrevAndNext

      CPInstanceOptionValueRel[] findByCPInstanceId_PrevAndNext(long CPInstanceOptionValueRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
      Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where CPInstanceId = ?.
      Parameters:
      CPInstanceOptionValueRelId - the primary key of the current cp instance option value rel
      CPInstanceId - the cp instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp instance option value rel
      Throws:
      NoSuchCPInstanceOptionValueRelException - if a cp instance option value rel with the primary key could not be found
    • removeByCPInstanceId

      void removeByCPInstanceId(long CPInstanceId)
      Removes all the cp instance option value rels where CPInstanceId = ? from the database.
      Parameters:
      CPInstanceId - the cp instance ID
    • countByCPInstanceId

      int countByCPInstanceId(long CPInstanceId)
      Returns the number of cp instance option value rels where CPInstanceId = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      Returns:
      the number of matching cp instance option value rels
    • findByCDORI_CII

      List<CPInstanceOptionValueRel> findByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId)
      Returns all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      CPInstanceId - the cp instance ID
      Returns:
      the matching cp instance option value rels
    • findByCDORI_CII

      List<CPInstanceOptionValueRel> findByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId, int start, int end)
      Returns a range of all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.

      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 CPInstanceOptionValueRelModelImpl.

      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      CPInstanceId - the cp instance ID
      start - the lower bound of the range of cp instance option value rels
      end - the upper bound of the range of cp instance option value rels (not inclusive)
      Returns:
      the range of matching cp instance option value rels
    • findByCDORI_CII

      List<CPInstanceOptionValueRel> findByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
      Returns an ordered range of all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.

      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 CPInstanceOptionValueRelModelImpl.

      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      CPInstanceId - the cp instance ID
      start - the lower bound of the range of cp instance option value rels
      end - the upper bound of the range of cp instance option value rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp instance option value rels
    • findByCDORI_CII

      List<CPInstanceOptionValueRel> findByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.

      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 CPInstanceOptionValueRelModelImpl.

      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      CPInstanceId - the cp instance ID
      start - the lower bound of the range of cp instance option value rels
      end - the upper bound of the range of cp instance option value rels (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 instance option value rels
    • findByCDORI_CII_First

      CPInstanceOptionValueRel findByCDORI_CII_First(long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
      Returns the first cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ? and CPInstanceId = ?.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      CPInstanceId - the cp instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp instance option value rel
      Throws:
      NoSuchCPInstanceOptionValueRelException - if a matching cp instance option value rel could not be found
    • fetchByCDORI_CII_First

      CPInstanceOptionValueRel fetchByCDORI_CII_First(long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
      Returns the first cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ? and CPInstanceId = ?.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      CPInstanceId - the cp instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp instance option value rel, or null if a matching cp instance option value rel could not be found
    • findByCDORI_CII_Last

      CPInstanceOptionValueRel findByCDORI_CII_Last(long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
      Returns the last cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ? and CPInstanceId = ?.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      CPInstanceId - the cp instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp instance option value rel
      Throws:
      NoSuchCPInstanceOptionValueRelException - if a matching cp instance option value rel could not be found
    • fetchByCDORI_CII_Last

      CPInstanceOptionValueRel fetchByCDORI_CII_Last(long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
      Returns the last cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ? and CPInstanceId = ?.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      CPInstanceId - the cp instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp instance option value rel, or null if a matching cp instance option value rel could not be found
    • findByCDORI_CII_PrevAndNext

      CPInstanceOptionValueRel[] findByCDORI_CII_PrevAndNext(long CPInstanceOptionValueRelId, long CPDefinitionOptionRelId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator) throws NoSuchCPInstanceOptionValueRelException
      Returns the cp instance option value rels before and after the current cp instance option value rel in the ordered set where CPDefinitionOptionRelId = ? and CPInstanceId = ?.
      Parameters:
      CPInstanceOptionValueRelId - the primary key of the current cp instance option value rel
      CPDefinitionOptionRelId - the cp definition option rel ID
      CPInstanceId - the cp instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp instance option value rel
      Throws:
      NoSuchCPInstanceOptionValueRelException - if a cp instance option value rel with the primary key could not be found
    • removeByCDORI_CII

      void removeByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId)
      Removes all the cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ? from the database.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      CPInstanceId - the cp instance ID
    • countByCDORI_CII

      int countByCDORI_CII(long CPDefinitionOptionRelId, long CPInstanceId)
      Returns the number of cp instance option value rels where CPDefinitionOptionRelId = ? and CPInstanceId = ?.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      CPInstanceId - the cp instance ID
      Returns:
      the number of matching cp instance option value rels
    • findByCDOVRI_CII

      CPInstanceOptionValueRel findByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId) throws NoSuchCPInstanceOptionValueRelException
      Returns the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or throws a NoSuchCPInstanceOptionValueRelException if it could not be found.
      Parameters:
      CPDefinitionOptionValueRelId - the cp definition option value rel ID
      CPInstanceId - the cp instance ID
      Returns:
      the matching cp instance option value rel
      Throws:
      NoSuchCPInstanceOptionValueRelException - if a matching cp instance option value rel could not be found
    • fetchByCDOVRI_CII

      CPInstanceOptionValueRel fetchByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId)
      Returns the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      CPDefinitionOptionValueRelId - the cp definition option value rel ID
      CPInstanceId - the cp instance ID
      Returns:
      the matching cp instance option value rel, or null if a matching cp instance option value rel could not be found
    • fetchByCDOVRI_CII

      CPInstanceOptionValueRel fetchByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId, boolean useFinderCache)
      Returns the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      CPDefinitionOptionValueRelId - the cp definition option value rel ID
      CPInstanceId - the cp instance ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching cp instance option value rel, or null if a matching cp instance option value rel could not be found
    • removeByCDOVRI_CII

      CPInstanceOptionValueRel removeByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId) throws NoSuchCPInstanceOptionValueRelException
      Removes the cp instance option value rel where CPDefinitionOptionValueRelId = ? and CPInstanceId = ? from the database.
      Parameters:
      CPDefinitionOptionValueRelId - the cp definition option value rel ID
      CPInstanceId - the cp instance ID
      Returns:
      the cp instance option value rel that was removed
      Throws:
      NoSuchCPInstanceOptionValueRelException
    • countByCDOVRI_CII

      int countByCDOVRI_CII(long CPDefinitionOptionValueRelId, long CPInstanceId)
      Returns the number of cp instance option value rels where CPDefinitionOptionValueRelId = ? and CPInstanceId = ?.
      Parameters:
      CPDefinitionOptionValueRelId - the cp definition option value rel ID
      CPInstanceId - the cp instance ID
      Returns:
      the number of matching cp instance option value rels
    • findByCDORI_CDOVRI_CII

      CPInstanceOptionValueRel findByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId) throws NoSuchCPInstanceOptionValueRelException
      Returns the cp instance option value rel where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or throws a NoSuchCPInstanceOptionValueRelException if it could not be found.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      CPDefinitionOptionValueRelId - the cp definition option value rel ID
      CPInstanceId - the cp instance ID
      Returns:
      the matching cp instance option value rel
      Throws:
      NoSuchCPInstanceOptionValueRelException - if a matching cp instance option value rel could not be found
    • fetchByCDORI_CDOVRI_CII

      CPInstanceOptionValueRel fetchByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId)
      Returns the cp instance option value rel where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      CPDefinitionOptionValueRelId - the cp definition option value rel ID
      CPInstanceId - the cp instance ID
      Returns:
      the matching cp instance option value rel, or null if a matching cp instance option value rel could not be found
    • fetchByCDORI_CDOVRI_CII

      CPInstanceOptionValueRel fetchByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId, boolean useFinderCache)
      Returns the cp instance option value rel where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      CPDefinitionOptionValueRelId - the cp definition option value rel ID
      CPInstanceId - the cp instance ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching cp instance option value rel, or null if a matching cp instance option value rel could not be found
    • removeByCDORI_CDOVRI_CII

      CPInstanceOptionValueRel removeByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId) throws NoSuchCPInstanceOptionValueRelException
      Removes the cp instance option value rel where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ? from the database.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      CPDefinitionOptionValueRelId - the cp definition option value rel ID
      CPInstanceId - the cp instance ID
      Returns:
      the cp instance option value rel that was removed
      Throws:
      NoSuchCPInstanceOptionValueRelException
    • countByCDORI_CDOVRI_CII

      int countByCDORI_CDOVRI_CII(long CPDefinitionOptionRelId, long CPDefinitionOptionValueRelId, long CPInstanceId)
      Returns the number of cp instance option value rels where CPDefinitionOptionRelId = ? and CPDefinitionOptionValueRelId = ? and CPInstanceId = ?.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      CPDefinitionOptionValueRelId - the cp definition option value rel ID
      CPInstanceId - the cp instance ID
      Returns:
      the number of matching cp instance option value rels
    • cacheResult

      void cacheResult(CPInstanceOptionValueRel cpInstanceOptionValueRel)
      Caches the cp instance option value rel in the entity cache if it is enabled.
      Parameters:
      cpInstanceOptionValueRel - the cp instance option value rel
    • cacheResult

      void cacheResult(List<CPInstanceOptionValueRel> cpInstanceOptionValueRels)
      Caches the cp instance option value rels in the entity cache if it is enabled.
      Parameters:
      cpInstanceOptionValueRels - the cp instance option value rels
    • create

      CPInstanceOptionValueRel create(long CPInstanceOptionValueRelId)
      Creates a new cp instance option value rel with the primary key. Does not add the cp instance option value rel to the database.
      Parameters:
      CPInstanceOptionValueRelId - the primary key for the new cp instance option value rel
      Returns:
      the new cp instance option value rel
    • remove

      CPInstanceOptionValueRel remove(long CPInstanceOptionValueRelId) throws NoSuchCPInstanceOptionValueRelException
      Removes the cp instance option value rel with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      CPInstanceOptionValueRelId - the primary key of the cp instance option value rel
      Returns:
      the cp instance option value rel that was removed
      Throws:
      NoSuchCPInstanceOptionValueRelException - if a cp instance option value rel with the primary key could not be found
    • updateImpl

      CPInstanceOptionValueRel updateImpl(CPInstanceOptionValueRel cpInstanceOptionValueRel)
    • findByPrimaryKey

      CPInstanceOptionValueRel findByPrimaryKey(long CPInstanceOptionValueRelId) throws NoSuchCPInstanceOptionValueRelException
      Returns the cp instance option value rel with the primary key or throws a NoSuchCPInstanceOptionValueRelException if it could not be found.
      Parameters:
      CPInstanceOptionValueRelId - the primary key of the cp instance option value rel
      Returns:
      the cp instance option value rel
      Throws:
      NoSuchCPInstanceOptionValueRelException - if a cp instance option value rel with the primary key could not be found
    • fetchByPrimaryKey

      CPInstanceOptionValueRel fetchByPrimaryKey(long CPInstanceOptionValueRelId)
      Returns the cp instance option value rel with the primary key or returns null if it could not be found.
      Parameters:
      CPInstanceOptionValueRelId - the primary key of the cp instance option value rel
      Returns:
      the cp instance option value rel, or null if a cp instance option value rel with the primary key could not be found
    • findAll

      Returns all the cp instance option value rels.
      Returns:
      the cp instance option value rels
    • findAll

      List<CPInstanceOptionValueRel> findAll(int start, int end)
      Returns a range of all the cp instance option value rels.

      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 CPInstanceOptionValueRelModelImpl.

      Parameters:
      start - the lower bound of the range of cp instance option value rels
      end - the upper bound of the range of cp instance option value rels (not inclusive)
      Returns:
      the range of cp instance option value rels
    • findAll

      List<CPInstanceOptionValueRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator)
      Returns an ordered range of all the cp instance option value rels.

      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 CPInstanceOptionValueRelModelImpl.

      Parameters:
      start - the lower bound of the range of cp instance option value rels
      end - the upper bound of the range of cp instance option value rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of cp instance option value rels
    • findAll

      List<CPInstanceOptionValueRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceOptionValueRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp instance option value rels.

      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 CPInstanceOptionValueRelModelImpl.

      Parameters:
      start - the lower bound of the range of cp instance option value rels
      end - the upper bound of the range of cp instance option value rels (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 instance option value rels
    • removeAll

      void removeAll()
      Removes all the cp instance option value rels from the database.
    • countAll

      int countAll()
      Returns the number of cp instance option value rels.
      Returns:
      the number of cp instance option value rels