Class CPDefinitionSpecificationOptionValueUtil

java.lang.Object
com.liferay.commerce.product.service.persistence.CPDefinitionSpecificationOptionValueUtil

public class CPDefinitionSpecificationOptionValueUtil extends Object
The persistence utility for the cp definition specification option value service. This utility wraps com.liferay.commerce.product.service.persistence.impl.CPDefinitionSpecificationOptionValuePersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Details

    • CPDefinitionSpecificationOptionValueUtil

      public CPDefinitionSpecificationOptionValueUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,CPDefinitionSpecificationOptionValue> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<CPDefinitionSpecificationOptionValue> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<CPDefinitionSpecificationOptionValue> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<CPDefinitionSpecificationOptionValue> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionSpecificationOptionValue> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static CPDefinitionSpecificationOptionValue update(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static CPDefinitionSpecificationOptionValue update(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • fetchByUuid_First

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • fetchByUuid_Last

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • removeByUuid

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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • fetchByUUID_G

      public static 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

      public static 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

      public static CPDefinitionSpecificationOptionValue removeByUUID_G(String uuid, long groupId) throws NoSuchCPDefinitionSpecificationOptionValueException
      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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • fetchByUuid_C_First

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • fetchByUuid_C_Last

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • removeByUuid_C

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • fetchByGroupId_First

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • fetchByGroupId_Last

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • removeByGroupId

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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • fetchByCPDefinitionId_First

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • fetchByCPDefinitionId_Last

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • removeByCPDefinitionId

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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • fetchByCPSpecificationOptionId_First

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • fetchByCPSpecificationOptionId_Last

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • removeByCPSpecificationOptionId

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • fetchByCPOptionCategoryId_First

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • fetchByCPOptionCategoryId_Last

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • removeByCPOptionCategoryId

      public static 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

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • fetchByC_CSOVI

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • fetchByC_CSO_First

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • fetchByC_CSO_Last

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • removeByC_CSO

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • fetchByC_COC_First

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • fetchByC_COC_Last

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • removeByC_COC

      public static 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

      public static 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

      public static CPDefinitionSpecificationOptionValue findByC_K(long CPDefinitionId, String key) throws NoSuchCPDefinitionSpecificationOptionValueException
      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
      NoSuchCPDefinitionSpecificationOptionValueException
    • fetchByC_K

      public static 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

      public static 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

      public static CPDefinitionSpecificationOptionValue removeByC_K(long CPDefinitionId, String key) throws NoSuchCPDefinitionSpecificationOptionValueException
      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

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • fetchByERC_C

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • updateImpl

      public static CPDefinitionSpecificationOptionValue updateImpl(CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue)
    • findByPrimaryKey

      public static 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
      NoSuchCPDefinitionSpecificationOptionValueException
    • fetchByPrimaryKey

      public static 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

      public static List<CPDefinitionSpecificationOptionValue> findAll()
      Returns all the cp definition specification option values.
      Returns:
      the cp definition specification option values
    • findAll

      public static 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

      public static 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

      public static 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

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

      public static int countAll()
      Returns the number of cp definition specification option values.
      Returns:
      the number of cp definition specification option values
    • getPersistence

      public static CPDefinitionSpecificationOptionValuePersistence getPersistence()
    • setPersistence

      public static void setPersistence(CPDefinitionSpecificationOptionValuePersistence persistence)