Interface CommercePriceEntryPersistence

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

@ProviderType public interface CommercePriceEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommercePriceEntry>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceEntry>
The persistence interface for the commerce price entry service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(CommercePriceEntry commercePriceEntry)
    Caches the commerce price entry in the entity cache if it is enabled.
    void
    cacheResult(List<CommercePriceEntry> commercePriceEntries)
    Caches the commerce price entries in the entity cache if it is enabled.
    int
    Returns the number of commerce price entries.
    int
    countByC_C(long commercePriceListId, String CPInstanceUuid)
    Returns the number of commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.
    int
    countByC_C_S(long commercePriceListId, String CPInstanceUuid, int status)
    Returns the number of commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.
    int
    countByC_Q_U(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey)
    Returns the number of commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.
    int
    countByCommercePriceListId(long commercePriceListId)
    Returns the number of commerce price entries where commercePriceListId = ?.
    int
    countByCompanyId(long companyId)
    Returns the number of commerce price entries where companyId = ?.
    int
    countByCPInstanceUuid(String CPInstanceUuid)
    Returns the number of commerce price entries where CPInstanceUuid = ?.
    int
    countByERC_C(String externalReferenceCode, long companyId)
    Returns the number of commerce price entries where externalReferenceCode = ? and companyId = ?.
    int
    countByLtD_S(Date displayDate, int status)
    Returns the number of commerce price entries where displayDate < ? and status = ?.
    int
    countByLtE_S(Date expirationDate, int status)
    Returns the number of commerce price entries where expirationDate < ? and status = ?.
    int
    Returns the number of commerce price entries where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of commerce price entries where uuid = ? and companyId = ?.
    create(long commercePriceEntryId)
    Creates a new commerce price entry with the primary key.
    fetchByC_C_First(long commercePriceListId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns the first commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ?.
    fetchByC_C_S_First(long commercePriceListId, String CPInstanceUuid, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns the first commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.
    fetchByC_Q_U_First(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns the first commerce price entry in the ordered set where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.
    fetchByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns the first commerce price entry in the ordered set where commercePriceListId = ?.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns the first commerce price entry in the ordered set where companyId = ?.
    fetchByCPInstanceUuid_First(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns the first commerce price entry in the ordered set where CPInstanceUuid = ?.
    fetchByERC_C(String externalReferenceCode, long companyId)
    Returns the commerce price entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found.
    fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
    Returns the commerce price entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns the first commerce price entry in the ordered set where displayDate < ? and status = ?.
    fetchByLtE_S_First(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns the first commerce price entry in the ordered set where expirationDate < ? and status = ?.
    fetchByPrimaryKey(long commercePriceEntryId)
    Returns the commerce price entry with the primary key or returns null if it could not be found.
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns the first commerce price entry in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns the first commerce price entry in the ordered set where uuid = ?.
    Returns all the commerce price entries.
    findAll(int start, int end)
    Returns a range of all the commerce price entries.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns an ordered range of all the commerce price entries.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce price entries.
    findByC_C(long commercePriceListId, String CPInstanceUuid)
    Returns all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.
    findByC_C(long commercePriceListId, String CPInstanceUuid, int start, int end)
    Returns a range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.
    findByC_C(long commercePriceListId, String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns an ordered range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.
    findByC_C(long commercePriceListId, String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.
    findByC_C_First(long commercePriceListId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns the first commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ?.
    findByC_C_S(long commercePriceListId, String CPInstanceUuid, int status)
    Returns all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.
    findByC_C_S(long commercePriceListId, String CPInstanceUuid, int status, int start, int end)
    Returns a range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.
    findByC_C_S(long commercePriceListId, String CPInstanceUuid, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns an ordered range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.
    findByC_C_S(long commercePriceListId, String CPInstanceUuid, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.
    findByC_C_S_First(long commercePriceListId, String CPInstanceUuid, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns the first commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.
    findByC_Q_U(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey)
    Returns all the commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.
    findByC_Q_U(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, int start, int end)
    Returns a range of all the commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.
    findByC_Q_U(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns an ordered range of all the commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.
    findByC_Q_U(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.
    findByC_Q_U_First(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns the first commerce price entry in the ordered set where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.
    findByCommercePriceListId(long commercePriceListId)
    Returns all the commerce price entries where commercePriceListId = ?.
    findByCommercePriceListId(long commercePriceListId, int start, int end)
    Returns a range of all the commerce price entries where commercePriceListId = ?.
    findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns an ordered range of all the commerce price entries where commercePriceListId = ?.
    findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce price entries where commercePriceListId = ?.
    findByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns the first commerce price entry in the ordered set where commercePriceListId = ?.
    findByCompanyId(long companyId)
    Returns all the commerce price entries where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the commerce price entries where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns an ordered range of all the commerce price entries where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce price entries where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns the first commerce price entry in the ordered set where companyId = ?.
    findByCPInstanceUuid(String CPInstanceUuid)
    Returns all the commerce price entries where CPInstanceUuid = ?.
    findByCPInstanceUuid(String CPInstanceUuid, int start, int end)
    Returns a range of all the commerce price entries where CPInstanceUuid = ?.
    findByCPInstanceUuid(String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns an ordered range of all the commerce price entries where CPInstanceUuid = ?.
    findByCPInstanceUuid(String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce price entries where CPInstanceUuid = ?.
    findByCPInstanceUuid_First(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns the first commerce price entry in the ordered set where CPInstanceUuid = ?.
    findByERC_C(String externalReferenceCode, long companyId)
    Returns the commerce price entry where externalReferenceCode = ? and companyId = ? or throws a NoSuchPriceEntryException if it could not be found.
    findByLtD_S(Date displayDate, int status)
    Returns all the commerce price entries where displayDate < ? and status = ?.
    findByLtD_S(Date displayDate, int status, int start, int end)
    Returns a range of all the commerce price entries where displayDate < ? and status = ?.
    findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns an ordered range of all the commerce price entries where displayDate < ? and status = ?.
    findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce price entries where displayDate < ? and status = ?.
    findByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns the first commerce price entry in the ordered set where displayDate < ? and status = ?.
    findByLtE_S(Date expirationDate, int status)
    Returns all the commerce price entries where expirationDate < ? and status = ?.
    findByLtE_S(Date expirationDate, int status, int start, int end)
    Returns a range of all the commerce price entries where expirationDate < ? and status = ?.
    findByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns an ordered range of all the commerce price entries where expirationDate < ? and status = ?.
    findByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce price entries where expirationDate < ? and status = ?.
    findByLtE_S_First(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns the first commerce price entry in the ordered set where expirationDate < ? and status = ?.
    findByPrimaryKey(long commercePriceEntryId)
    Returns the commerce price entry with the primary key or throws a NoSuchPriceEntryException if it could not be found.
    Returns all the commerce price entries where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the commerce price entries where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns an ordered range of all the commerce price entries where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce price entries where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the commerce price entries where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the commerce price entries where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns an ordered range of all the commerce price entries where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce price entries where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns the first commerce price entry in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
    Returns the first commerce price entry in the ordered set where uuid = ?.
    remove(long commercePriceEntryId)
    Removes the commerce price entry with the primary key from the database.
    void
    Removes all the commerce price entries from the database.
    void
    removeByC_C(long commercePriceListId, String CPInstanceUuid)
    Removes all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? from the database.
    void
    removeByC_C_S(long commercePriceListId, String CPInstanceUuid, int status)
    Removes all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ? from the database.
    void
    removeByC_Q_U(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey)
    Removes all the commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ? from the database.
    void
    removeByCommercePriceListId(long commercePriceListId)
    Removes all the commerce price entries where commercePriceListId = ? from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the commerce price entries where companyId = ? from the database.
    void
    Removes all the commerce price entries where CPInstanceUuid = ? from the database.
    removeByERC_C(String externalReferenceCode, long companyId)
    Removes the commerce price entry where externalReferenceCode = ? and companyId = ? from the database.
    void
    removeByLtD_S(Date displayDate, int status)
    Removes all the commerce price entries where displayDate < ? and status = ? from the database.
    void
    removeByLtE_S(Date expirationDate, int status)
    Removes all the commerce price entries where expirationDate < ? and status = ? from the database.
    void
    Removes all the commerce price entries where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the commerce price entries where uuid = ? and companyId = ? from the database.
    updateImpl(CommercePriceEntry commercePriceEntry)
     

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

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, 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

    • findByUuid

      List<CommercePriceEntry> findByUuid(String uuid)
      Returns all the commerce price entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce price entries
    • findByUuid

      List<CommercePriceEntry> findByUuid(String uuid, int start, int end)
      Returns a range of all the commerce price entries 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 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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (not inclusive)
      Returns:
      the range of matching commerce price entries
    • findByUuid

      List<CommercePriceEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns an ordered range of all the commerce price entries 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 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.price.list.model.impl.CommercePriceEntryModelImpl.

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

      List<CommercePriceEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce price entries 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 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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (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 entries
    • findByUuid_First

      CommercePriceEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the first commerce price entry in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price entry
      Throws:
      NoSuchPriceEntryException - if a matching commerce price entry could not be found
    • fetchByUuid_First

      CommercePriceEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns the first commerce price entry in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price entry, or null if a matching commerce price entry could not be found
    • removeByUuid

      void removeByUuid(String uuid)
      Removes all the commerce price entries where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of commerce price entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching commerce price entries
    • findByUuid_C

      List<CommercePriceEntry> findByUuid_C(String uuid, long companyId)
      Returns all the commerce price entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching commerce price entries
    • findByUuid_C

      List<CommercePriceEntry> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the commerce price entries 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 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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (not inclusive)
      Returns:
      the range of matching commerce price entries
    • findByUuid_C

      List<CommercePriceEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns an ordered range of all the commerce price entries 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 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.price.list.model.impl.CommercePriceEntryModelImpl.

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

      List<CommercePriceEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce price entries 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 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.price.list.model.impl.CommercePriceEntryModelImpl.

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

      CommercePriceEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the first commerce price entry 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 commerce price entry
      Throws:
      NoSuchPriceEntryException - if a matching commerce price entry could not be found
    • fetchByUuid_C_First

      CommercePriceEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns the first commerce price entry 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 commerce price entry, or null if a matching commerce price entry could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the commerce price entries where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of commerce price entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching commerce price entries
    • findByCompanyId

      List<CommercePriceEntry> findByCompanyId(long companyId)
      Returns all the commerce price entries where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching commerce price entries
    • findByCompanyId

      List<CommercePriceEntry> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the commerce price entries 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 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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (not inclusive)
      Returns:
      the range of matching commerce price entries
    • findByCompanyId

      List<CommercePriceEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns an ordered range of all the commerce price entries 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 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.price.list.model.impl.CommercePriceEntryModelImpl.

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

      List<CommercePriceEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce price entries 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 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.price.list.model.impl.CommercePriceEntryModelImpl.

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

      CommercePriceEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the first commerce price entry 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 commerce price entry
      Throws:
      NoSuchPriceEntryException - if a matching commerce price entry could not be found
    • fetchByCompanyId_First

      CommercePriceEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns the first commerce price entry 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 commerce price entry, or null if a matching commerce price entry could not be found
    • removeByCompanyId

      void removeByCompanyId(long companyId)
      Removes all the commerce price entries where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      int countByCompanyId(long companyId)
      Returns the number of commerce price entries where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching commerce price entries
    • findByCommercePriceListId

      List<CommercePriceEntry> findByCommercePriceListId(long commercePriceListId)
      Returns all the commerce price entries where commercePriceListId = ?.
      Parameters:
      commercePriceListId - the commerce price list ID
      Returns:
      the matching commerce price entries
    • findByCommercePriceListId

      List<CommercePriceEntry> findByCommercePriceListId(long commercePriceListId, int start, int end)
      Returns a range of all the commerce price entries where commercePriceListId = ?.

      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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      commercePriceListId - the commerce price list ID
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (not inclusive)
      Returns:
      the range of matching commerce price entries
    • findByCommercePriceListId

      List<CommercePriceEntry> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns an ordered range of all the commerce price entries where commercePriceListId = ?.

      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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      commercePriceListId - the commerce price list ID
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce price entries
    • findByCommercePriceListId

      List<CommercePriceEntry> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce price entries where commercePriceListId = ?.

      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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      commercePriceListId - the commerce price list ID
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (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 entries
    • findByCommercePriceListId_First

      CommercePriceEntry findByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the first commerce price entry in the ordered set where commercePriceListId = ?.
      Parameters:
      commercePriceListId - the commerce price list ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price entry
      Throws:
      NoSuchPriceEntryException - if a matching commerce price entry could not be found
    • fetchByCommercePriceListId_First

      CommercePriceEntry fetchByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns the first commerce price entry in the ordered set where commercePriceListId = ?.
      Parameters:
      commercePriceListId - the commerce price list ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price entry, or null if a matching commerce price entry could not be found
    • removeByCommercePriceListId

      void removeByCommercePriceListId(long commercePriceListId)
      Removes all the commerce price entries where commercePriceListId = ? from the database.
      Parameters:
      commercePriceListId - the commerce price list ID
    • countByCommercePriceListId

      int countByCommercePriceListId(long commercePriceListId)
      Returns the number of commerce price entries where commercePriceListId = ?.
      Parameters:
      commercePriceListId - the commerce price list ID
      Returns:
      the number of matching commerce price entries
    • findByCPInstanceUuid

      List<CommercePriceEntry> findByCPInstanceUuid(String CPInstanceUuid)
      Returns all the commerce price entries where CPInstanceUuid = ?.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      Returns:
      the matching commerce price entries
    • findByCPInstanceUuid

      List<CommercePriceEntry> findByCPInstanceUuid(String CPInstanceUuid, int start, int end)
      Returns a range of all the commerce price entries where CPInstanceUuid = ?.

      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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      CPInstanceUuid - the cp instance uuid
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (not inclusive)
      Returns:
      the range of matching commerce price entries
    • findByCPInstanceUuid

      List<CommercePriceEntry> findByCPInstanceUuid(String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns an ordered range of all the commerce price entries where CPInstanceUuid = ?.

      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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      CPInstanceUuid - the cp instance uuid
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce price entries
    • findByCPInstanceUuid

      List<CommercePriceEntry> findByCPInstanceUuid(String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce price entries where CPInstanceUuid = ?.

      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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      CPInstanceUuid - the cp instance uuid
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (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 entries
    • findByCPInstanceUuid_First

      CommercePriceEntry findByCPInstanceUuid_First(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the first commerce price entry in the ordered set where CPInstanceUuid = ?.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price entry
      Throws:
      NoSuchPriceEntryException - if a matching commerce price entry could not be found
    • fetchByCPInstanceUuid_First

      CommercePriceEntry fetchByCPInstanceUuid_First(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns the first commerce price entry in the ordered set where CPInstanceUuid = ?.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price entry, or null if a matching commerce price entry could not be found
    • removeByCPInstanceUuid

      void removeByCPInstanceUuid(String CPInstanceUuid)
      Removes all the commerce price entries where CPInstanceUuid = ? from the database.
      Parameters:
      CPInstanceUuid - the cp instance uuid
    • countByCPInstanceUuid

      int countByCPInstanceUuid(String CPInstanceUuid)
      Returns the number of commerce price entries where CPInstanceUuid = ?.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      Returns:
      the number of matching commerce price entries
    • findByC_C

      List<CommercePriceEntry> findByC_C(long commercePriceListId, String CPInstanceUuid)
      Returns all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.
      Parameters:
      commercePriceListId - the commerce price list ID
      CPInstanceUuid - the cp instance uuid
      Returns:
      the matching commerce price entries
    • findByC_C

      List<CommercePriceEntry> findByC_C(long commercePriceListId, String CPInstanceUuid, int start, int end)
      Returns a range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.

      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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      commercePriceListId - the commerce price list ID
      CPInstanceUuid - the cp instance uuid
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (not inclusive)
      Returns:
      the range of matching commerce price entries
    • findByC_C

      List<CommercePriceEntry> findByC_C(long commercePriceListId, String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns an ordered range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.

      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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      commercePriceListId - the commerce price list ID
      CPInstanceUuid - the cp instance uuid
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce price entries
    • findByC_C

      List<CommercePriceEntry> findByC_C(long commercePriceListId, String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.

      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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      commercePriceListId - the commerce price list ID
      CPInstanceUuid - the cp instance uuid
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (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 entries
    • findByC_C_First

      CommercePriceEntry findByC_C_First(long commercePriceListId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the first commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ?.
      Parameters:
      commercePriceListId - the commerce price list ID
      CPInstanceUuid - the cp instance uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price entry
      Throws:
      NoSuchPriceEntryException - if a matching commerce price entry could not be found
    • fetchByC_C_First

      CommercePriceEntry fetchByC_C_First(long commercePriceListId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns the first commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ?.
      Parameters:
      commercePriceListId - the commerce price list ID
      CPInstanceUuid - the cp instance uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price entry, or null if a matching commerce price entry could not be found
    • removeByC_C

      void removeByC_C(long commercePriceListId, String CPInstanceUuid)
      Removes all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? from the database.
      Parameters:
      commercePriceListId - the commerce price list ID
      CPInstanceUuid - the cp instance uuid
    • countByC_C

      int countByC_C(long commercePriceListId, String CPInstanceUuid)
      Returns the number of commerce price entries where commercePriceListId = ? and CPInstanceUuid = ?.
      Parameters:
      commercePriceListId - the commerce price list ID
      CPInstanceUuid - the cp instance uuid
      Returns:
      the number of matching commerce price entries
    • findByLtD_S

      List<CommercePriceEntry> findByLtD_S(Date displayDate, int status)
      Returns all the commerce price entries where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      Returns:
      the matching commerce price entries
    • findByLtD_S

      List<CommercePriceEntry> findByLtD_S(Date displayDate, int status, int start, int end)
      Returns a range of all the commerce price entries where displayDate < ? and status = ?.

      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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (not inclusive)
      Returns:
      the range of matching commerce price entries
    • findByLtD_S

      List<CommercePriceEntry> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns an ordered range of all the commerce price entries where displayDate < ? and status = ?.

      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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce price entries
    • findByLtD_S

      List<CommercePriceEntry> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce price entries where displayDate < ? and status = ?.

      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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (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 entries
    • findByLtD_S_First

      CommercePriceEntry findByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the first commerce price entry in the ordered set where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price entry
      Throws:
      NoSuchPriceEntryException - if a matching commerce price entry could not be found
    • fetchByLtD_S_First

      CommercePriceEntry fetchByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns the first commerce price entry in the ordered set where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price entry, or null if a matching commerce price entry could not be found
    • removeByLtD_S

      void removeByLtD_S(Date displayDate, int status)
      Removes all the commerce price entries where displayDate < ? and status = ? from the database.
      Parameters:
      displayDate - the display date
      status - the status
    • countByLtD_S

      int countByLtD_S(Date displayDate, int status)
      Returns the number of commerce price entries where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      Returns:
      the number of matching commerce price entries
    • findByLtE_S

      List<CommercePriceEntry> findByLtE_S(Date expirationDate, int status)
      Returns all the commerce price entries where expirationDate < ? and status = ?.
      Parameters:
      expirationDate - the expiration date
      status - the status
      Returns:
      the matching commerce price entries
    • findByLtE_S

      List<CommercePriceEntry> findByLtE_S(Date expirationDate, int status, int start, int end)
      Returns a range of all the commerce price entries where expirationDate < ? and status = ?.

      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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      expirationDate - the expiration date
      status - the status
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (not inclusive)
      Returns:
      the range of matching commerce price entries
    • findByLtE_S

      List<CommercePriceEntry> findByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns an ordered range of all the commerce price entries where expirationDate < ? and status = ?.

      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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      expirationDate - the expiration date
      status - the status
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce price entries
    • findByLtE_S

      List<CommercePriceEntry> findByLtE_S(Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce price entries where expirationDate < ? and status = ?.

      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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      expirationDate - the expiration date
      status - the status
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (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 entries
    • findByLtE_S_First

      CommercePriceEntry findByLtE_S_First(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the first commerce price entry in the ordered set where expirationDate < ? and status = ?.
      Parameters:
      expirationDate - the expiration date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price entry
      Throws:
      NoSuchPriceEntryException - if a matching commerce price entry could not be found
    • fetchByLtE_S_First

      CommercePriceEntry fetchByLtE_S_First(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns the first commerce price entry in the ordered set where expirationDate < ? and status = ?.
      Parameters:
      expirationDate - the expiration date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price entry, or null if a matching commerce price entry could not be found
    • removeByLtE_S

      void removeByLtE_S(Date expirationDate, int status)
      Removes all the commerce price entries where expirationDate < ? and status = ? from the database.
      Parameters:
      expirationDate - the expiration date
      status - the status
    • countByLtE_S

      int countByLtE_S(Date expirationDate, int status)
      Returns the number of commerce price entries where expirationDate < ? and status = ?.
      Parameters:
      expirationDate - the expiration date
      status - the status
      Returns:
      the number of matching commerce price entries
    • findByC_C_S

      List<CommercePriceEntry> findByC_C_S(long commercePriceListId, String CPInstanceUuid, int status)
      Returns all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.
      Parameters:
      commercePriceListId - the commerce price list ID
      CPInstanceUuid - the cp instance uuid
      status - the status
      Returns:
      the matching commerce price entries
    • findByC_C_S

      List<CommercePriceEntry> findByC_C_S(long commercePriceListId, String CPInstanceUuid, int status, int start, int end)
      Returns a range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.

      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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      commercePriceListId - the commerce price list ID
      CPInstanceUuid - the cp instance uuid
      status - the status
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (not inclusive)
      Returns:
      the range of matching commerce price entries
    • findByC_C_S

      List<CommercePriceEntry> findByC_C_S(long commercePriceListId, String CPInstanceUuid, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns an ordered range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.

      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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      commercePriceListId - the commerce price list ID
      CPInstanceUuid - the cp instance uuid
      status - the status
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce price entries
    • findByC_C_S

      List<CommercePriceEntry> findByC_C_S(long commercePriceListId, String CPInstanceUuid, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.

      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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      commercePriceListId - the commerce price list ID
      CPInstanceUuid - the cp instance uuid
      status - the status
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (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 entries
    • findByC_C_S_First

      CommercePriceEntry findByC_C_S_First(long commercePriceListId, String CPInstanceUuid, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the first commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.
      Parameters:
      commercePriceListId - the commerce price list ID
      CPInstanceUuid - the cp instance uuid
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price entry
      Throws:
      NoSuchPriceEntryException - if a matching commerce price entry could not be found
    • fetchByC_C_S_First

      CommercePriceEntry fetchByC_C_S_First(long commercePriceListId, String CPInstanceUuid, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns the first commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.
      Parameters:
      commercePriceListId - the commerce price list ID
      CPInstanceUuid - the cp instance uuid
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price entry, or null if a matching commerce price entry could not be found
    • removeByC_C_S

      void removeByC_C_S(long commercePriceListId, String CPInstanceUuid, int status)
      Removes all the commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ? from the database.
      Parameters:
      commercePriceListId - the commerce price list ID
      CPInstanceUuid - the cp instance uuid
      status - the status
    • countByC_C_S

      int countByC_C_S(long commercePriceListId, String CPInstanceUuid, int status)
      Returns the number of commerce price entries where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.
      Parameters:
      commercePriceListId - the commerce price list ID
      CPInstanceUuid - the cp instance uuid
      status - the status
      Returns:
      the number of matching commerce price entries
    • findByC_Q_U

      List<CommercePriceEntry> findByC_Q_U(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey)
      Returns all the commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      quantity - the quantity
      unitOfMeasureKey - the unit of measure key
      Returns:
      the matching commerce price entries
    • findByC_Q_U

      List<CommercePriceEntry> findByC_Q_U(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, int start, int end)
      Returns a range of all the commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.

      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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      CPInstanceUuid - the cp instance uuid
      quantity - the quantity
      unitOfMeasureKey - the unit of measure key
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (not inclusive)
      Returns:
      the range of matching commerce price entries
    • findByC_Q_U

      List<CommercePriceEntry> findByC_Q_U(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns an ordered range of all the commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.

      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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      CPInstanceUuid - the cp instance uuid
      quantity - the quantity
      unitOfMeasureKey - the unit of measure key
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce price entries
    • findByC_Q_U

      List<CommercePriceEntry> findByC_Q_U(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.

      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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      CPInstanceUuid - the cp instance uuid
      quantity - the quantity
      unitOfMeasureKey - the unit of measure key
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (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 entries
    • findByC_Q_U_First

      CommercePriceEntry findByC_Q_U_First(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the first commerce price entry in the ordered set where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      quantity - the quantity
      unitOfMeasureKey - the unit of measure key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price entry
      Throws:
      NoSuchPriceEntryException - if a matching commerce price entry could not be found
    • fetchByC_Q_U_First

      CommercePriceEntry fetchByC_Q_U_First(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns the first commerce price entry in the ordered set where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      quantity - the quantity
      unitOfMeasureKey - the unit of measure key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce price entry, or null if a matching commerce price entry could not be found
    • removeByC_Q_U

      void removeByC_Q_U(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey)
      Removes all the commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ? from the database.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      quantity - the quantity
      unitOfMeasureKey - the unit of measure key
    • countByC_Q_U

      int countByC_Q_U(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey)
      Returns the number of commerce price entries where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      quantity - the quantity
      unitOfMeasureKey - the unit of measure key
      Returns:
      the number of matching commerce price entries
    • findByERC_C

      CommercePriceEntry findByERC_C(String externalReferenceCode, long companyId) throws NoSuchPriceEntryException
      Returns the commerce price entry where externalReferenceCode = ? and companyId = ? or throws a NoSuchPriceEntryException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching commerce price entry
      Throws:
      NoSuchPriceEntryException - if a matching commerce price entry could not be found
    • fetchByERC_C

      CommercePriceEntry fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the commerce price entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching commerce price entry, or null if a matching commerce price entry could not be found
    • fetchByERC_C

      CommercePriceEntry fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the commerce price entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce price entry, or null if a matching commerce price entry could not be found
    • removeByERC_C

      CommercePriceEntry removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchPriceEntryException
      Removes the commerce price entry where externalReferenceCode = ? and companyId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the commerce price entry that was removed
      Throws:
      NoSuchPriceEntryException
    • countByERC_C

      int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of commerce price entries where externalReferenceCode = ? and companyId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the number of matching commerce price entries
    • cacheResult

      void cacheResult(CommercePriceEntry commercePriceEntry)
      Caches the commerce price entry in the entity cache if it is enabled.
      Parameters:
      commercePriceEntry - the commerce price entry
    • cacheResult

      void cacheResult(List<CommercePriceEntry> commercePriceEntries)
      Caches the commerce price entries in the entity cache if it is enabled.
      Parameters:
      commercePriceEntries - the commerce price entries
    • create

      CommercePriceEntry create(long commercePriceEntryId)
      Creates a new commerce price entry with the primary key. Does not add the commerce price entry to the database.
      Parameters:
      commercePriceEntryId - the primary key for the new commerce price entry
      Returns:
      the new commerce price entry
    • remove

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

      CommercePriceEntry updateImpl(CommercePriceEntry commercePriceEntry)
    • findByPrimaryKey

      CommercePriceEntry findByPrimaryKey(long commercePriceEntryId) throws NoSuchPriceEntryException
      Returns the commerce price entry with the primary key or throws a NoSuchPriceEntryException if it could not be found.
      Parameters:
      commercePriceEntryId - the primary key of the commerce price entry
      Returns:
      the commerce price entry
      Throws:
      NoSuchPriceEntryException - if a commerce price entry with the primary key could not be found
    • fetchByPrimaryKey

      CommercePriceEntry fetchByPrimaryKey(long commercePriceEntryId)
      Returns the commerce price entry with the primary key or returns null if it could not be found.
      Parameters:
      commercePriceEntryId - the primary key of the commerce price entry
      Returns:
      the commerce price entry, or null if a commerce price entry with the primary key could not be found
    • findAll

      Returns all the commerce price entries.
      Returns:
      the commerce price entries
    • findAll

      List<CommercePriceEntry> findAll(int start, int end)
      Returns a range of all the commerce price entries.

      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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (not inclusive)
      Returns:
      the range of commerce price entries
    • findAll

      List<CommercePriceEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns an ordered range of all the commerce price entries.

      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.price.list.model.impl.CommercePriceEntryModelImpl.

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

      List<CommercePriceEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce price entries.

      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.price.list.model.impl.CommercePriceEntryModelImpl.

      Parameters:
      start - the lower bound of the range of commerce price entries
      end - the upper bound of the range of commerce price entries (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 price entries
    • removeAll

      void removeAll()
      Removes all the commerce price entries from the database.
    • countAll

      int countAll()
      Returns the number of commerce price entries.
      Returns:
      the number of commerce price entries