Interface CommerceInventoryBookedQuantityPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceInventoryBookedQuantity>

@ProviderType public interface CommerceInventoryBookedQuantityPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceInventoryBookedQuantity>
The persistence interface for the commerce inventory booked quantity service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByLtExpirationDate

      List<CommerceInventoryBookedQuantity> findByLtExpirationDate(Date expirationDate)
      Returns all the commerce inventory booked quantities where expirationDate < ?.
      Parameters:
      expirationDate - the expiration date
      Returns:
      the matching commerce inventory booked quantities
    • findByLtExpirationDate

      List<CommerceInventoryBookedQuantity> findByLtExpirationDate(Date expirationDate, int start, int end)
      Returns a range of all the commerce inventory booked quantities where expirationDate < ?.

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

      Parameters:
      expirationDate - the expiration date
      start - the lower bound of the range of commerce inventory booked quantities
      end - the upper bound of the range of commerce inventory booked quantities (not inclusive)
      Returns:
      the range of matching commerce inventory booked quantities
    • findByLtExpirationDate

      List<CommerceInventoryBookedQuantity> findByLtExpirationDate(Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
      Returns an ordered range of all the commerce inventory booked quantities where expirationDate < ?.

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

      Parameters:
      expirationDate - the expiration date
      start - the lower bound of the range of commerce inventory booked quantities
      end - the upper bound of the range of commerce inventory booked quantities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce inventory booked quantities
    • findByLtExpirationDate

      List<CommerceInventoryBookedQuantity> findByLtExpirationDate(Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce inventory booked quantities where expirationDate < ?.

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

      Parameters:
      expirationDate - the expiration date
      start - the lower bound of the range of commerce inventory booked quantities
      end - the upper bound of the range of commerce inventory booked quantities (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 inventory booked quantities
    • findByLtExpirationDate_First

      CommerceInventoryBookedQuantity findByLtExpirationDate_First(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator) throws NoSuchInventoryBookedQuantityException
      Returns the first commerce inventory booked quantity in the ordered set where expirationDate < ?.
      Parameters:
      expirationDate - the expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce inventory booked quantity
      Throws:
      NoSuchInventoryBookedQuantityException - if a matching commerce inventory booked quantity could not be found
    • fetchByLtExpirationDate_First

      CommerceInventoryBookedQuantity fetchByLtExpirationDate_First(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
      Returns the first commerce inventory booked quantity in the ordered set where expirationDate < ?.
      Parameters:
      expirationDate - the expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce inventory booked quantity, or null if a matching commerce inventory booked quantity could not be found
    • findByLtExpirationDate_Last

      CommerceInventoryBookedQuantity findByLtExpirationDate_Last(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator) throws NoSuchInventoryBookedQuantityException
      Returns the last commerce inventory booked quantity in the ordered set where expirationDate < ?.
      Parameters:
      expirationDate - the expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce inventory booked quantity
      Throws:
      NoSuchInventoryBookedQuantityException - if a matching commerce inventory booked quantity could not be found
    • fetchByLtExpirationDate_Last

      CommerceInventoryBookedQuantity fetchByLtExpirationDate_Last(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
      Returns the last commerce inventory booked quantity in the ordered set where expirationDate < ?.
      Parameters:
      expirationDate - the expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce inventory booked quantity, or null if a matching commerce inventory booked quantity could not be found
    • findByLtExpirationDate_PrevAndNext

      CommerceInventoryBookedQuantity[] findByLtExpirationDate_PrevAndNext(long commerceInventoryBookedQuantityId, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator) throws NoSuchInventoryBookedQuantityException
      Returns the commerce inventory booked quantities before and after the current commerce inventory booked quantity in the ordered set where expirationDate < ?.
      Parameters:
      commerceInventoryBookedQuantityId - the primary key of the current commerce inventory booked quantity
      expirationDate - the expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce inventory booked quantity
      Throws:
      NoSuchInventoryBookedQuantityException - if a commerce inventory booked quantity with the primary key could not be found
    • removeByLtExpirationDate

      void removeByLtExpirationDate(Date expirationDate)
      Removes all the commerce inventory booked quantities where expirationDate < ? from the database.
      Parameters:
      expirationDate - the expiration date
    • countByLtExpirationDate

      int countByLtExpirationDate(Date expirationDate)
      Returns the number of commerce inventory booked quantities where expirationDate < ?.
      Parameters:
      expirationDate - the expiration date
      Returns:
      the number of matching commerce inventory booked quantities
    • findBySku

      Returns all the commerce inventory booked quantities where sku = ?.
      Parameters:
      sku - the sku
      Returns:
      the matching commerce inventory booked quantities
    • findBySku

      List<CommerceInventoryBookedQuantity> findBySku(String sku, int start, int end)
      Returns a range of all the commerce inventory booked quantities where sku = ?.

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

      Parameters:
      sku - the sku
      start - the lower bound of the range of commerce inventory booked quantities
      end - the upper bound of the range of commerce inventory booked quantities (not inclusive)
      Returns:
      the range of matching commerce inventory booked quantities
    • findBySku

      List<CommerceInventoryBookedQuantity> findBySku(String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
      Returns an ordered range of all the commerce inventory booked quantities where sku = ?.

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

      Parameters:
      sku - the sku
      start - the lower bound of the range of commerce inventory booked quantities
      end - the upper bound of the range of commerce inventory booked quantities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce inventory booked quantities
    • findBySku

      List<CommerceInventoryBookedQuantity> findBySku(String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce inventory booked quantities where sku = ?.

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

      Parameters:
      sku - the sku
      start - the lower bound of the range of commerce inventory booked quantities
      end - the upper bound of the range of commerce inventory booked quantities (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 inventory booked quantities
    • findBySku_First

      CommerceInventoryBookedQuantity findBySku_First(String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator) throws NoSuchInventoryBookedQuantityException
      Returns the first commerce inventory booked quantity in the ordered set where sku = ?.
      Parameters:
      sku - the sku
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce inventory booked quantity
      Throws:
      NoSuchInventoryBookedQuantityException - if a matching commerce inventory booked quantity could not be found
    • fetchBySku_First

      CommerceInventoryBookedQuantity fetchBySku_First(String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
      Returns the first commerce inventory booked quantity in the ordered set where sku = ?.
      Parameters:
      sku - the sku
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce inventory booked quantity, or null if a matching commerce inventory booked quantity could not be found
    • findBySku_Last

      CommerceInventoryBookedQuantity findBySku_Last(String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator) throws NoSuchInventoryBookedQuantityException
      Returns the last commerce inventory booked quantity in the ordered set where sku = ?.
      Parameters:
      sku - the sku
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce inventory booked quantity
      Throws:
      NoSuchInventoryBookedQuantityException - if a matching commerce inventory booked quantity could not be found
    • fetchBySku_Last

      CommerceInventoryBookedQuantity fetchBySku_Last(String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
      Returns the last commerce inventory booked quantity in the ordered set where sku = ?.
      Parameters:
      sku - the sku
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce inventory booked quantity, or null if a matching commerce inventory booked quantity could not be found
    • findBySku_PrevAndNext

      CommerceInventoryBookedQuantity[] findBySku_PrevAndNext(long commerceInventoryBookedQuantityId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator) throws NoSuchInventoryBookedQuantityException
      Returns the commerce inventory booked quantities before and after the current commerce inventory booked quantity in the ordered set where sku = ?.
      Parameters:
      commerceInventoryBookedQuantityId - the primary key of the current commerce inventory booked quantity
      sku - the sku
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce inventory booked quantity
      Throws:
      NoSuchInventoryBookedQuantityException - if a commerce inventory booked quantity with the primary key could not be found
    • removeBySku

      void removeBySku(String sku)
      Removes all the commerce inventory booked quantities where sku = ? from the database.
      Parameters:
      sku - the sku
    • countBySku

      int countBySku(String sku)
      Returns the number of commerce inventory booked quantities where sku = ?.
      Parameters:
      sku - the sku
      Returns:
      the number of matching commerce inventory booked quantities
    • findByC_S_U

      List<CommerceInventoryBookedQuantity> findByC_S_U(long companyId, String sku, String unitOfMeasureKey)
      Returns all the commerce inventory booked quantities where companyId = ? and sku = ? and unitOfMeasureKey = ?.
      Parameters:
      companyId - the company ID
      sku - the sku
      unitOfMeasureKey - the unit of measure key
      Returns:
      the matching commerce inventory booked quantities
    • findByC_S_U

      List<CommerceInventoryBookedQuantity> findByC_S_U(long companyId, String sku, String unitOfMeasureKey, int start, int end)
      Returns a range of all the commerce inventory booked quantities where companyId = ? and sku = ? 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 CommerceInventoryBookedQuantityModelImpl.

      Parameters:
      companyId - the company ID
      sku - the sku
      unitOfMeasureKey - the unit of measure key
      start - the lower bound of the range of commerce inventory booked quantities
      end - the upper bound of the range of commerce inventory booked quantities (not inclusive)
      Returns:
      the range of matching commerce inventory booked quantities
    • findByC_S_U

      List<CommerceInventoryBookedQuantity> findByC_S_U(long companyId, String sku, String unitOfMeasureKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
      Returns an ordered range of all the commerce inventory booked quantities where companyId = ? and sku = ? 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 CommerceInventoryBookedQuantityModelImpl.

      Parameters:
      companyId - the company ID
      sku - the sku
      unitOfMeasureKey - the unit of measure key
      start - the lower bound of the range of commerce inventory booked quantities
      end - the upper bound of the range of commerce inventory booked quantities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce inventory booked quantities
    • findByC_S_U

      List<CommerceInventoryBookedQuantity> findByC_S_U(long companyId, String sku, String unitOfMeasureKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce inventory booked quantities where companyId = ? and sku = ? 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 CommerceInventoryBookedQuantityModelImpl.

      Parameters:
      companyId - the company ID
      sku - the sku
      unitOfMeasureKey - the unit of measure key
      start - the lower bound of the range of commerce inventory booked quantities
      end - the upper bound of the range of commerce inventory booked quantities (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 inventory booked quantities
    • findByC_S_U_First

      CommerceInventoryBookedQuantity findByC_S_U_First(long companyId, String sku, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator) throws NoSuchInventoryBookedQuantityException
      Returns the first commerce inventory booked quantity in the ordered set where companyId = ? and sku = ? and unitOfMeasureKey = ?.
      Parameters:
      companyId - the company ID
      sku - the sku
      unitOfMeasureKey - the unit of measure key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce inventory booked quantity
      Throws:
      NoSuchInventoryBookedQuantityException - if a matching commerce inventory booked quantity could not be found
    • fetchByC_S_U_First

      CommerceInventoryBookedQuantity fetchByC_S_U_First(long companyId, String sku, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
      Returns the first commerce inventory booked quantity in the ordered set where companyId = ? and sku = ? and unitOfMeasureKey = ?.
      Parameters:
      companyId - the company ID
      sku - the sku
      unitOfMeasureKey - the unit of measure key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce inventory booked quantity, or null if a matching commerce inventory booked quantity could not be found
    • findByC_S_U_Last

      CommerceInventoryBookedQuantity findByC_S_U_Last(long companyId, String sku, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator) throws NoSuchInventoryBookedQuantityException
      Returns the last commerce inventory booked quantity in the ordered set where companyId = ? and sku = ? and unitOfMeasureKey = ?.
      Parameters:
      companyId - the company ID
      sku - the sku
      unitOfMeasureKey - the unit of measure key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce inventory booked quantity
      Throws:
      NoSuchInventoryBookedQuantityException - if a matching commerce inventory booked quantity could not be found
    • fetchByC_S_U_Last

      CommerceInventoryBookedQuantity fetchByC_S_U_Last(long companyId, String sku, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
      Returns the last commerce inventory booked quantity in the ordered set where companyId = ? and sku = ? and unitOfMeasureKey = ?.
      Parameters:
      companyId - the company ID
      sku - the sku
      unitOfMeasureKey - the unit of measure key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce inventory booked quantity, or null if a matching commerce inventory booked quantity could not be found
    • findByC_S_U_PrevAndNext

      CommerceInventoryBookedQuantity[] findByC_S_U_PrevAndNext(long commerceInventoryBookedQuantityId, long companyId, String sku, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator) throws NoSuchInventoryBookedQuantityException
      Returns the commerce inventory booked quantities before and after the current commerce inventory booked quantity in the ordered set where companyId = ? and sku = ? and unitOfMeasureKey = ?.
      Parameters:
      commerceInventoryBookedQuantityId - the primary key of the current commerce inventory booked quantity
      companyId - the company ID
      sku - the sku
      unitOfMeasureKey - the unit of measure key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce inventory booked quantity
      Throws:
      NoSuchInventoryBookedQuantityException - if a commerce inventory booked quantity with the primary key could not be found
    • removeByC_S_U

      void removeByC_S_U(long companyId, String sku, String unitOfMeasureKey)
      Removes all the commerce inventory booked quantities where companyId = ? and sku = ? and unitOfMeasureKey = ? from the database.
      Parameters:
      companyId - the company ID
      sku - the sku
      unitOfMeasureKey - the unit of measure key
    • countByC_S_U

      int countByC_S_U(long companyId, String sku, String unitOfMeasureKey)
      Returns the number of commerce inventory booked quantities where companyId = ? and sku = ? and unitOfMeasureKey = ?.
      Parameters:
      companyId - the company ID
      sku - the sku
      unitOfMeasureKey - the unit of measure key
      Returns:
      the number of matching commerce inventory booked quantities
    • cacheResult

      void cacheResult(CommerceInventoryBookedQuantity commerceInventoryBookedQuantity)
      Caches the commerce inventory booked quantity in the entity cache if it is enabled.
      Parameters:
      commerceInventoryBookedQuantity - the commerce inventory booked quantity
    • cacheResult

      void cacheResult(List<CommerceInventoryBookedQuantity> commerceInventoryBookedQuantities)
      Caches the commerce inventory booked quantities in the entity cache if it is enabled.
      Parameters:
      commerceInventoryBookedQuantities - the commerce inventory booked quantities
    • create

      CommerceInventoryBookedQuantity create(long commerceInventoryBookedQuantityId)
      Creates a new commerce inventory booked quantity with the primary key. Does not add the commerce inventory booked quantity to the database.
      Parameters:
      commerceInventoryBookedQuantityId - the primary key for the new commerce inventory booked quantity
      Returns:
      the new commerce inventory booked quantity
    • remove

      CommerceInventoryBookedQuantity remove(long commerceInventoryBookedQuantityId) throws NoSuchInventoryBookedQuantityException
      Removes the commerce inventory booked quantity with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      commerceInventoryBookedQuantityId - the primary key of the commerce inventory booked quantity
      Returns:
      the commerce inventory booked quantity that was removed
      Throws:
      NoSuchInventoryBookedQuantityException - if a commerce inventory booked quantity with the primary key could not be found
    • updateImpl

      CommerceInventoryBookedQuantity updateImpl(CommerceInventoryBookedQuantity commerceInventoryBookedQuantity)
    • findByPrimaryKey

      CommerceInventoryBookedQuantity findByPrimaryKey(long commerceInventoryBookedQuantityId) throws NoSuchInventoryBookedQuantityException
      Returns the commerce inventory booked quantity with the primary key or throws a NoSuchInventoryBookedQuantityException if it could not be found.
      Parameters:
      commerceInventoryBookedQuantityId - the primary key of the commerce inventory booked quantity
      Returns:
      the commerce inventory booked quantity
      Throws:
      NoSuchInventoryBookedQuantityException - if a commerce inventory booked quantity with the primary key could not be found
    • fetchByPrimaryKey

      CommerceInventoryBookedQuantity fetchByPrimaryKey(long commerceInventoryBookedQuantityId)
      Returns the commerce inventory booked quantity with the primary key or returns null if it could not be found.
      Parameters:
      commerceInventoryBookedQuantityId - the primary key of the commerce inventory booked quantity
      Returns:
      the commerce inventory booked quantity, or null if a commerce inventory booked quantity with the primary key could not be found
    • findAll

      Returns all the commerce inventory booked quantities.
      Returns:
      the commerce inventory booked quantities
    • findAll

      List<CommerceInventoryBookedQuantity> findAll(int start, int end)
      Returns a range of all the commerce inventory booked quantities.

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

      Parameters:
      start - the lower bound of the range of commerce inventory booked quantities
      end - the upper bound of the range of commerce inventory booked quantities (not inclusive)
      Returns:
      the range of commerce inventory booked quantities
    • findAll

      List<CommerceInventoryBookedQuantity> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryBookedQuantity> orderByComparator)
      Returns an ordered range of all the commerce inventory booked quantities.

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

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

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

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

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

      void removeAll()
      Removes all the commerce inventory booked quantities from the database.
    • countAll

      int countAll()
      Returns the number of commerce inventory booked quantities.
      Returns:
      the number of commerce inventory booked quantities