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

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.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
    • 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, 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, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.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
    • 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, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.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
    • 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, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.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
    • 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, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.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
    • 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, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.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
    • 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, 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, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.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
    • 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, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.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
    • 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, 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, 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
    • 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
    • fetchByUUID_G

      default 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
    • fetchByC_CSOVI

      default 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_K

      default 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
    • fetchByERC_C

      default 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
    • findByUuid

      default List<CPDefinitionSpecificationOptionValue> findByUuid(String uuid)
      Returns all the cp definition specification option values where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching cp definition specification option values
    • findByUuid

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.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_C

      default 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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.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
    • findByGroupId

      default 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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.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
    • findByCPDefinitionId

      default 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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.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
    • findByCPSpecificationOptionId

      default 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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.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
    • findByCPOptionCategoryId

      default 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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.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
    • findByC_CSO

      default 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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.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_COC

      default 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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.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

      default 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.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