Class CPConfigurationEntrySettingUtil

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

public class CPConfigurationEntrySettingUtil extends Object
The persistence utility for the cp configuration entry setting service. This utility wraps com.liferay.commerce.product.service.persistence.impl.CPConfigurationEntrySettingPersistenceImpl 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

    • CPConfigurationEntrySettingUtil

      public CPConfigurationEntrySettingUtil()
  • Method Details

    • clearCache

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

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

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

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

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

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

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

      public static List<CPConfigurationEntrySetting> findByUuid(String uuid)
      Returns all the cp configuration entry settings where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching cp configuration entry settings
    • findByUuid

      public static List<CPConfigurationEntrySetting> findByUuid(String uuid, int start, int end)
      Returns a range of all the cp configuration entry settings 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 CPConfigurationEntrySettingModelImpl.

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

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

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

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

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

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

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

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

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

      public static CPConfigurationEntrySetting[] findByUuid_PrevAndNext(long CPConfigurationEntrySettingId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) throws NoSuchCPConfigurationEntrySettingException
      Returns the cp configuration entry settings before and after the current cp configuration entry setting in the ordered set where uuid = ?.
      Parameters:
      CPConfigurationEntrySettingId - the primary key of the current cp configuration entry setting
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp configuration entry setting
      Throws:
      NoSuchCPConfigurationEntrySettingException - if a cp configuration entry setting with the primary key could not be found
      NoSuchCPConfigurationEntrySettingException
    • removeByUuid

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

      public static int countByUuid(String uuid)
      Returns the number of cp configuration entry settings where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching cp configuration entry settings
    • findByUUID_G

      public static CPConfigurationEntrySetting findByUUID_G(String uuid, long groupId) throws NoSuchCPConfigurationEntrySettingException
      Returns the cp configuration entry setting where uuid = ? and groupId = ? or throws a NoSuchCPConfigurationEntrySettingException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching cp configuration entry setting
      Throws:
      NoSuchCPConfigurationEntrySettingException - if a matching cp configuration entry setting could not be found
      NoSuchCPConfigurationEntrySettingException
    • fetchByUUID_G

      public static CPConfigurationEntrySetting fetchByUUID_G(String uuid, long groupId)
      Returns the cp configuration entry setting 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 configuration entry setting, or null if a matching cp configuration entry setting could not be found
    • fetchByUUID_G

      public static CPConfigurationEntrySetting fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the cp configuration entry setting 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 configuration entry setting, or null if a matching cp configuration entry setting could not be found
    • removeByUUID_G

      public static CPConfigurationEntrySetting removeByUUID_G(String uuid, long groupId) throws NoSuchCPConfigurationEntrySettingException
      Removes the cp configuration entry setting where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the cp configuration entry setting that was removed
      Throws:
      NoSuchCPConfigurationEntrySettingException
    • countByUUID_G

      public static int countByUUID_G(String uuid, long groupId)
      Returns the number of cp configuration entry settings where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching cp configuration entry settings
    • findByUuid_C

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

      public static List<CPConfigurationEntrySetting> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the cp configuration entry settings 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 CPConfigurationEntrySettingModelImpl.

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

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

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

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

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

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

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

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

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

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

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

      public static List<CPConfigurationEntrySetting> findByCompanyId(long companyId)
      Returns all the cp configuration entry settings where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching cp configuration entry settings
    • findByCompanyId

      public static List<CPConfigurationEntrySetting> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the cp configuration entry settings 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 CPConfigurationEntrySettingModelImpl.

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

      public static List<CPConfigurationEntrySetting> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator)
      Returns an ordered range of all the cp configuration entry settings 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 CPConfigurationEntrySettingModelImpl.

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

      public static List<CPConfigurationEntrySetting> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp configuration entry settings 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 CPConfigurationEntrySettingModelImpl.

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

      public static CPConfigurationEntrySetting findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) throws NoSuchCPConfigurationEntrySettingException
      Returns the first cp configuration entry setting 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 configuration entry setting
      Throws:
      NoSuchCPConfigurationEntrySettingException - if a matching cp configuration entry setting could not be found
      NoSuchCPConfigurationEntrySettingException
    • fetchByCompanyId_First

      public static CPConfigurationEntrySetting fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator)
      Returns the first cp configuration entry setting 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 configuration entry setting, or null if a matching cp configuration entry setting could not be found
    • findByCompanyId_Last

      public static CPConfigurationEntrySetting findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) throws NoSuchCPConfigurationEntrySettingException
      Returns the last cp configuration entry setting 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 configuration entry setting
      Throws:
      NoSuchCPConfigurationEntrySettingException - if a matching cp configuration entry setting could not be found
      NoSuchCPConfigurationEntrySettingException
    • fetchByCompanyId_Last

      public static CPConfigurationEntrySetting fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator)
      Returns the last cp configuration entry setting 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 configuration entry setting, or null if a matching cp configuration entry setting could not be found
    • findByCompanyId_PrevAndNext

      public static CPConfigurationEntrySetting[] findByCompanyId_PrevAndNext(long CPConfigurationEntrySettingId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPConfigurationEntrySetting> orderByComparator) throws NoSuchCPConfigurationEntrySettingException
      Returns the cp configuration entry settings before and after the current cp configuration entry setting in the ordered set where companyId = ?.
      Parameters:
      CPConfigurationEntrySettingId - the primary key of the current cp configuration entry setting
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp configuration entry setting
      Throws:
      NoSuchCPConfigurationEntrySettingException - if a cp configuration entry setting with the primary key could not be found
      NoSuchCPConfigurationEntrySettingException
    • removeByCompanyId

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

      public static int countByCompanyId(long companyId)
      Returns the number of cp configuration entry settings where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching cp configuration entry settings
    • findByC_T

      public static CPConfigurationEntrySetting findByC_T(long CPConfigurationEntryId, int type) throws NoSuchCPConfigurationEntrySettingException
      Returns the cp configuration entry setting where CPConfigurationEntryId = ? and type = ? or throws a NoSuchCPConfigurationEntrySettingException if it could not be found.
      Parameters:
      CPConfigurationEntryId - the cp configuration entry ID
      type - the type
      Returns:
      the matching cp configuration entry setting
      Throws:
      NoSuchCPConfigurationEntrySettingException - if a matching cp configuration entry setting could not be found
      NoSuchCPConfigurationEntrySettingException
    • fetchByC_T

      public static CPConfigurationEntrySetting fetchByC_T(long CPConfigurationEntryId, int type)
      Returns the cp configuration entry setting where CPConfigurationEntryId = ? and type = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      CPConfigurationEntryId - the cp configuration entry ID
      type - the type
      Returns:
      the matching cp configuration entry setting, or null if a matching cp configuration entry setting could not be found
    • fetchByC_T

      public static CPConfigurationEntrySetting fetchByC_T(long CPConfigurationEntryId, int type, boolean useFinderCache)
      Returns the cp configuration entry setting where CPConfigurationEntryId = ? and type = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      CPConfigurationEntryId - the cp configuration entry ID
      type - the type
      useFinderCache - whether to use the finder cache
      Returns:
      the matching cp configuration entry setting, or null if a matching cp configuration entry setting could not be found
    • removeByC_T

      public static CPConfigurationEntrySetting removeByC_T(long CPConfigurationEntryId, int type) throws NoSuchCPConfigurationEntrySettingException
      Removes the cp configuration entry setting where CPConfigurationEntryId = ? and type = ? from the database.
      Parameters:
      CPConfigurationEntryId - the cp configuration entry ID
      type - the type
      Returns:
      the cp configuration entry setting that was removed
      Throws:
      NoSuchCPConfigurationEntrySettingException
    • countByC_T

      public static int countByC_T(long CPConfigurationEntryId, int type)
      Returns the number of cp configuration entry settings where CPConfigurationEntryId = ? and type = ?.
      Parameters:
      CPConfigurationEntryId - the cp configuration entry ID
      type - the type
      Returns:
      the number of matching cp configuration entry settings
    • cacheResult

      public static void cacheResult(CPConfigurationEntrySetting cpConfigurationEntrySetting)
      Caches the cp configuration entry setting in the entity cache if it is enabled.
      Parameters:
      cpConfigurationEntrySetting - the cp configuration entry setting
    • cacheResult

      public static void cacheResult(List<CPConfigurationEntrySetting> cpConfigurationEntrySettings)
      Caches the cp configuration entry settings in the entity cache if it is enabled.
      Parameters:
      cpConfigurationEntrySettings - the cp configuration entry settings
    • create

      public static CPConfigurationEntrySetting create(long CPConfigurationEntrySettingId)
      Creates a new cp configuration entry setting with the primary key. Does not add the cp configuration entry setting to the database.
      Parameters:
      CPConfigurationEntrySettingId - the primary key for the new cp configuration entry setting
      Returns:
      the new cp configuration entry setting
    • remove

      public static CPConfigurationEntrySetting remove(long CPConfigurationEntrySettingId) throws NoSuchCPConfigurationEntrySettingException
      Removes the cp configuration entry setting with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      CPConfigurationEntrySettingId - the primary key of the cp configuration entry setting
      Returns:
      the cp configuration entry setting that was removed
      Throws:
      NoSuchCPConfigurationEntrySettingException - if a cp configuration entry setting with the primary key could not be found
      NoSuchCPConfigurationEntrySettingException
    • updateImpl

      public static CPConfigurationEntrySetting updateImpl(CPConfigurationEntrySetting cpConfigurationEntrySetting)
    • findByPrimaryKey

      public static CPConfigurationEntrySetting findByPrimaryKey(long CPConfigurationEntrySettingId) throws NoSuchCPConfigurationEntrySettingException
      Returns the cp configuration entry setting with the primary key or throws a NoSuchCPConfigurationEntrySettingException if it could not be found.
      Parameters:
      CPConfigurationEntrySettingId - the primary key of the cp configuration entry setting
      Returns:
      the cp configuration entry setting
      Throws:
      NoSuchCPConfigurationEntrySettingException - if a cp configuration entry setting with the primary key could not be found
      NoSuchCPConfigurationEntrySettingException
    • fetchByPrimaryKey

      public static CPConfigurationEntrySetting fetchByPrimaryKey(long CPConfigurationEntrySettingId)
      Returns the cp configuration entry setting with the primary key or returns null if it could not be found.
      Parameters:
      CPConfigurationEntrySettingId - the primary key of the cp configuration entry setting
      Returns:
      the cp configuration entry setting, or null if a cp configuration entry setting with the primary key could not be found
    • findAll

      public static List<CPConfigurationEntrySetting> findAll()
      Returns all the cp configuration entry settings.
      Returns:
      the cp configuration entry settings
    • findAll

      public static List<CPConfigurationEntrySetting> findAll(int start, int end)
      Returns a range of all the cp configuration entry settings.

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

      Parameters:
      start - the lower bound of the range of cp configuration entry settings
      end - the upper bound of the range of cp configuration entry settings (not inclusive)
      Returns:
      the range of cp configuration entry settings
    • findAll

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

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

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

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

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

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

      public static void removeAll()
      Removes all the cp configuration entry settings from the database.
    • countAll

      public static int countAll()
      Returns the number of cp configuration entry settings.
      Returns:
      the number of cp configuration entry settings
    • getPersistence

      public static CPConfigurationEntrySettingPersistence getPersistence()
    • setPersistence

      public static void setPersistence(CPConfigurationEntrySettingPersistence persistence)