Class CommercePriceEntryUtil

java.lang.Object
com.liferay.commerce.price.list.service.persistence.CommercePriceEntryUtil

public class CommercePriceEntryUtil extends Object
The persistence utility for the commerce price entry service. This utility wraps com.liferay.commerce.price.list.service.persistence.impl.CommercePriceEntryPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Details

    • CommercePriceEntryUtil

      public CommercePriceEntryUtil()
  • Method Details

    • clearCache

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

      public static void clearCache(CommercePriceEntry commercePriceEntry)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,CommercePriceEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

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

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

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

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

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

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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchPriceEntryException
    • fetchByUuid_First

      public static 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

      public static 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
      NoSuchPriceEntryException
    • fetchByUuid_Last

      public static 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

      public static 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
      NoSuchPriceEntryException
    • removeByUuid

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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchPriceEntryException
    • fetchByUuid_C_First

      public static 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

      public static 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
      NoSuchPriceEntryException
    • fetchByUuid_C_Last

      public static 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

      public static 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
      NoSuchPriceEntryException
    • removeByUuid_C

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchPriceEntryException
    • fetchByCompanyId_First

      public static 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

      public static 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
      NoSuchPriceEntryException
    • fetchByCompanyId_Last

      public static 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

      public static 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
      NoSuchPriceEntryException
    • removeByCompanyId

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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchPriceEntryException
    • fetchByCommercePriceListId_First

      public static 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

      public static 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
      NoSuchPriceEntryException
    • fetchByCommercePriceListId_Last

      public static 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

      public static 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
      NoSuchPriceEntryException
    • removeByCommercePriceListId

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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchPriceEntryException
    • fetchByCPInstanceUuid_First

      public static 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

      public static 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
      NoSuchPriceEntryException
    • fetchByCPInstanceUuid_Last

      public static 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

      public static 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
      NoSuchPriceEntryException
    • removeByCPInstanceUuid

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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchPriceEntryException
    • fetchByC_C_First

      public static 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

      public static 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
      NoSuchPriceEntryException
    • fetchByC_C_Last

      public static 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

      public static 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
      NoSuchPriceEntryException
    • removeByC_C

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchPriceEntryException
    • fetchByLtD_S_First

      public static 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

      public static 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
      NoSuchPriceEntryException
    • fetchByLtD_S_Last

      public static 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

      public static 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
      NoSuchPriceEntryException
    • removeByLtD_S

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchPriceEntryException
    • fetchByLtE_S_First

      public static 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

      public static 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
      NoSuchPriceEntryException
    • fetchByLtE_S_Last

      public static 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

      public static 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
      NoSuchPriceEntryException
    • removeByLtE_S

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchPriceEntryException
    • fetchByC_C_S_First

      public static 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

      public static 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
      NoSuchPriceEntryException
    • fetchByC_C_S_Last

      public static 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

      public static 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
      NoSuchPriceEntryException
    • removeByC_C_S

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchPriceEntryException
    • fetchByC_Q_U_First

      public static 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

      public static 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
      NoSuchPriceEntryException
    • fetchByC_Q_U_Last

      public static 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

      public static 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
      NoSuchPriceEntryException
    • removeByC_Q_U

      public static 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

      public static 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

      public static 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
      NoSuchPriceEntryException
    • fetchByERC_C

      public static 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

      public static 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

      public static 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

      public static 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

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

      public static 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

      public static 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

      public static 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
      NoSuchPriceEntryException
    • updateImpl

      public static CommercePriceEntry updateImpl(CommercePriceEntry commercePriceEntry)
    • findByPrimaryKey

      public static 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
      NoSuchPriceEntryException
    • fetchByPrimaryKey

      public static 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

      public static List<CommercePriceEntry> findAll()
      Returns all the commerce price entries.
      Returns:
      the commerce price entries
    • findAll

      public static 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

      public static 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

      public static 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

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

      public static int countAll()
      Returns the number of commerce price entries.
      Returns:
      the number of commerce price entries
    • getPersistence

      public static CommercePriceEntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(CommercePriceEntryPersistence persistence)