Interface CPDefinitionOptionValueRelPersistence

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

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

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

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

      List<CPDefinitionOptionValueRel> findByUuid(String uuid, int start, int end)
      Returns a range of all the cp definition 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 CPDefinitionOptionValueRelModelImpl.

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

      List<CPDefinitionOptionValueRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
      Returns an ordered range of all the cp definition 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 CPDefinitionOptionValueRelModelImpl.

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

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

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

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

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

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

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

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

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

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

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

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

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

      Removes the cp definition option value rel where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the cp definition option value rel that was removed
      Throws:
      NoSuchCPDefinitionOptionValueRelException
    • countByUUID_G

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

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

      List<CPDefinitionOptionValueRel> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the cp definition 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 CPDefinitionOptionValueRelModelImpl.

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

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

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

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

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

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

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

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

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

      CPDefinitionOptionValueRel[] findByUuid_C_PrevAndNext(long CPDefinitionOptionValueRelId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
      Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      CPDefinitionOptionValueRelId - the primary key of the current cp definition 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 definition option value rel
      Throws:
      NoSuchCPDefinitionOptionValueRelException - if a cp definition option value rel with the primary key could not be found
    • removeByUuid_C

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

      List<CPDefinitionOptionValueRel> findByGroupId(long groupId)
      Returns all the cp definition option value rels where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching cp definition option value rels
    • findByGroupId

      List<CPDefinitionOptionValueRel> findByGroupId(long groupId, int start, int end)
      Returns a range of all the cp definition option value rels where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of cp definition option value rels
      end - the upper bound of the range of cp definition option value rels (not inclusive)
      Returns:
      the range of matching cp definition option value rels
    • findByGroupId

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

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

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

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

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of cp definition option value rels
      end - the upper bound of the range of cp definition 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 definition option value rels
    • findByGroupId_First

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

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

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

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

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

      void removeByGroupId(long groupId)
      Removes all the cp definition option value rels where groupId = ? from the database.
      Parameters:
      groupId - the group ID
    • countByGroupId

      int countByGroupId(long groupId)
      Returns the number of cp definition option value rels where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching cp definition option value rels
    • findByCompanyId

      List<CPDefinitionOptionValueRel> findByCompanyId(long companyId)
      Returns all the cp definition option value rels where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching cp definition option value rels
    • findByCompanyId

      List<CPDefinitionOptionValueRel> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the cp definition option value rels where 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 CPDefinitionOptionValueRelModelImpl.

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

      List<CPDefinitionOptionValueRel> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
      Returns an ordered range of all the cp definition option value rels where 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 CPDefinitionOptionValueRelModelImpl.

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

      List<CPDefinitionOptionValueRel> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definition option value rels where 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 CPDefinitionOptionValueRelModelImpl.

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

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

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

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

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

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

      void removeByCompanyId(long companyId)
      Removes all the cp definition option value rels where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      int countByCompanyId(long companyId)
      Returns the number of cp definition option value rels where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching cp definition option value rels
    • findByCPDefinitionOptionRelId

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

      List<CPDefinitionOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end)
      Returns a range of all the cp definition 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 CPDefinitionOptionValueRelModelImpl.

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

      List<CPDefinitionOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
      Returns an ordered range of all the cp definition 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 CPDefinitionOptionValueRelModelImpl.

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

      List<CPDefinitionOptionValueRel> findByCPDefinitionOptionRelId(long CPDefinitionOptionRelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definition 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 CPDefinitionOptionValueRelModelImpl.

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

      CPDefinitionOptionValueRel findByCPDefinitionOptionRelId_First(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
      Returns the first cp definition 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 definition option value rel
      Throws:
      NoSuchCPDefinitionOptionValueRelException - if a matching cp definition option value rel could not be found
    • fetchByCPDefinitionOptionRelId_First

      CPDefinitionOptionValueRel fetchByCPDefinitionOptionRelId_First(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
      Returns the first cp definition 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 definition option value rel, or null if a matching cp definition option value rel could not be found
    • findByCPDefinitionOptionRelId_Last

      CPDefinitionOptionValueRel findByCPDefinitionOptionRelId_Last(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
      Returns the last cp definition 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 definition option value rel
      Throws:
      NoSuchCPDefinitionOptionValueRelException - if a matching cp definition option value rel could not be found
    • fetchByCPDefinitionOptionRelId_Last

      CPDefinitionOptionValueRel fetchByCPDefinitionOptionRelId_Last(long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
      Returns the last cp definition 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 definition option value rel, or null if a matching cp definition option value rel could not be found
    • findByCPDefinitionOptionRelId_PrevAndNext

      CPDefinitionOptionValueRel[] findByCPDefinitionOptionRelId_PrevAndNext(long CPDefinitionOptionValueRelId, long CPDefinitionOptionRelId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
      Returns the cp definition option value rels before and after the current cp definition option value rel in the ordered set where CPDefinitionOptionRelId = ?.
      Parameters:
      CPDefinitionOptionValueRelId - the primary key of the current cp definition 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 definition option value rel
      Throws:
      NoSuchCPDefinitionOptionValueRelException - if a cp definition option value rel with the primary key could not be found
    • removeByCPDefinitionOptionRelId

      void removeByCPDefinitionOptionRelId(long CPDefinitionOptionRelId)
      Removes all the cp definition 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 definition option value rels where CPDefinitionOptionRelId = ?.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      Returns:
      the number of matching cp definition option value rels
    • findByCPInstanceUuid

      List<CPDefinitionOptionValueRel> findByCPInstanceUuid(String CPInstanceUuid)
      Returns all the cp definition option value rels where CPInstanceUuid = ?.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      Returns:
      the matching cp definition option value rels
    • findByCPInstanceUuid

      List<CPDefinitionOptionValueRel> findByCPInstanceUuid(String CPInstanceUuid, int start, int end)
      Returns a range of all the cp definition option value rels where CPInstanceUuid = ?.

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

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

      List<CPDefinitionOptionValueRel> findByCPInstanceUuid(String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
      Returns an ordered range of all the cp definition option value rels where CPInstanceUuid = ?.

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

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

      List<CPDefinitionOptionValueRel> findByCPInstanceUuid(String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definition option value rels where CPInstanceUuid = ?.

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

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

      CPDefinitionOptionValueRel findByCPInstanceUuid_First(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
      Returns the first cp definition option value rel in the ordered set where CPInstanceUuid = ?.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition option value rel
      Throws:
      NoSuchCPDefinitionOptionValueRelException - if a matching cp definition option value rel could not be found
    • fetchByCPInstanceUuid_First

      CPDefinitionOptionValueRel fetchByCPInstanceUuid_First(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
      Returns the first cp definition option value rel in the ordered set where CPInstanceUuid = ?.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition option value rel, or null if a matching cp definition option value rel could not be found
    • findByCPInstanceUuid_Last

      CPDefinitionOptionValueRel findByCPInstanceUuid_Last(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
      Returns the last cp definition option value rel in the ordered set where CPInstanceUuid = ?.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition option value rel
      Throws:
      NoSuchCPDefinitionOptionValueRelException - if a matching cp definition option value rel could not be found
    • fetchByCPInstanceUuid_Last

      CPDefinitionOptionValueRel fetchByCPInstanceUuid_Last(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
      Returns the last cp definition option value rel in the ordered set where CPInstanceUuid = ?.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition option value rel, or null if a matching cp definition option value rel could not be found
    • findByCPInstanceUuid_PrevAndNext

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

      void removeByCPInstanceUuid(String CPInstanceUuid)
      Removes all the cp definition option value rels where CPInstanceUuid = ? from the database.
      Parameters:
      CPInstanceUuid - the cp instance uuid
    • countByCPInstanceUuid

      int countByCPInstanceUuid(String CPInstanceUuid)
      Returns the number of cp definition option value rels where CPInstanceUuid = ?.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      Returns:
      the number of matching cp definition option value rels
    • findByKey

      Returns all the cp definition option value rels where key = ?.
      Parameters:
      key - the key
      Returns:
      the matching cp definition option value rels
    • findByKey

      List<CPDefinitionOptionValueRel> findByKey(String key, int start, int end)
      Returns a range of all the cp definition option value rels where key = ?.

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

      Parameters:
      key - the key
      start - the lower bound of the range of cp definition option value rels
      end - the upper bound of the range of cp definition option value rels (not inclusive)
      Returns:
      the range of matching cp definition option value rels
    • findByKey

      List<CPDefinitionOptionValueRel> findByKey(String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
      Returns an ordered range of all the cp definition option value rels where key = ?.

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

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

      List<CPDefinitionOptionValueRel> findByKey(String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definition option value rels where key = ?.

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

      Parameters:
      key - the key
      start - the lower bound of the range of cp definition option value rels
      end - the upper bound of the range of cp definition 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 definition option value rels
    • findByKey_First

      CPDefinitionOptionValueRel findByKey_First(String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
      Returns the first cp definition option value rel in the ordered set where key = ?.
      Parameters:
      key - the key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition option value rel
      Throws:
      NoSuchCPDefinitionOptionValueRelException - if a matching cp definition option value rel could not be found
    • fetchByKey_First

      CPDefinitionOptionValueRel fetchByKey_First(String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
      Returns the first cp definition option value rel in the ordered set where key = ?.
      Parameters:
      key - the key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition option value rel, or null if a matching cp definition option value rel could not be found
    • findByKey_Last

      CPDefinitionOptionValueRel findByKey_Last(String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator) throws NoSuchCPDefinitionOptionValueRelException
      Returns the last cp definition option value rel in the ordered set where key = ?.
      Parameters:
      key - the key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition option value rel
      Throws:
      NoSuchCPDefinitionOptionValueRelException - if a matching cp definition option value rel could not be found
    • fetchByKey_Last

      CPDefinitionOptionValueRel fetchByKey_Last(String key, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
      Returns the last cp definition option value rel in the ordered set where key = ?.
      Parameters:
      key - the key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition option value rel, or null if a matching cp definition option value rel could not be found
    • findByKey_PrevAndNext

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

      void removeByKey(String key)
      Removes all the cp definition option value rels where key = ? from the database.
      Parameters:
      key - the key
    • countByKey

      int countByKey(String key)
      Returns the number of cp definition option value rels where key = ?.
      Parameters:
      key - the key
      Returns:
      the number of matching cp definition option value rels
    • findByC_K

      CPDefinitionOptionValueRel findByC_K(long CPDefinitionOptionRelId, String key) throws NoSuchCPDefinitionOptionValueRelException
      Returns the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? or throws a NoSuchCPDefinitionOptionValueRelException if it could not be found.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      key - the key
      Returns:
      the matching cp definition option value rel
      Throws:
      NoSuchCPDefinitionOptionValueRelException - if a matching cp definition option value rel could not be found
    • fetchByC_K

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

      CPDefinitionOptionValueRel fetchByC_K(long CPDefinitionOptionRelId, String key, boolean useFinderCache)
      Returns the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      key - the key
      useFinderCache - whether to use the finder cache
      Returns:
      the matching cp definition option value rel, or null if a matching cp definition option value rel could not be found
    • removeByC_K

      CPDefinitionOptionValueRel removeByC_K(long CPDefinitionOptionRelId, String key) throws NoSuchCPDefinitionOptionValueRelException
      Removes the cp definition option value rel where CPDefinitionOptionRelId = ? and key = ? from the database.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      key - the key
      Returns:
      the cp definition option value rel that was removed
      Throws:
      NoSuchCPDefinitionOptionValueRelException
    • countByC_K

      int countByC_K(long CPDefinitionOptionRelId, String key)
      Returns the number of cp definition option value rels where CPDefinitionOptionRelId = ? and key = ?.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      key - the key
      Returns:
      the number of matching cp definition option value rels
    • findByCDORI_P

      List<CPDefinitionOptionValueRel> findByCDORI_P(long CPDefinitionOptionRelId, boolean preselected)
      Returns all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      preselected - the preselected
      Returns:
      the matching cp definition option value rels
    • findByCDORI_P

      List<CPDefinitionOptionValueRel> findByCDORI_P(long CPDefinitionOptionRelId, boolean preselected, int start, int end)
      Returns a range of all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.

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

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

      List<CPDefinitionOptionValueRel> findByCDORI_P(long CPDefinitionOptionRelId, boolean preselected, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
      Returns an ordered range of all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ?.

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

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

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

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

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

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

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

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

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

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

      void removeByCDORI_P(long CPDefinitionOptionRelId, boolean preselected)
      Removes all the cp definition option value rels where CPDefinitionOptionRelId = ? and preselected = ? from the database.
      Parameters:
      CPDefinitionOptionRelId - the cp definition option rel ID
      preselected - the preselected
    • countByCDORI_P

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

      void cacheResult(CPDefinitionOptionValueRel cpDefinitionOptionValueRel)
      Caches the cp definition option value rel in the entity cache if it is enabled.
      Parameters:
      cpDefinitionOptionValueRel - the cp definition option value rel
    • cacheResult

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

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

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

      CPDefinitionOptionValueRel updateImpl(CPDefinitionOptionValueRel cpDefinitionOptionValueRel)
    • findByPrimaryKey

      CPDefinitionOptionValueRel findByPrimaryKey(long CPDefinitionOptionValueRelId) throws NoSuchCPDefinitionOptionValueRelException
      Returns the cp definition option value rel with the primary key or throws a NoSuchCPDefinitionOptionValueRelException if it could not be found.
      Parameters:
      CPDefinitionOptionValueRelId - the primary key of the cp definition option value rel
      Returns:
      the cp definition option value rel
      Throws:
      NoSuchCPDefinitionOptionValueRelException - if a cp definition option value rel with the primary key could not be found
    • fetchByPrimaryKey

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

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

      List<CPDefinitionOptionValueRel> findAll(int start, int end)
      Returns a range of all the cp definition 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 CPDefinitionOptionValueRelModelImpl.

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

      List<CPDefinitionOptionValueRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator)
      Returns an ordered range of all the cp definition 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 CPDefinitionOptionValueRelModelImpl.

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

      List<CPDefinitionOptionValueRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionValueRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definition 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 CPDefinitionOptionValueRelModelImpl.

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

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

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