Interface CPDefinitionSpecificationOptionValuePersistence

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

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

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

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

      List<CPDefinitionSpecificationOptionValue> findByUuid(String uuid, int start, int end)
      Returns a range of all the cp definition specification option values 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 CPDefinitionSpecificationOptionValueModelImpl.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      List<CPDefinitionSpecificationOptionValue> findByGroupId(long groupId, int start, int end)
      Returns a range of all the cp definition specification option values 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 CPDefinitionSpecificationOptionValueModelImpl.

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

      List<CPDefinitionSpecificationOptionValue> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
      Returns an ordered range of all the cp definition specification option values 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 CPDefinitionSpecificationOptionValueModelImpl.

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

      List<CPDefinitionSpecificationOptionValue> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definition specification option values 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 CPDefinitionSpecificationOptionValueModelImpl.

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

      CPDefinitionSpecificationOptionValue findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
      Returns the first cp definition specification option value 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 specification option value
      Throws:
      NoSuchCPDefinitionSpecificationOptionValueException - if a matching cp definition specification option value could not be found
    • fetchByGroupId_First

      CPDefinitionSpecificationOptionValue fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
      Returns the first cp definition specification option value 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 specification option value, or null if a matching cp definition specification option value could not be found
    • findByGroupId_Last

      CPDefinitionSpecificationOptionValue findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
      Returns the last cp definition specification option value 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 specification option value
      Throws:
      NoSuchCPDefinitionSpecificationOptionValueException - if a matching cp definition specification option value could not be found
    • fetchByGroupId_Last

      CPDefinitionSpecificationOptionValue fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
      Returns the last cp definition specification option value 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 specification option value, or null if a matching cp definition specification option value could not be found
    • findByGroupId_PrevAndNext

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

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

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

      List<CPDefinitionSpecificationOptionValue> findByCPDefinitionId(long CPDefinitionId)
      Returns all the cp definition specification option values where CPDefinitionId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      Returns:
      the matching cp definition specification option values
    • findByCPDefinitionId

      List<CPDefinitionSpecificationOptionValue> findByCPDefinitionId(long CPDefinitionId, int start, int end)
      Returns a range of all the cp definition specification option values where CPDefinitionId = ?.

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

      Parameters:
      CPDefinitionId - the cp definition ID
      start - the lower bound of the range of cp definition specification option values
      end - the upper bound of the range of cp definition specification option values (not inclusive)
      Returns:
      the range of matching cp definition specification option values
    • findByCPDefinitionId

      List<CPDefinitionSpecificationOptionValue> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
      Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ?.

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

      Parameters:
      CPDefinitionId - the cp definition ID
      start - the lower bound of the range of cp definition specification option values
      end - the upper bound of the range of cp definition specification option values (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp definition specification option values
    • findByCPDefinitionId

      List<CPDefinitionSpecificationOptionValue> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ?.

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

      Parameters:
      CPDefinitionId - the cp definition ID
      start - the lower bound of the range of cp definition specification option values
      end - the upper bound of the range of cp definition specification option values (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 specification option values
    • findByCPDefinitionId_First

      CPDefinitionSpecificationOptionValue findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
      Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition specification option value
      Throws:
      NoSuchCPDefinitionSpecificationOptionValueException - if a matching cp definition specification option value could not be found
    • fetchByCPDefinitionId_First

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

      CPDefinitionSpecificationOptionValue findByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
      Returns the last cp definition specification option value in the ordered set where CPDefinitionId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition specification option value
      Throws:
      NoSuchCPDefinitionSpecificationOptionValueException - if a matching cp definition specification option value could not be found
    • fetchByCPDefinitionId_Last

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

      CPDefinitionSpecificationOptionValue[] findByCPDefinitionId_PrevAndNext(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
      Returns the cp definition specification option values before and after the current cp definition specification option value in the ordered set where CPDefinitionId = ?.
      Parameters:
      CPDefinitionSpecificationOptionValueId - the primary key of the current cp definition specification option value
      CPDefinitionId - the cp definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition specification option value
      Throws:
      NoSuchCPDefinitionSpecificationOptionValueException - if a cp definition specification option value with the primary key could not be found
    • removeByCPDefinitionId

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

      int countByCPDefinitionId(long CPDefinitionId)
      Returns the number of cp definition specification option values where CPDefinitionId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      Returns:
      the number of matching cp definition specification option values
    • findByCPSpecificationOptionId

      List<CPDefinitionSpecificationOptionValue> findByCPSpecificationOptionId(long CPSpecificationOptionId)
      Returns all the cp definition specification option values where CPSpecificationOptionId = ?.
      Parameters:
      CPSpecificationOptionId - the cp specification option ID
      Returns:
      the matching cp definition specification option values
    • findByCPSpecificationOptionId

      List<CPDefinitionSpecificationOptionValue> findByCPSpecificationOptionId(long CPSpecificationOptionId, int start, int end)
      Returns a range of all the cp definition specification option values where CPSpecificationOptionId = ?.

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

      Parameters:
      CPSpecificationOptionId - the cp specification option ID
      start - the lower bound of the range of cp definition specification option values
      end - the upper bound of the range of cp definition specification option values (not inclusive)
      Returns:
      the range of matching cp definition specification option values
    • findByCPSpecificationOptionId

      List<CPDefinitionSpecificationOptionValue> findByCPSpecificationOptionId(long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
      Returns an ordered range of all the cp definition specification option values where CPSpecificationOptionId = ?.

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

      Parameters:
      CPSpecificationOptionId - the cp specification option ID
      start - the lower bound of the range of cp definition specification option values
      end - the upper bound of the range of cp definition specification option values (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp definition specification option values
    • findByCPSpecificationOptionId

      List<CPDefinitionSpecificationOptionValue> findByCPSpecificationOptionId(long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definition specification option values where CPSpecificationOptionId = ?.

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

      Parameters:
      CPSpecificationOptionId - the cp specification option ID
      start - the lower bound of the range of cp definition specification option values
      end - the upper bound of the range of cp definition specification option values (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 specification option values
    • findByCPSpecificationOptionId_First

      CPDefinitionSpecificationOptionValue findByCPSpecificationOptionId_First(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
      Returns the first cp definition specification option value in the ordered set where CPSpecificationOptionId = ?.
      Parameters:
      CPSpecificationOptionId - the cp specification option ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition specification option value
      Throws:
      NoSuchCPDefinitionSpecificationOptionValueException - if a matching cp definition specification option value could not be found
    • fetchByCPSpecificationOptionId_First

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

      CPDefinitionSpecificationOptionValue findByCPSpecificationOptionId_Last(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
      Returns the last cp definition specification option value in the ordered set where CPSpecificationOptionId = ?.
      Parameters:
      CPSpecificationOptionId - the cp specification option ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition specification option value
      Throws:
      NoSuchCPDefinitionSpecificationOptionValueException - if a matching cp definition specification option value could not be found
    • fetchByCPSpecificationOptionId_Last

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

      CPDefinitionSpecificationOptionValue[] findByCPSpecificationOptionId_PrevAndNext(long CPDefinitionSpecificationOptionValueId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
      Returns the cp definition specification option values before and after the current cp definition specification option value in the ordered set where CPSpecificationOptionId = ?.
      Parameters:
      CPDefinitionSpecificationOptionValueId - the primary key of the current cp definition specification option value
      CPSpecificationOptionId - the cp specification option ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition specification option value
      Throws:
      NoSuchCPDefinitionSpecificationOptionValueException - if a cp definition specification option value with the primary key could not be found
    • removeByCPSpecificationOptionId

      void removeByCPSpecificationOptionId(long CPSpecificationOptionId)
      Removes all the cp definition specification option values where CPSpecificationOptionId = ? from the database.
      Parameters:
      CPSpecificationOptionId - the cp specification option ID
    • countByCPSpecificationOptionId

      int countByCPSpecificationOptionId(long CPSpecificationOptionId)
      Returns the number of cp definition specification option values where CPSpecificationOptionId = ?.
      Parameters:
      CPSpecificationOptionId - the cp specification option ID
      Returns:
      the number of matching cp definition specification option values
    • findByCPOptionCategoryId

      List<CPDefinitionSpecificationOptionValue> findByCPOptionCategoryId(long CPOptionCategoryId)
      Returns all the cp definition specification option values where CPOptionCategoryId = ?.
      Parameters:
      CPOptionCategoryId - the cp option category ID
      Returns:
      the matching cp definition specification option values
    • findByCPOptionCategoryId

      List<CPDefinitionSpecificationOptionValue> findByCPOptionCategoryId(long CPOptionCategoryId, int start, int end)
      Returns a range of all the cp definition specification option values where CPOptionCategoryId = ?.

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

      Parameters:
      CPOptionCategoryId - the cp option category ID
      start - the lower bound of the range of cp definition specification option values
      end - the upper bound of the range of cp definition specification option values (not inclusive)
      Returns:
      the range of matching cp definition specification option values
    • findByCPOptionCategoryId

      List<CPDefinitionSpecificationOptionValue> findByCPOptionCategoryId(long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
      Returns an ordered range of all the cp definition specification option values where CPOptionCategoryId = ?.

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

      Parameters:
      CPOptionCategoryId - the cp option category ID
      start - the lower bound of the range of cp definition specification option values
      end - the upper bound of the range of cp definition specification option values (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp definition specification option values
    • findByCPOptionCategoryId

      List<CPDefinitionSpecificationOptionValue> findByCPOptionCategoryId(long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definition specification option values where CPOptionCategoryId = ?.

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

      Parameters:
      CPOptionCategoryId - the cp option category ID
      start - the lower bound of the range of cp definition specification option values
      end - the upper bound of the range of cp definition specification option values (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 specification option values
    • findByCPOptionCategoryId_First

      CPDefinitionSpecificationOptionValue findByCPOptionCategoryId_First(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
      Returns the first cp definition specification option value in the ordered set where CPOptionCategoryId = ?.
      Parameters:
      CPOptionCategoryId - the cp option category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition specification option value
      Throws:
      NoSuchCPDefinitionSpecificationOptionValueException - if a matching cp definition specification option value could not be found
    • fetchByCPOptionCategoryId_First

      CPDefinitionSpecificationOptionValue fetchByCPOptionCategoryId_First(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
      Returns the first cp definition specification option value in the ordered set where CPOptionCategoryId = ?.
      Parameters:
      CPOptionCategoryId - the cp option category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition specification option value, or null if a matching cp definition specification option value could not be found
    • findByCPOptionCategoryId_Last

      CPDefinitionSpecificationOptionValue findByCPOptionCategoryId_Last(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
      Returns the last cp definition specification option value in the ordered set where CPOptionCategoryId = ?.
      Parameters:
      CPOptionCategoryId - the cp option category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition specification option value
      Throws:
      NoSuchCPDefinitionSpecificationOptionValueException - if a matching cp definition specification option value could not be found
    • fetchByCPOptionCategoryId_Last

      CPDefinitionSpecificationOptionValue fetchByCPOptionCategoryId_Last(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
      Returns the last cp definition specification option value in the ordered set where CPOptionCategoryId = ?.
      Parameters:
      CPOptionCategoryId - the cp option category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition specification option value, or null if a matching cp definition specification option value could not be found
    • findByCPOptionCategoryId_PrevAndNext

      CPDefinitionSpecificationOptionValue[] findByCPOptionCategoryId_PrevAndNext(long CPDefinitionSpecificationOptionValueId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
      Returns the cp definition specification option values before and after the current cp definition specification option value in the ordered set where CPOptionCategoryId = ?.
      Parameters:
      CPDefinitionSpecificationOptionValueId - the primary key of the current cp definition specification option value
      CPOptionCategoryId - the cp option category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition specification option value
      Throws:
      NoSuchCPDefinitionSpecificationOptionValueException - if a cp definition specification option value with the primary key could not be found
    • removeByCPOptionCategoryId

      void removeByCPOptionCategoryId(long CPOptionCategoryId)
      Removes all the cp definition specification option values where CPOptionCategoryId = ? from the database.
      Parameters:
      CPOptionCategoryId - the cp option category ID
    • countByCPOptionCategoryId

      int countByCPOptionCategoryId(long CPOptionCategoryId)
      Returns the number of cp definition specification option values where CPOptionCategoryId = ?.
      Parameters:
      CPOptionCategoryId - the cp option category ID
      Returns:
      the number of matching cp definition specification option values
    • findByC_CSOVI

      CPDefinitionSpecificationOptionValue findByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId) throws NoSuchCPDefinitionSpecificationOptionValueException
      Returns the cp definition specification option value where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ? or throws a NoSuchCPDefinitionSpecificationOptionValueException if it could not be found.
      Parameters:
      CPDefinitionSpecificationOptionValueId - the cp definition specification option value ID
      CPDefinitionId - the cp definition ID
      Returns:
      the matching cp definition specification option value
      Throws:
      NoSuchCPDefinitionSpecificationOptionValueException - if a matching cp definition specification option value could not be found
    • fetchByC_CSOVI

      CPDefinitionSpecificationOptionValue fetchByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId)
      Returns the cp definition specification option value where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      CPDefinitionSpecificationOptionValueId - the cp definition specification option value ID
      CPDefinitionId - the cp definition ID
      Returns:
      the matching cp definition specification option value, or null if a matching cp definition specification option value could not be found
    • fetchByC_CSOVI

      CPDefinitionSpecificationOptionValue fetchByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId, boolean useFinderCache)
      Returns the cp definition specification option value where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      CPDefinitionSpecificationOptionValueId - the cp definition specification option value ID
      CPDefinitionId - the cp definition ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching cp definition specification option value, or null if a matching cp definition specification option value could not be found
    • removeByC_CSOVI

      CPDefinitionSpecificationOptionValue removeByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId) throws NoSuchCPDefinitionSpecificationOptionValueException
      Removes the cp definition specification option value where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ? from the database.
      Parameters:
      CPDefinitionSpecificationOptionValueId - the cp definition specification option value ID
      CPDefinitionId - the cp definition ID
      Returns:
      the cp definition specification option value that was removed
      Throws:
      NoSuchCPDefinitionSpecificationOptionValueException
    • countByC_CSOVI

      int countByC_CSOVI(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId)
      Returns the number of cp definition specification option values where CPDefinitionSpecificationOptionValueId = ? and CPDefinitionId = ?.
      Parameters:
      CPDefinitionSpecificationOptionValueId - the cp definition specification option value ID
      CPDefinitionId - the cp definition ID
      Returns:
      the number of matching cp definition specification option values
    • findByC_CSO

      List<CPDefinitionSpecificationOptionValue> findByC_CSO(long CPDefinitionId, long CPSpecificationOptionId)
      Returns all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      CPSpecificationOptionId - the cp specification option ID
      Returns:
      the matching cp definition specification option values
    • findByC_CSO

      List<CPDefinitionSpecificationOptionValue> findByC_CSO(long CPDefinitionId, long CPSpecificationOptionId, int start, int end)
      Returns a range of all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.

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

      Parameters:
      CPDefinitionId - the cp definition ID
      CPSpecificationOptionId - the cp specification option ID
      start - the lower bound of the range of cp definition specification option values
      end - the upper bound of the range of cp definition specification option values (not inclusive)
      Returns:
      the range of matching cp definition specification option values
    • findByC_CSO

      List<CPDefinitionSpecificationOptionValue> findByC_CSO(long CPDefinitionId, long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
      Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.

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

      Parameters:
      CPDefinitionId - the cp definition ID
      CPSpecificationOptionId - the cp specification option ID
      start - the lower bound of the range of cp definition specification option values
      end - the upper bound of the range of cp definition specification option values (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp definition specification option values
    • findByC_CSO

      List<CPDefinitionSpecificationOptionValue> findByC_CSO(long CPDefinitionId, long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.

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

      Parameters:
      CPDefinitionId - the cp definition ID
      CPSpecificationOptionId - the cp specification option ID
      start - the lower bound of the range of cp definition specification option values
      end - the upper bound of the range of cp definition specification option values (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 specification option values
    • findByC_CSO_First

      CPDefinitionSpecificationOptionValue findByC_CSO_First(long CPDefinitionId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
      Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ? and CPSpecificationOptionId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      CPSpecificationOptionId - the cp specification option ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition specification option value
      Throws:
      NoSuchCPDefinitionSpecificationOptionValueException - if a matching cp definition specification option value could not be found
    • fetchByC_CSO_First

      CPDefinitionSpecificationOptionValue fetchByC_CSO_First(long CPDefinitionId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
      Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ? and CPSpecificationOptionId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      CPSpecificationOptionId - the cp specification option ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition specification option value, or null if a matching cp definition specification option value could not be found
    • findByC_CSO_Last

      CPDefinitionSpecificationOptionValue findByC_CSO_Last(long CPDefinitionId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
      Returns the last cp definition specification option value in the ordered set where CPDefinitionId = ? and CPSpecificationOptionId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      CPSpecificationOptionId - the cp specification option ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition specification option value
      Throws:
      NoSuchCPDefinitionSpecificationOptionValueException - if a matching cp definition specification option value could not be found
    • fetchByC_CSO_Last

      CPDefinitionSpecificationOptionValue fetchByC_CSO_Last(long CPDefinitionId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
      Returns the last cp definition specification option value in the ordered set where CPDefinitionId = ? and CPSpecificationOptionId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      CPSpecificationOptionId - the cp specification option ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition specification option value, or null if a matching cp definition specification option value could not be found
    • findByC_CSO_PrevAndNext

      CPDefinitionSpecificationOptionValue[] findByC_CSO_PrevAndNext(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
      Returns the cp definition specification option values before and after the current cp definition specification option value in the ordered set where CPDefinitionId = ? and CPSpecificationOptionId = ?.
      Parameters:
      CPDefinitionSpecificationOptionValueId - the primary key of the current cp definition specification option value
      CPDefinitionId - the cp definition ID
      CPSpecificationOptionId - the cp specification option ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition specification option value
      Throws:
      NoSuchCPDefinitionSpecificationOptionValueException - if a cp definition specification option value with the primary key could not be found
    • removeByC_CSO

      void removeByC_CSO(long CPDefinitionId, long CPSpecificationOptionId)
      Removes all the cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ? from the database.
      Parameters:
      CPDefinitionId - the cp definition ID
      CPSpecificationOptionId - the cp specification option ID
    • countByC_CSO

      int countByC_CSO(long CPDefinitionId, long CPSpecificationOptionId)
      Returns the number of cp definition specification option values where CPDefinitionId = ? and CPSpecificationOptionId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      CPSpecificationOptionId - the cp specification option ID
      Returns:
      the number of matching cp definition specification option values
    • findByC_COC

      List<CPDefinitionSpecificationOptionValue> findByC_COC(long CPDefinitionId, long CPOptionCategoryId)
      Returns all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      CPOptionCategoryId - the cp option category ID
      Returns:
      the matching cp definition specification option values
    • findByC_COC

      List<CPDefinitionSpecificationOptionValue> findByC_COC(long CPDefinitionId, long CPOptionCategoryId, int start, int end)
      Returns a range of all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.

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

      Parameters:
      CPDefinitionId - the cp definition ID
      CPOptionCategoryId - the cp option category ID
      start - the lower bound of the range of cp definition specification option values
      end - the upper bound of the range of cp definition specification option values (not inclusive)
      Returns:
      the range of matching cp definition specification option values
    • findByC_COC

      List<CPDefinitionSpecificationOptionValue> findByC_COC(long CPDefinitionId, long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
      Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.

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

      Parameters:
      CPDefinitionId - the cp definition ID
      CPOptionCategoryId - the cp option category ID
      start - the lower bound of the range of cp definition specification option values
      end - the upper bound of the range of cp definition specification option values (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp definition specification option values
    • findByC_COC

      List<CPDefinitionSpecificationOptionValue> findByC_COC(long CPDefinitionId, long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.

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

      Parameters:
      CPDefinitionId - the cp definition ID
      CPOptionCategoryId - the cp option category ID
      start - the lower bound of the range of cp definition specification option values
      end - the upper bound of the range of cp definition specification option values (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 specification option values
    • findByC_COC_First

      CPDefinitionSpecificationOptionValue findByC_COC_First(long CPDefinitionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
      Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ? and CPOptionCategoryId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      CPOptionCategoryId - the cp option category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition specification option value
      Throws:
      NoSuchCPDefinitionSpecificationOptionValueException - if a matching cp definition specification option value could not be found
    • fetchByC_COC_First

      CPDefinitionSpecificationOptionValue fetchByC_COC_First(long CPDefinitionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
      Returns the first cp definition specification option value in the ordered set where CPDefinitionId = ? and CPOptionCategoryId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      CPOptionCategoryId - the cp option category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition specification option value, or null if a matching cp definition specification option value could not be found
    • findByC_COC_Last

      CPDefinitionSpecificationOptionValue findByC_COC_Last(long CPDefinitionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
      Returns the last cp definition specification option value in the ordered set where CPDefinitionId = ? and CPOptionCategoryId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      CPOptionCategoryId - the cp option category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition specification option value
      Throws:
      NoSuchCPDefinitionSpecificationOptionValueException - if a matching cp definition specification option value could not be found
    • fetchByC_COC_Last

      CPDefinitionSpecificationOptionValue fetchByC_COC_Last(long CPDefinitionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
      Returns the last cp definition specification option value in the ordered set where CPDefinitionId = ? and CPOptionCategoryId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      CPOptionCategoryId - the cp option category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition specification option value, or null if a matching cp definition specification option value could not be found
    • findByC_COC_PrevAndNext

      CPDefinitionSpecificationOptionValue[] findByC_COC_PrevAndNext(long CPDefinitionSpecificationOptionValueId, long CPDefinitionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator) throws NoSuchCPDefinitionSpecificationOptionValueException
      Returns the cp definition specification option values before and after the current cp definition specification option value in the ordered set where CPDefinitionId = ? and CPOptionCategoryId = ?.
      Parameters:
      CPDefinitionSpecificationOptionValueId - the primary key of the current cp definition specification option value
      CPDefinitionId - the cp definition ID
      CPOptionCategoryId - the cp option category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition specification option value
      Throws:
      NoSuchCPDefinitionSpecificationOptionValueException - if a cp definition specification option value with the primary key could not be found
    • removeByC_COC

      void removeByC_COC(long CPDefinitionId, long CPOptionCategoryId)
      Removes all the cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ? from the database.
      Parameters:
      CPDefinitionId - the cp definition ID
      CPOptionCategoryId - the cp option category ID
    • countByC_COC

      int countByC_COC(long CPDefinitionId, long CPOptionCategoryId)
      Returns the number of cp definition specification option values where CPDefinitionId = ? and CPOptionCategoryId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      CPOptionCategoryId - the cp option category ID
      Returns:
      the number of matching cp definition specification option values
    • findByC_K

      Returns the cp definition specification option value where CPDefinitionId = ? and key = ? or throws a NoSuchCPDefinitionSpecificationOptionValueException if it could not be found.
      Parameters:
      CPDefinitionId - the cp definition ID
      key - the key
      Returns:
      the matching cp definition specification option value
      Throws:
      NoSuchCPDefinitionSpecificationOptionValueException - if a matching cp definition specification option value could not be found
    • fetchByC_K

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

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

      Removes the cp definition specification option value where CPDefinitionId = ? and key = ? from the database.
      Parameters:
      CPDefinitionId - the cp definition ID
      key - the key
      Returns:
      the cp definition specification option value that was removed
      Throws:
      NoSuchCPDefinitionSpecificationOptionValueException
    • countByC_K

      int countByC_K(long CPDefinitionId, String key)
      Returns the number of cp definition specification option values where CPDefinitionId = ? and key = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      key - the key
      Returns:
      the number of matching cp definition specification option values
    • findByERC_C

      CPDefinitionSpecificationOptionValue findByERC_C(String externalReferenceCode, long companyId) throws NoSuchCPDefinitionSpecificationOptionValueException
      Returns the cp definition specification option value where externalReferenceCode = ? and companyId = ? or throws a NoSuchCPDefinitionSpecificationOptionValueException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching cp definition specification option value
      Throws:
      NoSuchCPDefinitionSpecificationOptionValueException - if a matching cp definition specification option value could not be found
    • fetchByERC_C

      CPDefinitionSpecificationOptionValue fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the cp definition specification option value where externalReferenceCode = ? and companyId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching cp definition specification option value, or null if a matching cp definition specification option value could not be found
    • fetchByERC_C

      CPDefinitionSpecificationOptionValue fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the cp definition specification option value where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching cp definition specification option value, or null if a matching cp definition specification option value could not be found
    • removeByERC_C

      CPDefinitionSpecificationOptionValue removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchCPDefinitionSpecificationOptionValueException
      Removes the cp definition specification option value where externalReferenceCode = ? and companyId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the cp definition specification option value that was removed
      Throws:
      NoSuchCPDefinitionSpecificationOptionValueException
    • countByERC_C

      int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of cp definition specification option values where externalReferenceCode = ? and companyId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the number of matching cp definition specification option values
    • cacheResult

      void cacheResult(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue)
      Caches the cp definition specification option value in the entity cache if it is enabled.
      Parameters:
      cpDefinitionSpecificationOptionValue - the cp definition specification option value
    • cacheResult

      void cacheResult(List<CPDefinitionSpecificationOptionValue> cpDefinitionSpecificationOptionValues)
      Caches the cp definition specification option values in the entity cache if it is enabled.
      Parameters:
      cpDefinitionSpecificationOptionValues - the cp definition specification option values
    • create

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

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

      CPDefinitionSpecificationOptionValue updateImpl(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue)
    • findByPrimaryKey

      CPDefinitionSpecificationOptionValue findByPrimaryKey(long CPDefinitionSpecificationOptionValueId) throws NoSuchCPDefinitionSpecificationOptionValueException
      Returns the cp definition specification option value with the primary key or throws a NoSuchCPDefinitionSpecificationOptionValueException if it could not be found.
      Parameters:
      CPDefinitionSpecificationOptionValueId - the primary key of the cp definition specification option value
      Returns:
      the cp definition specification option value
      Throws:
      NoSuchCPDefinitionSpecificationOptionValueException - if a cp definition specification option value with the primary key could not be found
    • fetchByPrimaryKey

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

      Returns all the cp definition specification option values.
      Returns:
      the cp definition specification option values
    • findAll

      List<CPDefinitionSpecificationOptionValue> findAll(int start, int end)
      Returns a range of all the cp definition specification option values.

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

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

      List<CPDefinitionSpecificationOptionValue> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
      Returns an ordered range of all the cp definition specification option values.

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

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

      List<CPDefinitionSpecificationOptionValue> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definition specification option values.

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

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

      void removeAll()
      Removes all the cp definition specification option values from the database.
    • countAll

      int countAll()
      Returns the number of cp definition specification option values.
      Returns:
      the number of cp definition specification option values