Class CPSpecificationOptionUtil

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

public class CPSpecificationOptionUtil extends Object
The persistence utility for the cp specification option service. This utility wraps com.liferay.commerce.product.service.persistence.impl.CPSpecificationOptionPersistenceImpl 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

    • CPSpecificationOptionUtil

      public CPSpecificationOptionUtil()
  • Method Details

    • clearCache

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

      public static void clearCache(CPSpecificationOption cpSpecificationOption)
      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,CPSpecificationOption> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

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

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

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

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

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

      public static List<CPSpecificationOption> findByUuid(String uuid)
      Returns all the cp specification options where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching cp specification options
    • findByUuid

      public static List<CPSpecificationOption> findByUuid(String uuid, int start, int end)
      Returns a range of all the cp specification options 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 CPSpecificationOptionModelImpl.

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

      public static List<CPSpecificationOption> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
      Returns an ordered range of all the cp specification options 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 CPSpecificationOptionModelImpl.

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

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

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

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

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

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

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

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

      public static List<CPSpecificationOption> filterFindByUuid(String uuid)
      Returns all the cp specification options that the user has permission to view where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching cp specification options that the user has permission to view
    • filterFindByUuid

      public static List<CPSpecificationOption> filterFindByUuid(String uuid, int start, int end)
      Returns a range of all the cp specification options that the user has permission to view 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 CPSpecificationOptionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of cp specification options
      end - the upper bound of the range of cp specification options (not inclusive)
      Returns:
      the range of matching cp specification options that the user has permission to view
    • filterFindByUuid

      public static List<CPSpecificationOption> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
      Returns an ordered range of all the cp specification options that the user has permissions to view 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 CPSpecificationOptionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of cp specification options
      end - the upper bound of the range of cp specification options (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp specification options that the user has permission to view
    • filterFindByUuid_PrevAndNext

      public static CPSpecificationOption[] filterFindByUuid_PrevAndNext(long CPSpecificationOptionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
      Returns the cp specification options before and after the current cp specification option in the ordered set of cp specification options that the user has permission to view where uuid = ?.
      Parameters:
      CPSpecificationOptionId - the primary key of the current cp specification option
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp specification option
      Throws:
      NoSuchCPSpecificationOptionException - if a cp specification option with the primary key could not be found
      NoSuchCPSpecificationOptionException
    • removeByUuid

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

      public static int countByUuid(String uuid)
      Returns the number of cp specification options where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching cp specification options
    • filterCountByUuid

      public static int filterCountByUuid(String uuid)
      Returns the number of cp specification options that the user has permission to view where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching cp specification options that the user has permission to view
    • findByUuid_C

      public static List<CPSpecificationOption> findByUuid_C(String uuid, long companyId)
      Returns all the cp specification options where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching cp specification options
    • findByUuid_C

      public static List<CPSpecificationOption> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the cp specification options 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 CPSpecificationOptionModelImpl.

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

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

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

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

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

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

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

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

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

      public static CPSpecificationOption[] findByUuid_C_PrevAndNext(long CPSpecificationOptionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
      Returns the cp specification options before and after the current cp specification option in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      CPSpecificationOptionId - the primary key of the current cp specification option
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp specification option
      Throws:
      NoSuchCPSpecificationOptionException - if a cp specification option with the primary key could not be found
      NoSuchCPSpecificationOptionException
    • filterFindByUuid_C

      public static List<CPSpecificationOption> filterFindByUuid_C(String uuid, long companyId)
      Returns all the cp specification options that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching cp specification options that the user has permission to view
    • filterFindByUuid_C

      public static List<CPSpecificationOption> filterFindByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the cp specification options that the user has permission to view 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 CPSpecificationOptionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of cp specification options
      end - the upper bound of the range of cp specification options (not inclusive)
      Returns:
      the range of matching cp specification options that the user has permission to view
    • filterFindByUuid_C

      public static List<CPSpecificationOption> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
      Returns an ordered range of all the cp specification options that the user has permissions to view 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 CPSpecificationOptionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of cp specification options
      end - the upper bound of the range of cp specification options (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp specification options that the user has permission to view
    • filterFindByUuid_C_PrevAndNext

      public static CPSpecificationOption[] filterFindByUuid_C_PrevAndNext(long CPSpecificationOptionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
      Returns the cp specification options before and after the current cp specification option in the ordered set of cp specification options that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      CPSpecificationOptionId - the primary key of the current cp specification option
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp specification option
      Throws:
      NoSuchCPSpecificationOptionException - if a cp specification option with the primary key could not be found
      NoSuchCPSpecificationOptionException
    • removeByUuid_C

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

      public static int filterCountByUuid_C(String uuid, long companyId)
      Returns the number of cp specification options that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching cp specification options that the user has permission to view
    • findByCompanyId

      public static List<CPSpecificationOption> findByCompanyId(long companyId)
      Returns all the cp specification options where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching cp specification options
    • findByCompanyId

      public static List<CPSpecificationOption> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the cp specification options where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of cp specification options
      end - the upper bound of the range of cp specification options (not inclusive)
      Returns:
      the range of matching cp specification options
    • findByCompanyId

      public static List<CPSpecificationOption> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
      Returns an ordered range of all the cp specification options where companyId = ?.

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

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

      public static List<CPSpecificationOption> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp specification options where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of cp specification options
      end - the upper bound of the range of cp specification options (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 specification options
    • findByCompanyId_First

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

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

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

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

      public static CPSpecificationOption[] findByCompanyId_PrevAndNext(long CPSpecificationOptionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
      Returns the cp specification options before and after the current cp specification option in the ordered set where companyId = ?.
      Parameters:
      CPSpecificationOptionId - the primary key of the current cp specification option
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp specification option
      Throws:
      NoSuchCPSpecificationOptionException - if a cp specification option with the primary key could not be found
      NoSuchCPSpecificationOptionException
    • filterFindByCompanyId

      public static List<CPSpecificationOption> filterFindByCompanyId(long companyId)
      Returns all the cp specification options that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching cp specification options that the user has permission to view
    • filterFindByCompanyId

      public static List<CPSpecificationOption> filterFindByCompanyId(long companyId, int start, int end)
      Returns a range of all the cp specification options that the user has permission to view where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of cp specification options
      end - the upper bound of the range of cp specification options (not inclusive)
      Returns:
      the range of matching cp specification options that the user has permission to view
    • filterFindByCompanyId

      public static List<CPSpecificationOption> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
      Returns an ordered range of all the cp specification options that the user has permissions to view where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of cp specification options
      end - the upper bound of the range of cp specification options (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp specification options that the user has permission to view
    • filterFindByCompanyId_PrevAndNext

      public static CPSpecificationOption[] filterFindByCompanyId_PrevAndNext(long CPSpecificationOptionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
      Returns the cp specification options before and after the current cp specification option in the ordered set of cp specification options that the user has permission to view where companyId = ?.
      Parameters:
      CPSpecificationOptionId - the primary key of the current cp specification option
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp specification option
      Throws:
      NoSuchCPSpecificationOptionException - if a cp specification option with the primary key could not be found
      NoSuchCPSpecificationOptionException
    • removeByCompanyId

      public static void removeByCompanyId(long companyId)
      Removes all the cp specification options where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      public static int countByCompanyId(long companyId)
      Returns the number of cp specification options where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching cp specification options
    • filterCountByCompanyId

      public static int filterCountByCompanyId(long companyId)
      Returns the number of cp specification options that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching cp specification options that the user has permission to view
    • findByCPOptionCategoryId

      public static List<CPSpecificationOption> findByCPOptionCategoryId(long CPOptionCategoryId)
      Returns all the cp specification options where CPOptionCategoryId = ?.
      Parameters:
      CPOptionCategoryId - the cp option category ID
      Returns:
      the matching cp specification options
    • findByCPOptionCategoryId

      public static List<CPSpecificationOption> findByCPOptionCategoryId(long CPOptionCategoryId, int start, int end)
      Returns a range of all the cp specification options 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 CPSpecificationOptionModelImpl.

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

      public static List<CPSpecificationOption> findByCPOptionCategoryId(long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
      Returns an ordered range of all the cp specification options 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 CPSpecificationOptionModelImpl.

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

      public static List<CPSpecificationOption> findByCPOptionCategoryId(long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp specification options 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 CPSpecificationOptionModelImpl.

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

      public static CPSpecificationOption findByCPOptionCategoryId_First(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
      Returns the first cp specification option 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 specification option
      Throws:
      NoSuchCPSpecificationOptionException - if a matching cp specification option could not be found
      NoSuchCPSpecificationOptionException
    • fetchByCPOptionCategoryId_First

      public static CPSpecificationOption fetchByCPOptionCategoryId_First(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
      Returns the first cp specification option 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 specification option, or null if a matching cp specification option could not be found
    • findByCPOptionCategoryId_Last

      public static CPSpecificationOption findByCPOptionCategoryId_Last(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
      Returns the last cp specification option 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 specification option
      Throws:
      NoSuchCPSpecificationOptionException - if a matching cp specification option could not be found
      NoSuchCPSpecificationOptionException
    • fetchByCPOptionCategoryId_Last

      public static CPSpecificationOption fetchByCPOptionCategoryId_Last(long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
      Returns the last cp specification option 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 specification option, or null if a matching cp specification option could not be found
    • findByCPOptionCategoryId_PrevAndNext

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

      public static List<CPSpecificationOption> filterFindByCPOptionCategoryId(long CPOptionCategoryId)
      Returns all the cp specification options that the user has permission to view where CPOptionCategoryId = ?.
      Parameters:
      CPOptionCategoryId - the cp option category ID
      Returns:
      the matching cp specification options that the user has permission to view
    • filterFindByCPOptionCategoryId

      public static List<CPSpecificationOption> filterFindByCPOptionCategoryId(long CPOptionCategoryId, int start, int end)
      Returns a range of all the cp specification options that the user has permission to view 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 CPSpecificationOptionModelImpl.

      Parameters:
      CPOptionCategoryId - the cp option category ID
      start - the lower bound of the range of cp specification options
      end - the upper bound of the range of cp specification options (not inclusive)
      Returns:
      the range of matching cp specification options that the user has permission to view
    • filterFindByCPOptionCategoryId

      public static List<CPSpecificationOption> filterFindByCPOptionCategoryId(long CPOptionCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
      Returns an ordered range of all the cp specification options that the user has permissions to view 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 CPSpecificationOptionModelImpl.

      Parameters:
      CPOptionCategoryId - the cp option category ID
      start - the lower bound of the range of cp specification options
      end - the upper bound of the range of cp specification options (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp specification options that the user has permission to view
    • filterFindByCPOptionCategoryId_PrevAndNext

      public static CPSpecificationOption[] filterFindByCPOptionCategoryId_PrevAndNext(long CPSpecificationOptionId, long CPOptionCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator) throws NoSuchCPSpecificationOptionException
      Returns the cp specification options before and after the current cp specification option in the ordered set of cp specification options that the user has permission to view where CPOptionCategoryId = ?.
      Parameters:
      CPSpecificationOptionId - the primary key of the current cp specification option
      CPOptionCategoryId - the cp option category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp specification option
      Throws:
      NoSuchCPSpecificationOptionException - if a cp specification option with the primary key could not be found
      NoSuchCPSpecificationOptionException
    • removeByCPOptionCategoryId

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

      public static int countByCPOptionCategoryId(long CPOptionCategoryId)
      Returns the number of cp specification options where CPOptionCategoryId = ?.
      Parameters:
      CPOptionCategoryId - the cp option category ID
      Returns:
      the number of matching cp specification options
    • filterCountByCPOptionCategoryId

      public static int filterCountByCPOptionCategoryId(long CPOptionCategoryId)
      Returns the number of cp specification options that the user has permission to view where CPOptionCategoryId = ?.
      Parameters:
      CPOptionCategoryId - the cp option category ID
      Returns:
      the number of matching cp specification options that the user has permission to view
    • findByC_K

      public static CPSpecificationOption findByC_K(long companyId, String key) throws NoSuchCPSpecificationOptionException
      Returns the cp specification option where companyId = ? and key = ? or throws a NoSuchCPSpecificationOptionException if it could not be found.
      Parameters:
      companyId - the company ID
      key - the key
      Returns:
      the matching cp specification option
      Throws:
      NoSuchCPSpecificationOptionException - if a matching cp specification option could not be found
      NoSuchCPSpecificationOptionException
    • fetchByC_K

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

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

      public static CPSpecificationOption removeByC_K(long companyId, String key) throws NoSuchCPSpecificationOptionException
      Removes the cp specification option where companyId = ? and key = ? from the database.
      Parameters:
      companyId - the company ID
      key - the key
      Returns:
      the cp specification option that was removed
      Throws:
      NoSuchCPSpecificationOptionException
    • countByC_K

      public static int countByC_K(long companyId, String key)
      Returns the number of cp specification options where companyId = ? and key = ?.
      Parameters:
      companyId - the company ID
      key - the key
      Returns:
      the number of matching cp specification options
    • findByERC_C

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

      public static CPSpecificationOption fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the cp specification option 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 specification option, or null if a matching cp specification option could not be found
    • fetchByERC_C

      public static CPSpecificationOption fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the cp specification option 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 specification option, or null if a matching cp specification option could not be found
    • removeByERC_C

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

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

      public static void cacheResult(CPSpecificationOption cpSpecificationOption)
      Caches the cp specification option in the entity cache if it is enabled.
      Parameters:
      cpSpecificationOption - the cp specification option
    • cacheResult

      public static void cacheResult(List<CPSpecificationOption> cpSpecificationOptions)
      Caches the cp specification options in the entity cache if it is enabled.
      Parameters:
      cpSpecificationOptions - the cp specification options
    • create

      public static CPSpecificationOption create(long CPSpecificationOptionId)
      Creates a new cp specification option with the primary key. Does not add the cp specification option to the database.
      Parameters:
      CPSpecificationOptionId - the primary key for the new cp specification option
      Returns:
      the new cp specification option
    • remove

      public static CPSpecificationOption remove(long CPSpecificationOptionId) throws NoSuchCPSpecificationOptionException
      Removes the cp specification option with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      CPSpecificationOptionId - the primary key of the cp specification option
      Returns:
      the cp specification option that was removed
      Throws:
      NoSuchCPSpecificationOptionException - if a cp specification option with the primary key could not be found
      NoSuchCPSpecificationOptionException
    • updateImpl

      public static CPSpecificationOption updateImpl(CPSpecificationOption cpSpecificationOption)
    • findByPrimaryKey

      public static CPSpecificationOption findByPrimaryKey(long CPSpecificationOptionId) throws NoSuchCPSpecificationOptionException
      Returns the cp specification option with the primary key or throws a NoSuchCPSpecificationOptionException if it could not be found.
      Parameters:
      CPSpecificationOptionId - the primary key of the cp specification option
      Returns:
      the cp specification option
      Throws:
      NoSuchCPSpecificationOptionException - if a cp specification option with the primary key could not be found
      NoSuchCPSpecificationOptionException
    • fetchByPrimaryKey

      public static CPSpecificationOption fetchByPrimaryKey(long CPSpecificationOptionId)
      Returns the cp specification option with the primary key or returns null if it could not be found.
      Parameters:
      CPSpecificationOptionId - the primary key of the cp specification option
      Returns:
      the cp specification option, or null if a cp specification option with the primary key could not be found
    • findAll

      public static List<CPSpecificationOption> findAll()
      Returns all the cp specification options.
      Returns:
      the cp specification options
    • findAll

      public static List<CPSpecificationOption> findAll(int start, int end)
      Returns a range of all the cp specification options.

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

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

      public static List<CPSpecificationOption> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator)
      Returns an ordered range of all the cp specification options.

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

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

      public static List<CPSpecificationOption> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOption> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp specification options.

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

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

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

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

      public static CPSpecificationOptionPersistence getPersistence()
    • setPersistence

      public static void setPersistence(CPSpecificationOptionPersistence persistence)