Interface CommercePriceModifierRelPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommercePriceModifierRel>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceModifierRel>

@ProviderType public interface CommercePriceModifierRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommercePriceModifierRel>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceModifierRel>
The persistence interface for the commerce price modifier rel service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByCN_CPK(long classNameId, long classPK)
    Returns the number of commerce price modifier rels where classNameId = ? and classPK = ?.
    int
    countByCommercePriceModifierId(long commercePriceModifierId)
    Returns the number of commerce price modifier rels where commercePriceModifierId = ?.
    int
    countByCPM_CN(long commercePriceModifierId, long classNameId)
    Returns the number of commerce price modifier rels where commercePriceModifierId = ? and classNameId = ?.
    int
    countByCPM_CN_CPK(long commercePriceModifierId, long classNameId, long classPK)
    Returns the number of commerce price modifier rels where commercePriceModifierId = ? and classNameId = ? and classPK = ?.
    create(long commercePriceModifierRelId)
    Creates a new commerce price modifier rel with the primary key.
    fetchByCN_CPK_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifierRel> orderByComparator)
    Returns the first commerce price modifier rel in the ordered set where classNameId = ? and classPK = ?.
    fetchByCommercePriceModifierId_First(long commercePriceModifierId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifierRel> orderByComparator)
    Returns the first commerce price modifier rel in the ordered set where commercePriceModifierId = ?.
    fetchByCPM_CN_CPK(long commercePriceModifierId, long classNameId, long classPK)
    Returns the commerce price modifier rel where commercePriceModifierId = ? and classNameId = ? and classPK = ? or returns null if it could not be found.
    fetchByCPM_CN_CPK(long commercePriceModifierId, long classNameId, long classPK, boolean useFinderCache)
    Returns the commerce price modifier rel where commercePriceModifierId = ? and classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByCPM_CN_First(long commercePriceModifierId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifierRel> orderByComparator)
    Returns the first commerce price modifier rel in the ordered set where commercePriceModifierId = ? and classNameId = ?.
    fetchByPrimaryKey(long commercePriceModifierRelId)
    Returns the commerce price modifier rel with the primary key or returns null if it could not be found.
    findByCN_CPK(long classNameId, long classPK)
    Returns all the commerce price modifier rels where classNameId = ? and classPK = ?.
    findByCN_CPK(long classNameId, long classPK, int start, int end)
    Returns a range of all the commerce price modifier rels where classNameId = ? and classPK = ?.
    findByCN_CPK(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifierRel> orderByComparator)
    Returns an ordered range of all the commerce price modifier rels where classNameId = ? and classPK = ?.
    findByCN_CPK(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifierRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce price modifier rels where classNameId = ? and classPK = ?.
    findByCN_CPK_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifierRel> orderByComparator)
    Returns the first commerce price modifier rel in the ordered set where classNameId = ? and classPK = ?.
    findByCommercePriceModifierId(long commercePriceModifierId)
    Returns all the commerce price modifier rels where commercePriceModifierId = ?.
    findByCommercePriceModifierId(long commercePriceModifierId, int start, int end)
    Returns a range of all the commerce price modifier rels where commercePriceModifierId = ?.
    findByCommercePriceModifierId(long commercePriceModifierId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifierRel> orderByComparator)
    Returns an ordered range of all the commerce price modifier rels where commercePriceModifierId = ?.
    findByCommercePriceModifierId(long commercePriceModifierId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifierRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce price modifier rels where commercePriceModifierId = ?.
    findByCommercePriceModifierId_First(long commercePriceModifierId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifierRel> orderByComparator)
    Returns the first commerce price modifier rel in the ordered set where commercePriceModifierId = ?.
    findByCPM_CN(long commercePriceModifierId, long classNameId)
    Returns all the commerce price modifier rels where commercePriceModifierId = ? and classNameId = ?.
    findByCPM_CN(long commercePriceModifierId, long classNameId, int start, int end)
    Returns a range of all the commerce price modifier rels where commercePriceModifierId = ? and classNameId = ?.
    findByCPM_CN(long commercePriceModifierId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifierRel> orderByComparator)
    Returns an ordered range of all the commerce price modifier rels where commercePriceModifierId = ? and classNameId = ?.
    findByCPM_CN(long commercePriceModifierId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifierRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce price modifier rels where commercePriceModifierId = ? and classNameId = ?.
    findByCPM_CN_CPK(long commercePriceModifierId, long classNameId, long classPK)
    Returns the commerce price modifier rel where commercePriceModifierId = ? and classNameId = ? and classPK = ? or throws a NoSuchPriceModifierRelException if it could not be found.
    findByCPM_CN_First(long commercePriceModifierId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifierRel> orderByComparator)
    Returns the first commerce price modifier rel in the ordered set where commercePriceModifierId = ? and classNameId = ?.
    findByPrimaryKey(long commercePriceModifierRelId)
    Returns the commerce price modifier rel with the primary key or throws a NoSuchPriceModifierRelException if it could not be found.
    remove(long commercePriceModifierRelId)
    Removes the commerce price modifier rel with the primary key from the database.
    void
    removeByCN_CPK(long classNameId, long classPK)
    Removes all the commerce price modifier rels where classNameId = ? and classPK = ? from the database.
    void
    removeByCommercePriceModifierId(long commercePriceModifierId)
    Removes all the commerce price modifier rels where commercePriceModifierId = ? from the database.
    void
    removeByCPM_CN(long commercePriceModifierId, long classNameId)
    Removes all the commerce price modifier rels where commercePriceModifierId = ? and classNameId = ? from the database.
    removeByCPM_CN_CPK(long commercePriceModifierId, long classNameId, long classPK)
    Removes the commerce price modifier rel where commercePriceModifierId = ? and classNameId = ? and classPK = ? from the database.
    updateImpl(CommercePriceModifierRel commercePriceModifierRel)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence

    getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
  • Method Details

    • findByCommercePriceModifierId

      List<CommercePriceModifierRel> findByCommercePriceModifierId(long commercePriceModifierId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifierRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce price modifier rels where commercePriceModifierId = ?.

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

      Parameters:
      commercePriceModifierId - the commerce price modifier ID
      start - the lower bound of the range of commerce price modifier rels
      end - the upper bound of the range of commerce price modifier 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 price modifier rels
    • findByCommercePriceModifierId_First

      CommercePriceModifierRel findByCommercePriceModifierId_First(long commercePriceModifierId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifierRel> orderByComparator) throws NoSuchPriceModifierRelException
      Returns the first commerce price modifier rel in the ordered set where commercePriceModifierId = ?.
      Parameters:
      commercePriceModifierId - the commerce price modifier ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price modifier rel
      Throws:
      NoSuchPriceModifierRelException - if a matching commerce price modifier rel could not be found
    • fetchByCommercePriceModifierId_First

      CommercePriceModifierRel fetchByCommercePriceModifierId_First(long commercePriceModifierId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifierRel> orderByComparator)
      Returns the first commerce price modifier rel in the ordered set where commercePriceModifierId = ?.
      Parameters:
      commercePriceModifierId - the commerce price modifier ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price modifier rel, or null if a matching commerce price modifier rel could not be found
    • removeByCommercePriceModifierId

      void removeByCommercePriceModifierId(long commercePriceModifierId)
      Removes all the commerce price modifier rels where commercePriceModifierId = ? from the database.
      Parameters:
      commercePriceModifierId - the commerce price modifier ID
    • countByCommercePriceModifierId

      int countByCommercePriceModifierId(long commercePriceModifierId)
      Returns the number of commerce price modifier rels where commercePriceModifierId = ?.
      Parameters:
      commercePriceModifierId - the commerce price modifier ID
      Returns:
      the number of matching commerce price modifier rels
    • findByCPM_CN

      List<CommercePriceModifierRel> findByCPM_CN(long commercePriceModifierId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifierRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce price modifier rels where commercePriceModifierId = ? and classNameId = ?.

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

      Parameters:
      commercePriceModifierId - the commerce price modifier ID
      classNameId - the class name ID
      start - the lower bound of the range of commerce price modifier rels
      end - the upper bound of the range of commerce price modifier 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 price modifier rels
    • findByCPM_CN_First

      CommercePriceModifierRel findByCPM_CN_First(long commercePriceModifierId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifierRel> orderByComparator) throws NoSuchPriceModifierRelException
      Returns the first commerce price modifier rel in the ordered set where commercePriceModifierId = ? and classNameId = ?.
      Parameters:
      commercePriceModifierId - the commerce price modifier ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price modifier rel
      Throws:
      NoSuchPriceModifierRelException - if a matching commerce price modifier rel could not be found
    • fetchByCPM_CN_First

      CommercePriceModifierRel fetchByCPM_CN_First(long commercePriceModifierId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifierRel> orderByComparator)
      Returns the first commerce price modifier rel in the ordered set where commercePriceModifierId = ? and classNameId = ?.
      Parameters:
      commercePriceModifierId - the commerce price modifier ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price modifier rel, or null if a matching commerce price modifier rel could not be found
    • removeByCPM_CN

      void removeByCPM_CN(long commercePriceModifierId, long classNameId)
      Removes all the commerce price modifier rels where commercePriceModifierId = ? and classNameId = ? from the database.
      Parameters:
      commercePriceModifierId - the commerce price modifier ID
      classNameId - the class name ID
    • countByCPM_CN

      int countByCPM_CN(long commercePriceModifierId, long classNameId)
      Returns the number of commerce price modifier rels where commercePriceModifierId = ? and classNameId = ?.
      Parameters:
      commercePriceModifierId - the commerce price modifier ID
      classNameId - the class name ID
      Returns:
      the number of matching commerce price modifier rels
    • findByCN_CPK

      List<CommercePriceModifierRel> findByCN_CPK(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifierRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce price modifier rels where classNameId = ? and classPK = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of commerce price modifier rels
      end - the upper bound of the range of commerce price modifier 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 price modifier rels
    • findByCN_CPK_First

      CommercePriceModifierRel findByCN_CPK_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifierRel> orderByComparator) throws NoSuchPriceModifierRelException
      Returns the first commerce price modifier rel in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price modifier rel
      Throws:
      NoSuchPriceModifierRelException - if a matching commerce price modifier rel could not be found
    • fetchByCN_CPK_First

      CommercePriceModifierRel fetchByCN_CPK_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifierRel> orderByComparator)
      Returns the first commerce price modifier rel in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price modifier rel, or null if a matching commerce price modifier rel could not be found
    • removeByCN_CPK

      void removeByCN_CPK(long classNameId, long classPK)
      Removes all the commerce price modifier rels where classNameId = ? and classPK = ? from the database.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
    • countByCN_CPK

      int countByCN_CPK(long classNameId, long classPK)
      Returns the number of commerce price modifier rels where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the number of matching commerce price modifier rels
    • findByCPM_CN_CPK

      CommercePriceModifierRel findByCPM_CN_CPK(long commercePriceModifierId, long classNameId, long classPK) throws NoSuchPriceModifierRelException
      Returns the commerce price modifier rel where commercePriceModifierId = ? and classNameId = ? and classPK = ? or throws a NoSuchPriceModifierRelException if it could not be found.
      Parameters:
      commercePriceModifierId - the commerce price modifier ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching commerce price modifier rel
      Throws:
      NoSuchPriceModifierRelException - if a matching commerce price modifier rel could not be found
    • fetchByCPM_CN_CPK

      CommercePriceModifierRel fetchByCPM_CN_CPK(long commercePriceModifierId, long classNameId, long classPK, boolean useFinderCache)
      Returns the commerce price modifier rel where commercePriceModifierId = ? and classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      commercePriceModifierId - the commerce price modifier ID
      classNameId - the class name ID
      classPK - the class pk
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce price modifier rel, or null if a matching commerce price modifier rel could not be found
    • removeByCPM_CN_CPK

      CommercePriceModifierRel removeByCPM_CN_CPK(long commercePriceModifierId, long classNameId, long classPK) throws NoSuchPriceModifierRelException
      Removes the commerce price modifier rel where commercePriceModifierId = ? and classNameId = ? and classPK = ? from the database.
      Parameters:
      commercePriceModifierId - the commerce price modifier ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the commerce price modifier rel that was removed
      Throws:
      NoSuchPriceModifierRelException
    • countByCPM_CN_CPK

      int countByCPM_CN_CPK(long commercePriceModifierId, long classNameId, long classPK)
      Returns the number of commerce price modifier rels where commercePriceModifierId = ? and classNameId = ? and classPK = ?.
      Parameters:
      commercePriceModifierId - the commerce price modifier ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the number of matching commerce price modifier rels
    • create

      CommercePriceModifierRel create(long commercePriceModifierRelId)
      Creates a new commerce price modifier rel with the primary key. Does not add the commerce price modifier rel to the database.
      Parameters:
      commercePriceModifierRelId - the primary key for the new commerce price modifier rel
      Returns:
      the new commerce price modifier rel
    • remove

      CommercePriceModifierRel remove(long commercePriceModifierRelId) throws NoSuchPriceModifierRelException
      Removes the commerce price modifier rel with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      commercePriceModifierRelId - the primary key of the commerce price modifier rel
      Returns:
      the commerce price modifier rel that was removed
      Throws:
      NoSuchPriceModifierRelException - if a commerce price modifier rel with the primary key could not be found
    • updateImpl

      CommercePriceModifierRel updateImpl(CommercePriceModifierRel commercePriceModifierRel)
    • findByPrimaryKey

      CommercePriceModifierRel findByPrimaryKey(long commercePriceModifierRelId) throws NoSuchPriceModifierRelException
      Returns the commerce price modifier rel with the primary key or throws a NoSuchPriceModifierRelException if it could not be found.
      Parameters:
      commercePriceModifierRelId - the primary key of the commerce price modifier rel
      Returns:
      the commerce price modifier rel
      Throws:
      NoSuchPriceModifierRelException - if a commerce price modifier rel with the primary key could not be found
    • fetchByPrimaryKey

      CommercePriceModifierRel fetchByPrimaryKey(long commercePriceModifierRelId)
      Returns the commerce price modifier rel with the primary key or returns null if it could not be found.
      Parameters:
      commercePriceModifierRelId - the primary key of the commerce price modifier rel
      Returns:
      the commerce price modifier rel, or null if a commerce price modifier rel with the primary key could not be found
    • fetchByCPM_CN_CPK

      default CommercePriceModifierRel fetchByCPM_CN_CPK(long commercePriceModifierId, long classNameId, long classPK)
      Returns the commerce price modifier rel where commercePriceModifierId = ? and classNameId = ? and classPK = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      commercePriceModifierId - the commerce price modifier ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching commerce price modifier rel, or null if a matching commerce price modifier rel could not be found
    • findByCommercePriceModifierId

      default List<CommercePriceModifierRel> findByCommercePriceModifierId(long commercePriceModifierId)
      Returns all the commerce price modifier rels where commercePriceModifierId = ?.
      Parameters:
      commercePriceModifierId - the commerce price modifier ID
      Returns:
      the matching commerce price modifier rels
    • findByCommercePriceModifierId

      default List<CommercePriceModifierRel> findByCommercePriceModifierId(long commercePriceModifierId, int start, int end)
      Returns a range of all the commerce price modifier rels where commercePriceModifierId = ?.

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

      Parameters:
      commercePriceModifierId - the commerce price modifier ID
      start - the lower bound of the range of commerce price modifier rels
      end - the upper bound of the range of commerce price modifier rels (not inclusive)
      Returns:
      the range of matching commerce price modifier rels
    • findByCommercePriceModifierId

      default List<CommercePriceModifierRel> findByCommercePriceModifierId(long commercePriceModifierId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifierRel> orderByComparator)
      Returns an ordered range of all the commerce price modifier rels where commercePriceModifierId = ?.

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

      Parameters:
      commercePriceModifierId - the commerce price modifier ID
      start - the lower bound of the range of commerce price modifier rels
      end - the upper bound of the range of commerce price modifier rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce price modifier rels
    • findByCPM_CN

      default List<CommercePriceModifierRel> findByCPM_CN(long commercePriceModifierId, long classNameId)
      Returns all the commerce price modifier rels where commercePriceModifierId = ? and classNameId = ?.
      Parameters:
      commercePriceModifierId - the commerce price modifier ID
      classNameId - the class name ID
      Returns:
      the matching commerce price modifier rels
    • findByCPM_CN

      default List<CommercePriceModifierRel> findByCPM_CN(long commercePriceModifierId, long classNameId, int start, int end)
      Returns a range of all the commerce price modifier rels where commercePriceModifierId = ? and classNameId = ?.

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

      Parameters:
      commercePriceModifierId - the commerce price modifier ID
      classNameId - the class name ID
      start - the lower bound of the range of commerce price modifier rels
      end - the upper bound of the range of commerce price modifier rels (not inclusive)
      Returns:
      the range of matching commerce price modifier rels
    • findByCPM_CN

      default List<CommercePriceModifierRel> findByCPM_CN(long commercePriceModifierId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifierRel> orderByComparator)
      Returns an ordered range of all the commerce price modifier rels where commercePriceModifierId = ? and classNameId = ?.

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

      Parameters:
      commercePriceModifierId - the commerce price modifier ID
      classNameId - the class name ID
      start - the lower bound of the range of commerce price modifier rels
      end - the upper bound of the range of commerce price modifier rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce price modifier rels
    • findByCN_CPK

      default List<CommercePriceModifierRel> findByCN_CPK(long classNameId, long classPK)
      Returns all the commerce price modifier rels where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching commerce price modifier rels
    • findByCN_CPK

      default List<CommercePriceModifierRel> findByCN_CPK(long classNameId, long classPK, int start, int end)
      Returns a range of all the commerce price modifier rels where classNameId = ? and classPK = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of commerce price modifier rels
      end - the upper bound of the range of commerce price modifier rels (not inclusive)
      Returns:
      the range of matching commerce price modifier rels
    • findByCN_CPK

      default List<CommercePriceModifierRel> findByCN_CPK(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceModifierRel> orderByComparator)
      Returns an ordered range of all the commerce price modifier rels where classNameId = ? and classPK = ?.

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

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of commerce price modifier rels
      end - the upper bound of the range of commerce price modifier rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce price modifier rels