Class CommercePricingClassCPDefinitionRelUtil

java.lang.Object
com.liferay.commerce.pricing.service.persistence.CommercePricingClassCPDefinitionRelUtil

public class CommercePricingClassCPDefinitionRelUtil extends Object
The persistence utility for the commerce pricing class cp definition rel service. This utility wraps com.liferay.commerce.pricing.service.persistence.impl.CommercePricingClassCPDefinitionRelPersistenceImpl 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

    • CommercePricingClassCPDefinitionRelUtil

      public CommercePricingClassCPDefinitionRelUtil()
  • Method Details

    • clearCache

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

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

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

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

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

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

      public static CommercePricingClassCPDefinitionRel update(CommercePricingClassCPDefinitionRel commercePricingClassCPDefinitionRel, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByCommercePricingClassId

      public static List<CommercePricingClassCPDefinitionRel> findByCommercePricingClassId(long commercePricingClassId)
      Returns all the commerce pricing class cp definition rels where commercePricingClassId = ?.
      Parameters:
      commercePricingClassId - the commerce pricing class ID
      Returns:
      the matching commerce pricing class cp definition rels
    • findByCommercePricingClassId

      public static List<CommercePricingClassCPDefinitionRel> findByCommercePricingClassId(long commercePricingClassId, int start, int end)
      Returns a range of all the commerce pricing class cp definition rels where commercePricingClassId = ?.

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

      Parameters:
      commercePricingClassId - the commerce pricing class ID
      start - the lower bound of the range of commerce pricing class cp definition rels
      end - the upper bound of the range of commerce pricing class cp definition rels (not inclusive)
      Returns:
      the range of matching commerce pricing class cp definition rels
    • findByCommercePricingClassId

      public static List<CommercePricingClassCPDefinitionRel> findByCommercePricingClassId(long commercePricingClassId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator)
      Returns an ordered range of all the commerce pricing class cp definition rels where commercePricingClassId = ?.

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

      Parameters:
      commercePricingClassId - the commerce pricing class ID
      start - the lower bound of the range of commerce pricing class cp definition rels
      end - the upper bound of the range of commerce pricing class cp definition rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce pricing class cp definition rels
    • findByCommercePricingClassId

      public static List<CommercePricingClassCPDefinitionRel> findByCommercePricingClassId(long commercePricingClassId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce pricing class cp definition rels where commercePricingClassId = ?.

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

      Parameters:
      commercePricingClassId - the commerce pricing class ID
      start - the lower bound of the range of commerce pricing class cp definition rels
      end - the upper bound of the range of commerce pricing class cp definition rels (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 commerce pricing class cp definition rels
    • findByCommercePricingClassId_First

      public static CommercePricingClassCPDefinitionRel findByCommercePricingClassId_First(long commercePricingClassId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator) throws NoSuchPricingClassCPDefinitionRelException
      Returns the first commerce pricing class cp definition rel in the ordered set where commercePricingClassId = ?.
      Parameters:
      commercePricingClassId - the commerce pricing class ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce pricing class cp definition rel
      Throws:
      NoSuchPricingClassCPDefinitionRelException - if a matching commerce pricing class cp definition rel could not be found
      NoSuchPricingClassCPDefinitionRelException
    • fetchByCommercePricingClassId_First

      public static CommercePricingClassCPDefinitionRel fetchByCommercePricingClassId_First(long commercePricingClassId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator)
      Returns the first commerce pricing class cp definition rel in the ordered set where commercePricingClassId = ?.
      Parameters:
      commercePricingClassId - the commerce pricing class ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce pricing class cp definition rel, or null if a matching commerce pricing class cp definition rel could not be found
    • findByCommercePricingClassId_Last

      public static CommercePricingClassCPDefinitionRel findByCommercePricingClassId_Last(long commercePricingClassId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator) throws NoSuchPricingClassCPDefinitionRelException
      Returns the last commerce pricing class cp definition rel in the ordered set where commercePricingClassId = ?.
      Parameters:
      commercePricingClassId - the commerce pricing class ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce pricing class cp definition rel
      Throws:
      NoSuchPricingClassCPDefinitionRelException - if a matching commerce pricing class cp definition rel could not be found
      NoSuchPricingClassCPDefinitionRelException
    • fetchByCommercePricingClassId_Last

      public static CommercePricingClassCPDefinitionRel fetchByCommercePricingClassId_Last(long commercePricingClassId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator)
      Returns the last commerce pricing class cp definition rel in the ordered set where commercePricingClassId = ?.
      Parameters:
      commercePricingClassId - the commerce pricing class ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce pricing class cp definition rel, or null if a matching commerce pricing class cp definition rel could not be found
    • findByCommercePricingClassId_PrevAndNext

      public static CommercePricingClassCPDefinitionRel[] findByCommercePricingClassId_PrevAndNext(long CommercePricingClassCPDefinitionRelId, long commercePricingClassId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator) throws NoSuchPricingClassCPDefinitionRelException
      Returns the commerce pricing class cp definition rels before and after the current commerce pricing class cp definition rel in the ordered set where commercePricingClassId = ?.
      Parameters:
      CommercePricingClassCPDefinitionRelId - the primary key of the current commerce pricing class cp definition rel
      commercePricingClassId - the commerce pricing class ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce pricing class cp definition rel
      Throws:
      NoSuchPricingClassCPDefinitionRelException - if a commerce pricing class cp definition rel with the primary key could not be found
      NoSuchPricingClassCPDefinitionRelException
    • removeByCommercePricingClassId

      public static void removeByCommercePricingClassId(long commercePricingClassId)
      Removes all the commerce pricing class cp definition rels where commercePricingClassId = ? from the database.
      Parameters:
      commercePricingClassId - the commerce pricing class ID
    • countByCommercePricingClassId

      public static int countByCommercePricingClassId(long commercePricingClassId)
      Returns the number of commerce pricing class cp definition rels where commercePricingClassId = ?.
      Parameters:
      commercePricingClassId - the commerce pricing class ID
      Returns:
      the number of matching commerce pricing class cp definition rels
    • findByCPDefinitionId

      public static List<CommercePricingClassCPDefinitionRel> findByCPDefinitionId(long CPDefinitionId)
      Returns all the commerce pricing class cp definition rels where CPDefinitionId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      Returns:
      the matching commerce pricing class cp definition rels
    • findByCPDefinitionId

      public static List<CommercePricingClassCPDefinitionRel> findByCPDefinitionId(long CPDefinitionId, int start, int end)
      Returns a range of all the commerce pricing class cp definition rels where CPDefinitionId = ?.

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

      Parameters:
      CPDefinitionId - the cp definition ID
      start - the lower bound of the range of commerce pricing class cp definition rels
      end - the upper bound of the range of commerce pricing class cp definition rels (not inclusive)
      Returns:
      the range of matching commerce pricing class cp definition rels
    • findByCPDefinitionId

      public static List<CommercePricingClassCPDefinitionRel> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator)
      Returns an ordered range of all the commerce pricing class cp definition rels where CPDefinitionId = ?.

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

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

      public static List<CommercePricingClassCPDefinitionRel> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce pricing class cp definition rels where CPDefinitionId = ?.

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

      Parameters:
      CPDefinitionId - the cp definition ID
      start - the lower bound of the range of commerce pricing class cp definition rels
      end - the upper bound of the range of commerce pricing class cp definition rels (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 commerce pricing class cp definition rels
    • findByCPDefinitionId_First

      public static CommercePricingClassCPDefinitionRel findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator) throws NoSuchPricingClassCPDefinitionRelException
      Returns the first commerce pricing class cp definition rel in the ordered set where CPDefinitionId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce pricing class cp definition rel
      Throws:
      NoSuchPricingClassCPDefinitionRelException - if a matching commerce pricing class cp definition rel could not be found
      NoSuchPricingClassCPDefinitionRelException
    • fetchByCPDefinitionId_First

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

      public static CommercePricingClassCPDefinitionRel findByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator) throws NoSuchPricingClassCPDefinitionRelException
      Returns the last commerce pricing class cp definition rel in the ordered set where CPDefinitionId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce pricing class cp definition rel
      Throws:
      NoSuchPricingClassCPDefinitionRelException - if a matching commerce pricing class cp definition rel could not be found
      NoSuchPricingClassCPDefinitionRelException
    • fetchByCPDefinitionId_Last

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

      public static CommercePricingClassCPDefinitionRel[] findByCPDefinitionId_PrevAndNext(long CommercePricingClassCPDefinitionRelId, long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator) throws NoSuchPricingClassCPDefinitionRelException
      Returns the commerce pricing class cp definition rels before and after the current commerce pricing class cp definition rel in the ordered set where CPDefinitionId = ?.
      Parameters:
      CommercePricingClassCPDefinitionRelId - the primary key of the current commerce pricing class cp definition rel
      CPDefinitionId - the cp definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce pricing class cp definition rel
      Throws:
      NoSuchPricingClassCPDefinitionRelException - if a commerce pricing class cp definition rel with the primary key could not be found
      NoSuchPricingClassCPDefinitionRelException
    • removeByCPDefinitionId

      public static void removeByCPDefinitionId(long CPDefinitionId)
      Removes all the commerce pricing class cp definition rels where CPDefinitionId = ? from the database.
      Parameters:
      CPDefinitionId - the cp definition ID
    • countByCPDefinitionId

      public static int countByCPDefinitionId(long CPDefinitionId)
      Returns the number of commerce pricing class cp definition rels where CPDefinitionId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      Returns:
      the number of matching commerce pricing class cp definition rels
    • findByC_C

      public static CommercePricingClassCPDefinitionRel findByC_C(long commercePricingClassId, long CPDefinitionId) throws NoSuchPricingClassCPDefinitionRelException
      Returns the commerce pricing class cp definition rel where commercePricingClassId = ? and CPDefinitionId = ? or throws a NoSuchPricingClassCPDefinitionRelException if it could not be found.
      Parameters:
      commercePricingClassId - the commerce pricing class ID
      CPDefinitionId - the cp definition ID
      Returns:
      the matching commerce pricing class cp definition rel
      Throws:
      NoSuchPricingClassCPDefinitionRelException - if a matching commerce pricing class cp definition rel could not be found
      NoSuchPricingClassCPDefinitionRelException
    • fetchByC_C

      public static CommercePricingClassCPDefinitionRel fetchByC_C(long commercePricingClassId, long CPDefinitionId)
      Returns the commerce pricing class cp definition rel where commercePricingClassId = ? and CPDefinitionId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      commercePricingClassId - the commerce pricing class ID
      CPDefinitionId - the cp definition ID
      Returns:
      the matching commerce pricing class cp definition rel, or null if a matching commerce pricing class cp definition rel could not be found
    • fetchByC_C

      public static CommercePricingClassCPDefinitionRel fetchByC_C(long commercePricingClassId, long CPDefinitionId, boolean useFinderCache)
      Returns the commerce pricing class cp definition rel where commercePricingClassId = ? and CPDefinitionId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      commercePricingClassId - the commerce pricing class ID
      CPDefinitionId - the cp definition ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce pricing class cp definition rel, or null if a matching commerce pricing class cp definition rel could not be found
    • removeByC_C

      public static CommercePricingClassCPDefinitionRel removeByC_C(long commercePricingClassId, long CPDefinitionId) throws NoSuchPricingClassCPDefinitionRelException
      Removes the commerce pricing class cp definition rel where commercePricingClassId = ? and CPDefinitionId = ? from the database.
      Parameters:
      commercePricingClassId - the commerce pricing class ID
      CPDefinitionId - the cp definition ID
      Returns:
      the commerce pricing class cp definition rel that was removed
      Throws:
      NoSuchPricingClassCPDefinitionRelException
    • countByC_C

      public static int countByC_C(long commercePricingClassId, long CPDefinitionId)
      Returns the number of commerce pricing class cp definition rels where commercePricingClassId = ? and CPDefinitionId = ?.
      Parameters:
      commercePricingClassId - the commerce pricing class ID
      CPDefinitionId - the cp definition ID
      Returns:
      the number of matching commerce pricing class cp definition rels
    • cacheResult

      public static void cacheResult(CommercePricingClassCPDefinitionRel commercePricingClassCPDefinitionRel)
      Caches the commerce pricing class cp definition rel in the entity cache if it is enabled.
      Parameters:
      commercePricingClassCPDefinitionRel - the commerce pricing class cp definition rel
    • cacheResult

      public static void cacheResult(List<CommercePricingClassCPDefinitionRel> commercePricingClassCPDefinitionRels)
      Caches the commerce pricing class cp definition rels in the entity cache if it is enabled.
      Parameters:
      commercePricingClassCPDefinitionRels - the commerce pricing class cp definition rels
    • create

      public static CommercePricingClassCPDefinitionRel create(long CommercePricingClassCPDefinitionRelId)
      Creates a new commerce pricing class cp definition rel with the primary key. Does not add the commerce pricing class cp definition rel to the database.
      Parameters:
      CommercePricingClassCPDefinitionRelId - the primary key for the new commerce pricing class cp definition rel
      Returns:
      the new commerce pricing class cp definition rel
    • remove

      public static CommercePricingClassCPDefinitionRel remove(long CommercePricingClassCPDefinitionRelId) throws NoSuchPricingClassCPDefinitionRelException
      Removes the commerce pricing class cp definition rel with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      CommercePricingClassCPDefinitionRelId - the primary key of the commerce pricing class cp definition rel
      Returns:
      the commerce pricing class cp definition rel that was removed
      Throws:
      NoSuchPricingClassCPDefinitionRelException - if a commerce pricing class cp definition rel with the primary key could not be found
      NoSuchPricingClassCPDefinitionRelException
    • updateImpl

      public static CommercePricingClassCPDefinitionRel updateImpl(CommercePricingClassCPDefinitionRel commercePricingClassCPDefinitionRel)
    • findByPrimaryKey

      public static CommercePricingClassCPDefinitionRel findByPrimaryKey(long CommercePricingClassCPDefinitionRelId) throws NoSuchPricingClassCPDefinitionRelException
      Returns the commerce pricing class cp definition rel with the primary key or throws a NoSuchPricingClassCPDefinitionRelException if it could not be found.
      Parameters:
      CommercePricingClassCPDefinitionRelId - the primary key of the commerce pricing class cp definition rel
      Returns:
      the commerce pricing class cp definition rel
      Throws:
      NoSuchPricingClassCPDefinitionRelException - if a commerce pricing class cp definition rel with the primary key could not be found
      NoSuchPricingClassCPDefinitionRelException
    • fetchByPrimaryKey

      public static CommercePricingClassCPDefinitionRel fetchByPrimaryKey(long CommercePricingClassCPDefinitionRelId)
      Returns the commerce pricing class cp definition rel with the primary key or returns null if it could not be found.
      Parameters:
      CommercePricingClassCPDefinitionRelId - the primary key of the commerce pricing class cp definition rel
      Returns:
      the commerce pricing class cp definition rel, or null if a commerce pricing class cp definition rel with the primary key could not be found
    • findAll

      public static List<CommercePricingClassCPDefinitionRel> findAll()
      Returns all the commerce pricing class cp definition rels.
      Returns:
      the commerce pricing class cp definition rels
    • findAll

      public static List<CommercePricingClassCPDefinitionRel> findAll(int start, int end)
      Returns a range of all the commerce pricing class cp definition rels.

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

      Parameters:
      start - the lower bound of the range of commerce pricing class cp definition rels
      end - the upper bound of the range of commerce pricing class cp definition rels (not inclusive)
      Returns:
      the range of commerce pricing class cp definition rels
    • findAll

      public static List<CommercePricingClassCPDefinitionRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator)
      Returns an ordered range of all the commerce pricing class cp definition rels.

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

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

      public static List<CommercePricingClassCPDefinitionRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce pricing class cp definition rels.

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

      Parameters:
      start - the lower bound of the range of commerce pricing class cp definition rels
      end - the upper bound of the range of commerce pricing class cp definition rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of commerce pricing class cp definition rels
    • removeAll

      public static void removeAll()
      Removes all the commerce pricing class cp definition rels from the database.
    • countAll

      public static int countAll()
      Returns the number of commerce pricing class cp definition rels.
      Returns:
      the number of commerce pricing class cp definition rels
    • getPersistence

      public static CommercePricingClassCPDefinitionRelPersistence getPersistence()
    • setPersistence

      public static void setPersistence(CommercePricingClassCPDefinitionRelPersistence persistence)