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 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 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 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 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 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 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 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
    • findByUuid_Last

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

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

      CommercePriceEntry[] findByUuid_PrevAndNext(long commercePriceEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the commerce price entries before and after the current commerce price entry in the ordered set where uuid = ?.
      Parameters:
      commercePriceEntryId - the primary key of the current commerce price entry
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce price entry
      Throws:
      NoSuchPriceEntryException - if a commerce price entry with the primary key 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 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 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 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 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 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 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
    • findByUuid_C_Last

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

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

      CommercePriceEntry[] findByUuid_C_PrevAndNext(long commercePriceEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the commerce price entries before and after the current commerce price entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      commercePriceEntryId - the primary key of the current commerce price entry
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce price entry
      Throws:
      NoSuchPriceEntryException - if a commerce price entry with the primary key 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 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 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 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 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 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 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
    • findByCompanyId_Last

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

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

      CommercePriceEntry[] findByCompanyId_PrevAndNext(long commercePriceEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the commerce price entries before and after the current commerce price entry in the ordered set where companyId = ?.
      Parameters:
      commercePriceEntryId - the primary key of the current commerce price entry
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce price entry
      Throws:
      NoSuchPriceEntryException - if a commerce price entry with the primary key 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 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 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 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 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 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 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
    • findByCommercePriceListId_Last

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

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

      CommercePriceEntry[] findByCommercePriceListId_PrevAndNext(long commercePriceEntryId, long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the commerce price entries before and after the current commerce price entry in the ordered set where commercePriceListId = ?.
      Parameters:
      commercePriceEntryId - the primary key of the current commerce price entry
      commercePriceListId - the commerce price list ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce price entry
      Throws:
      NoSuchPriceEntryException - if a commerce price entry with the primary key 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 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 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 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 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 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 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
    • findByCPInstanceUuid_Last

      CommercePriceEntry findByCPInstanceUuid_Last(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the last 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 last matching commerce price entry
      Throws:
      NoSuchPriceEntryException - if a matching commerce price entry could not be found
    • fetchByCPInstanceUuid_Last

      CommercePriceEntry fetchByCPInstanceUuid_Last(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns the last 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 last matching commerce price entry, or null if a matching commerce price entry could not be found
    • findByCPInstanceUuid_PrevAndNext

      CommercePriceEntry[] findByCPInstanceUuid_PrevAndNext(long commercePriceEntryId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the commerce price entries before and after the current commerce price entry in the ordered set where CPInstanceUuid = ?.
      Parameters:
      commercePriceEntryId - the primary key of the current commerce price entry
      CPInstanceUuid - the cp instance uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce price entry
      Throws:
      NoSuchPriceEntryException - if a commerce price entry with the primary key 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 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 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 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 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 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 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
    • findByC_C_Last

      CommercePriceEntry findByC_C_Last(long commercePriceListId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the last 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 last matching commerce price entry
      Throws:
      NoSuchPriceEntryException - if a matching commerce price entry could not be found
    • fetchByC_C_Last

      CommercePriceEntry fetchByC_C_Last(long commercePriceListId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns the last 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 last matching commerce price entry, or null if a matching commerce price entry could not be found
    • findByC_C_PrevAndNext

      CommercePriceEntry[] findByC_C_PrevAndNext(long commercePriceEntryId, long commercePriceListId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the commerce price entries before and after the current commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ?.
      Parameters:
      commercePriceEntryId - the primary key of the current commerce price entry
      commercePriceListId - the commerce price list ID
      CPInstanceUuid - the cp instance uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce price entry
      Throws:
      NoSuchPriceEntryException - if a commerce price entry with the primary key 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 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 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 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 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 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 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
    • findByLtD_S_Last

      CommercePriceEntry findByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the last 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 last matching commerce price entry
      Throws:
      NoSuchPriceEntryException - if a matching commerce price entry could not be found
    • fetchByLtD_S_Last

      CommercePriceEntry fetchByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns the last 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 last matching commerce price entry, or null if a matching commerce price entry could not be found
    • findByLtD_S_PrevAndNext

      CommercePriceEntry[] findByLtD_S_PrevAndNext(long commercePriceEntryId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the commerce price entries before and after the current commerce price entry in the ordered set where displayDate < ? and status = ?.
      Parameters:
      commercePriceEntryId - the primary key of the current commerce price entry
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce price entry
      Throws:
      NoSuchPriceEntryException - if a commerce price entry with the primary key 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 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 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 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 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 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 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
    • findByLtE_S_Last

      CommercePriceEntry findByLtE_S_Last(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the last 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 last matching commerce price entry
      Throws:
      NoSuchPriceEntryException - if a matching commerce price entry could not be found
    • fetchByLtE_S_Last

      CommercePriceEntry fetchByLtE_S_Last(Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns the last 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 last matching commerce price entry, or null if a matching commerce price entry could not be found
    • findByLtE_S_PrevAndNext

      CommercePriceEntry[] findByLtE_S_PrevAndNext(long commercePriceEntryId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the commerce price entries before and after the current commerce price entry in the ordered set where expirationDate < ? and status = ?.
      Parameters:
      commercePriceEntryId - the primary key of the current commerce price entry
      expirationDate - the expiration date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce price entry
      Throws:
      NoSuchPriceEntryException - if a commerce price entry with the primary key 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 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 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 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 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 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 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
    • findByC_C_S_Last

      CommercePriceEntry findByC_C_S_Last(long commercePriceListId, String CPInstanceUuid, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the last 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 last matching commerce price entry
      Throws:
      NoSuchPriceEntryException - if a matching commerce price entry could not be found
    • fetchByC_C_S_Last

      CommercePriceEntry fetchByC_C_S_Last(long commercePriceListId, String CPInstanceUuid, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns the last 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 last matching commerce price entry, or null if a matching commerce price entry could not be found
    • findByC_C_S_PrevAndNext

      CommercePriceEntry[] findByC_C_S_PrevAndNext(long commercePriceEntryId, long commercePriceListId, String CPInstanceUuid, int status, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the commerce price entries before and after the current commerce price entry in the ordered set where commercePriceListId = ? and CPInstanceUuid = ? and status = ?.
      Parameters:
      commercePriceEntryId - the primary key of the current commerce price entry
      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 previous, current, and next commerce price entry
      Throws:
      NoSuchPriceEntryException - if a commerce price entry with the primary key 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 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 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 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 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 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 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
    • findByC_Q_U_Last

      CommercePriceEntry findByC_Q_U_Last(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the last 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 last matching commerce price entry
      Throws:
      NoSuchPriceEntryException - if a matching commerce price entry could not be found
    • fetchByC_Q_U_Last

      CommercePriceEntry fetchByC_Q_U_Last(String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator)
      Returns the last 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 last matching commerce price entry, or null if a matching commerce price entry could not be found
    • findByC_Q_U_PrevAndNext

      CommercePriceEntry[] findByC_Q_U_PrevAndNext(long commercePriceEntryId, String CPInstanceUuid, BigDecimal quantity, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceEntry> orderByComparator) throws NoSuchPriceEntryException
      Returns the commerce price entries before and after the current commerce price entry in the ordered set where CPInstanceUuid = ? and quantity = ? and unitOfMeasureKey = ?.
      Parameters:
      commercePriceEntryId - the primary key of the current commerce price entry
      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 previous, current, and next commerce price entry
      Throws:
      NoSuchPriceEntryException - if a commerce price entry with the primary key 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 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 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 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 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 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 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