Interface CommerceInventoryReplenishmentItemPersistence

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

@ProviderType public interface CommerceInventoryReplenishmentItemPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceInventoryReplenishmentItem>
The persistence interface for the commerce inventory replenishment item service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

      Returns all the commerce inventory replenishment items where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce inventory replenishment items
    • findByUuid

      List<CommerceInventoryReplenishmentItem> findByUuid(String uuid, int start, int end)
      Returns a range of all the commerce inventory replenishment items 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 CommerceInventoryReplenishmentItemModelImpl.

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

      List<CommerceInventoryReplenishmentItem> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
      Returns an ordered range of all the commerce inventory replenishment items 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 CommerceInventoryReplenishmentItemModelImpl.

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

      List<CommerceInventoryReplenishmentItem> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce inventory replenishment items 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 CommerceInventoryReplenishmentItemModelImpl.

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

      CommerceInventoryReplenishmentItem findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
      Returns the first commerce inventory replenishment item 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 inventory replenishment item
      Throws:
      NoSuchInventoryReplenishmentItemException - if a matching commerce inventory replenishment item could not be found
    • fetchByUuid_First

      CommerceInventoryReplenishmentItem fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
      Returns the first commerce inventory replenishment item 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 inventory replenishment item, or null if a matching commerce inventory replenishment item could not be found
    • findByUuid_Last

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

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

      CommerceInventoryReplenishmentItem[] findByUuid_PrevAndNext(long commerceInventoryReplenishmentItemId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
      Returns the commerce inventory replenishment items before and after the current commerce inventory replenishment item in the ordered set where uuid = ?.
      Parameters:
      commerceInventoryReplenishmentItemId - the primary key of the current commerce inventory replenishment item
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce inventory replenishment item
      Throws:
      NoSuchInventoryReplenishmentItemException - if a commerce inventory replenishment item with the primary key could not be found
    • removeByUuid

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

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

      List<CommerceInventoryReplenishmentItem> findByUuid_C(String uuid, long companyId)
      Returns all the commerce inventory replenishment items where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching commerce inventory replenishment items
    • findByUuid_C

      List<CommerceInventoryReplenishmentItem> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the commerce inventory replenishment items 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 CommerceInventoryReplenishmentItemModelImpl.

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

      List<CommerceInventoryReplenishmentItem> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
      Returns an ordered range of all the commerce inventory replenishment items 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 CommerceInventoryReplenishmentItemModelImpl.

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

      List<CommerceInventoryReplenishmentItem> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce inventory replenishment items 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 CommerceInventoryReplenishmentItemModelImpl.

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

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

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

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

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

      CommerceInventoryReplenishmentItem[] findByUuid_C_PrevAndNext(long commerceInventoryReplenishmentItemId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
      Returns the commerce inventory replenishment items before and after the current commerce inventory replenishment item in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      commerceInventoryReplenishmentItemId - the primary key of the current commerce inventory replenishment item
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce inventory replenishment item
      Throws:
      NoSuchInventoryReplenishmentItemException - if a commerce inventory replenishment item with the primary key could not be found
    • removeByUuid_C

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

      int countByUuid_C(String uuid, long companyId)
      Returns the number of commerce inventory replenishment items where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching commerce inventory replenishment items
    • findByCommerceInventoryWarehouseId

      List<CommerceInventoryReplenishmentItem> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
      Returns all the commerce inventory replenishment items where commerceInventoryWarehouseId = ?.
      Parameters:
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      Returns:
      the matching commerce inventory replenishment items
    • findByCommerceInventoryWarehouseId

      List<CommerceInventoryReplenishmentItem> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, int start, int end)
      Returns a range of all the commerce inventory replenishment items where commerceInventoryWarehouseId = ?.

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

      Parameters:
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      start - the lower bound of the range of commerce inventory replenishment items
      end - the upper bound of the range of commerce inventory replenishment items (not inclusive)
      Returns:
      the range of matching commerce inventory replenishment items
    • findByCommerceInventoryWarehouseId

      List<CommerceInventoryReplenishmentItem> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
      Returns an ordered range of all the commerce inventory replenishment items where commerceInventoryWarehouseId = ?.

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

      Parameters:
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      start - the lower bound of the range of commerce inventory replenishment items
      end - the upper bound of the range of commerce inventory replenishment items (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce inventory replenishment items
    • findByCommerceInventoryWarehouseId

      List<CommerceInventoryReplenishmentItem> findByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce inventory replenishment items where commerceInventoryWarehouseId = ?.

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

      Parameters:
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      start - the lower bound of the range of commerce inventory replenishment items
      end - the upper bound of the range of commerce inventory replenishment items (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 replenishment items
    • findByCommerceInventoryWarehouseId_First

      CommerceInventoryReplenishmentItem findByCommerceInventoryWarehouseId_First(long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
      Returns the first commerce inventory replenishment item in the ordered set where commerceInventoryWarehouseId = ?.
      Parameters:
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce inventory replenishment item
      Throws:
      NoSuchInventoryReplenishmentItemException - if a matching commerce inventory replenishment item could not be found
    • fetchByCommerceInventoryWarehouseId_First

      CommerceInventoryReplenishmentItem fetchByCommerceInventoryWarehouseId_First(long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
      Returns the first commerce inventory replenishment item in the ordered set where commerceInventoryWarehouseId = ?.
      Parameters:
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce inventory replenishment item, or null if a matching commerce inventory replenishment item could not be found
    • findByCommerceInventoryWarehouseId_Last

      CommerceInventoryReplenishmentItem findByCommerceInventoryWarehouseId_Last(long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
      Returns the last commerce inventory replenishment item in the ordered set where commerceInventoryWarehouseId = ?.
      Parameters:
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce inventory replenishment item
      Throws:
      NoSuchInventoryReplenishmentItemException - if a matching commerce inventory replenishment item could not be found
    • fetchByCommerceInventoryWarehouseId_Last

      CommerceInventoryReplenishmentItem fetchByCommerceInventoryWarehouseId_Last(long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
      Returns the last commerce inventory replenishment item in the ordered set where commerceInventoryWarehouseId = ?.
      Parameters:
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce inventory replenishment item, or null if a matching commerce inventory replenishment item could not be found
    • findByCommerceInventoryWarehouseId_PrevAndNext

      CommerceInventoryReplenishmentItem[] findByCommerceInventoryWarehouseId_PrevAndNext(long commerceInventoryReplenishmentItemId, long commerceInventoryWarehouseId, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
      Returns the commerce inventory replenishment items before and after the current commerce inventory replenishment item in the ordered set where commerceInventoryWarehouseId = ?.
      Parameters:
      commerceInventoryReplenishmentItemId - the primary key of the current commerce inventory replenishment item
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce inventory replenishment item
      Throws:
      NoSuchInventoryReplenishmentItemException - if a commerce inventory replenishment item with the primary key could not be found
    • removeByCommerceInventoryWarehouseId

      void removeByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
      Removes all the commerce inventory replenishment items where commerceInventoryWarehouseId = ? from the database.
      Parameters:
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
    • countByCommerceInventoryWarehouseId

      int countByCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
      Returns the number of commerce inventory replenishment items where commerceInventoryWarehouseId = ?.
      Parameters:
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      Returns:
      the number of matching commerce inventory replenishment items
    • findByAvailabilityDate

      List<CommerceInventoryReplenishmentItem> findByAvailabilityDate(Date availabilityDate)
      Returns all the commerce inventory replenishment items where availabilityDate = ?.
      Parameters:
      availabilityDate - the availability date
      Returns:
      the matching commerce inventory replenishment items
    • findByAvailabilityDate

      List<CommerceInventoryReplenishmentItem> findByAvailabilityDate(Date availabilityDate, int start, int end)
      Returns a range of all the commerce inventory replenishment items where availabilityDate = ?.

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

      Parameters:
      availabilityDate - the availability date
      start - the lower bound of the range of commerce inventory replenishment items
      end - the upper bound of the range of commerce inventory replenishment items (not inclusive)
      Returns:
      the range of matching commerce inventory replenishment items
    • findByAvailabilityDate

      List<CommerceInventoryReplenishmentItem> findByAvailabilityDate(Date availabilityDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
      Returns an ordered range of all the commerce inventory replenishment items where availabilityDate = ?.

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

      Parameters:
      availabilityDate - the availability date
      start - the lower bound of the range of commerce inventory replenishment items
      end - the upper bound of the range of commerce inventory replenishment items (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce inventory replenishment items
    • findByAvailabilityDate

      List<CommerceInventoryReplenishmentItem> findByAvailabilityDate(Date availabilityDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce inventory replenishment items where availabilityDate = ?.

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

      Parameters:
      availabilityDate - the availability date
      start - the lower bound of the range of commerce inventory replenishment items
      end - the upper bound of the range of commerce inventory replenishment items (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 replenishment items
    • findByAvailabilityDate_First

      CommerceInventoryReplenishmentItem findByAvailabilityDate_First(Date availabilityDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
      Returns the first commerce inventory replenishment item in the ordered set where availabilityDate = ?.
      Parameters:
      availabilityDate - the availability date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce inventory replenishment item
      Throws:
      NoSuchInventoryReplenishmentItemException - if a matching commerce inventory replenishment item could not be found
    • fetchByAvailabilityDate_First

      CommerceInventoryReplenishmentItem fetchByAvailabilityDate_First(Date availabilityDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
      Returns the first commerce inventory replenishment item in the ordered set where availabilityDate = ?.
      Parameters:
      availabilityDate - the availability date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce inventory replenishment item, or null if a matching commerce inventory replenishment item could not be found
    • findByAvailabilityDate_Last

      CommerceInventoryReplenishmentItem findByAvailabilityDate_Last(Date availabilityDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
      Returns the last commerce inventory replenishment item in the ordered set where availabilityDate = ?.
      Parameters:
      availabilityDate - the availability date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce inventory replenishment item
      Throws:
      NoSuchInventoryReplenishmentItemException - if a matching commerce inventory replenishment item could not be found
    • fetchByAvailabilityDate_Last

      CommerceInventoryReplenishmentItem fetchByAvailabilityDate_Last(Date availabilityDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
      Returns the last commerce inventory replenishment item in the ordered set where availabilityDate = ?.
      Parameters:
      availabilityDate - the availability date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce inventory replenishment item, or null if a matching commerce inventory replenishment item could not be found
    • findByAvailabilityDate_PrevAndNext

      CommerceInventoryReplenishmentItem[] findByAvailabilityDate_PrevAndNext(long commerceInventoryReplenishmentItemId, Date availabilityDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
      Returns the commerce inventory replenishment items before and after the current commerce inventory replenishment item in the ordered set where availabilityDate = ?.
      Parameters:
      commerceInventoryReplenishmentItemId - the primary key of the current commerce inventory replenishment item
      availabilityDate - the availability date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce inventory replenishment item
      Throws:
      NoSuchInventoryReplenishmentItemException - if a commerce inventory replenishment item with the primary key could not be found
    • removeByAvailabilityDate

      void removeByAvailabilityDate(Date availabilityDate)
      Removes all the commerce inventory replenishment items where availabilityDate = ? from the database.
      Parameters:
      availabilityDate - the availability date
    • countByAvailabilityDate

      int countByAvailabilityDate(Date availabilityDate)
      Returns the number of commerce inventory replenishment items where availabilityDate = ?.
      Parameters:
      availabilityDate - the availability date
      Returns:
      the number of matching commerce inventory replenishment items
    • findBySku

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

      List<CommerceInventoryReplenishmentItem> findBySku(String sku, int start, int end)
      Returns a range of all the commerce inventory replenishment items 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 CommerceInventoryReplenishmentItemModelImpl.

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

      List<CommerceInventoryReplenishmentItem> findBySku(String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
      Returns an ordered range of all the commerce inventory replenishment items 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 CommerceInventoryReplenishmentItemModelImpl.

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

      List<CommerceInventoryReplenishmentItem> findBySku(String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce inventory replenishment items 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 CommerceInventoryReplenishmentItemModelImpl.

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

      CommerceInventoryReplenishmentItem findBySku_First(String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
      Returns the first commerce inventory replenishment item 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 replenishment item
      Throws:
      NoSuchInventoryReplenishmentItemException - if a matching commerce inventory replenishment item could not be found
    • fetchBySku_First

      CommerceInventoryReplenishmentItem fetchBySku_First(String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
      Returns the first commerce inventory replenishment item 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 replenishment item, or null if a matching commerce inventory replenishment item could not be found
    • findBySku_Last

      CommerceInventoryReplenishmentItem findBySku_Last(String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
      Returns the last commerce inventory replenishment item 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 replenishment item
      Throws:
      NoSuchInventoryReplenishmentItemException - if a matching commerce inventory replenishment item could not be found
    • fetchBySku_Last

      CommerceInventoryReplenishmentItem fetchBySku_Last(String sku, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
      Returns the last commerce inventory replenishment item 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 replenishment item, or null if a matching commerce inventory replenishment item could not be found
    • findBySku_PrevAndNext

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

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

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

      List<CommerceInventoryReplenishmentItem> findByC_S_U(long companyId, String sku, String unitOfMeasureKey)
      Returns all the commerce inventory replenishment items 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 replenishment items
    • findByC_S_U

      List<CommerceInventoryReplenishmentItem> findByC_S_U(long companyId, String sku, String unitOfMeasureKey, int start, int end)
      Returns a range of all the commerce inventory replenishment items 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 CommerceInventoryReplenishmentItemModelImpl.

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

      List<CommerceInventoryReplenishmentItem> findByC_S_U(long companyId, String sku, String unitOfMeasureKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
      Returns an ordered range of all the commerce inventory replenishment items 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 CommerceInventoryReplenishmentItemModelImpl.

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

      List<CommerceInventoryReplenishmentItem> findByC_S_U(long companyId, String sku, String unitOfMeasureKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce inventory replenishment items 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 CommerceInventoryReplenishmentItemModelImpl.

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

      CommerceInventoryReplenishmentItem findByC_S_U_First(long companyId, String sku, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
      Returns the first commerce inventory replenishment item 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 replenishment item
      Throws:
      NoSuchInventoryReplenishmentItemException - if a matching commerce inventory replenishment item could not be found
    • fetchByC_S_U_First

      CommerceInventoryReplenishmentItem fetchByC_S_U_First(long companyId, String sku, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
      Returns the first commerce inventory replenishment item 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 replenishment item, or null if a matching commerce inventory replenishment item could not be found
    • findByC_S_U_Last

      CommerceInventoryReplenishmentItem findByC_S_U_Last(long companyId, String sku, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
      Returns the last commerce inventory replenishment item 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 replenishment item
      Throws:
      NoSuchInventoryReplenishmentItemException - if a matching commerce inventory replenishment item could not be found
    • fetchByC_S_U_Last

      CommerceInventoryReplenishmentItem fetchByC_S_U_Last(long companyId, String sku, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
      Returns the last commerce inventory replenishment item 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 replenishment item, or null if a matching commerce inventory replenishment item could not be found
    • findByC_S_U_PrevAndNext

      CommerceInventoryReplenishmentItem[] findByC_S_U_PrevAndNext(long commerceInventoryReplenishmentItemId, long companyId, String sku, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
      Returns the commerce inventory replenishment items before and after the current commerce inventory replenishment item in the ordered set where companyId = ? and sku = ? and unitOfMeasureKey = ?.
      Parameters:
      commerceInventoryReplenishmentItemId - the primary key of the current commerce inventory replenishment item
      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 replenishment item
      Throws:
      NoSuchInventoryReplenishmentItemException - if a commerce inventory replenishment item 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 replenishment items 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 replenishment items 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 replenishment items
    • findByAD_S_U

      List<CommerceInventoryReplenishmentItem> findByAD_S_U(Date availabilityDate, String sku, String unitOfMeasureKey)
      Returns all the commerce inventory replenishment items where availabilityDate = ? and sku = ? and unitOfMeasureKey = ?.
      Parameters:
      availabilityDate - the availability date
      sku - the sku
      unitOfMeasureKey - the unit of measure key
      Returns:
      the matching commerce inventory replenishment items
    • findByAD_S_U

      List<CommerceInventoryReplenishmentItem> findByAD_S_U(Date availabilityDate, String sku, String unitOfMeasureKey, int start, int end)
      Returns a range of all the commerce inventory replenishment items where availabilityDate = ? 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 CommerceInventoryReplenishmentItemModelImpl.

      Parameters:
      availabilityDate - the availability date
      sku - the sku
      unitOfMeasureKey - the unit of measure key
      start - the lower bound of the range of commerce inventory replenishment items
      end - the upper bound of the range of commerce inventory replenishment items (not inclusive)
      Returns:
      the range of matching commerce inventory replenishment items
    • findByAD_S_U

      List<CommerceInventoryReplenishmentItem> findByAD_S_U(Date availabilityDate, String sku, String unitOfMeasureKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
      Returns an ordered range of all the commerce inventory replenishment items where availabilityDate = ? 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 CommerceInventoryReplenishmentItemModelImpl.

      Parameters:
      availabilityDate - the availability date
      sku - the sku
      unitOfMeasureKey - the unit of measure key
      start - the lower bound of the range of commerce inventory replenishment items
      end - the upper bound of the range of commerce inventory replenishment items (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce inventory replenishment items
    • findByAD_S_U

      List<CommerceInventoryReplenishmentItem> findByAD_S_U(Date availabilityDate, String sku, String unitOfMeasureKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce inventory replenishment items where availabilityDate = ? 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 CommerceInventoryReplenishmentItemModelImpl.

      Parameters:
      availabilityDate - the availability date
      sku - the sku
      unitOfMeasureKey - the unit of measure key
      start - the lower bound of the range of commerce inventory replenishment items
      end - the upper bound of the range of commerce inventory replenishment items (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 replenishment items
    • findByAD_S_U_First

      CommerceInventoryReplenishmentItem findByAD_S_U_First(Date availabilityDate, String sku, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
      Returns the first commerce inventory replenishment item in the ordered set where availabilityDate = ? and sku = ? and unitOfMeasureKey = ?.
      Parameters:
      availabilityDate - the availability date
      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 replenishment item
      Throws:
      NoSuchInventoryReplenishmentItemException - if a matching commerce inventory replenishment item could not be found
    • fetchByAD_S_U_First

      CommerceInventoryReplenishmentItem fetchByAD_S_U_First(Date availabilityDate, String sku, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
      Returns the first commerce inventory replenishment item in the ordered set where availabilityDate = ? and sku = ? and unitOfMeasureKey = ?.
      Parameters:
      availabilityDate - the availability date
      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 replenishment item, or null if a matching commerce inventory replenishment item could not be found
    • findByAD_S_U_Last

      CommerceInventoryReplenishmentItem findByAD_S_U_Last(Date availabilityDate, String sku, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
      Returns the last commerce inventory replenishment item in the ordered set where availabilityDate = ? and sku = ? and unitOfMeasureKey = ?.
      Parameters:
      availabilityDate - the availability date
      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 replenishment item
      Throws:
      NoSuchInventoryReplenishmentItemException - if a matching commerce inventory replenishment item could not be found
    • fetchByAD_S_U_Last

      CommerceInventoryReplenishmentItem fetchByAD_S_U_Last(Date availabilityDate, String sku, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator)
      Returns the last commerce inventory replenishment item in the ordered set where availabilityDate = ? and sku = ? and unitOfMeasureKey = ?.
      Parameters:
      availabilityDate - the availability date
      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 replenishment item, or null if a matching commerce inventory replenishment item could not be found
    • findByAD_S_U_PrevAndNext

      CommerceInventoryReplenishmentItem[] findByAD_S_U_PrevAndNext(long commerceInventoryReplenishmentItemId, Date availabilityDate, String sku, String unitOfMeasureKey, com.liferay.portal.kernel.util.OrderByComparator<CommerceInventoryReplenishmentItem> orderByComparator) throws NoSuchInventoryReplenishmentItemException
      Returns the commerce inventory replenishment items before and after the current commerce inventory replenishment item in the ordered set where availabilityDate = ? and sku = ? and unitOfMeasureKey = ?.
      Parameters:
      commerceInventoryReplenishmentItemId - the primary key of the current commerce inventory replenishment item
      availabilityDate - the availability date
      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 replenishment item
      Throws:
      NoSuchInventoryReplenishmentItemException - if a commerce inventory replenishment item with the primary key could not be found
    • removeByAD_S_U

      void removeByAD_S_U(Date availabilityDate, String sku, String unitOfMeasureKey)
      Removes all the commerce inventory replenishment items where availabilityDate = ? and sku = ? and unitOfMeasureKey = ? from the database.
      Parameters:
      availabilityDate - the availability date
      sku - the sku
      unitOfMeasureKey - the unit of measure key
    • countByAD_S_U

      int countByAD_S_U(Date availabilityDate, String sku, String unitOfMeasureKey)
      Returns the number of commerce inventory replenishment items where availabilityDate = ? and sku = ? and unitOfMeasureKey = ?.
      Parameters:
      availabilityDate - the availability date
      sku - the sku
      unitOfMeasureKey - the unit of measure key
      Returns:
      the number of matching commerce inventory replenishment items
    • findByERC_C

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

      CommerceInventoryReplenishmentItem fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the commerce inventory replenishment item 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 inventory replenishment item, or null if a matching commerce inventory replenishment item could not be found
    • fetchByERC_C

      CommerceInventoryReplenishmentItem fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the commerce inventory replenishment item 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 inventory replenishment item, or null if a matching commerce inventory replenishment item could not be found
    • removeByERC_C

      CommerceInventoryReplenishmentItem removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchInventoryReplenishmentItemException
      Removes the commerce inventory replenishment item where externalReferenceCode = ? and companyId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the commerce inventory replenishment item that was removed
      Throws:
      NoSuchInventoryReplenishmentItemException
    • countByERC_C

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

      void cacheResult(CommerceInventoryReplenishmentItem commerceInventoryReplenishmentItem)
      Caches the commerce inventory replenishment item in the entity cache if it is enabled.
      Parameters:
      commerceInventoryReplenishmentItem - the commerce inventory replenishment item
    • cacheResult

      void cacheResult(List<CommerceInventoryReplenishmentItem> commerceInventoryReplenishmentItems)
      Caches the commerce inventory replenishment items in the entity cache if it is enabled.
      Parameters:
      commerceInventoryReplenishmentItems - the commerce inventory replenishment items
    • create

      CommerceInventoryReplenishmentItem create(long commerceInventoryReplenishmentItemId)
      Creates a new commerce inventory replenishment item with the primary key. Does not add the commerce inventory replenishment item to the database.
      Parameters:
      commerceInventoryReplenishmentItemId - the primary key for the new commerce inventory replenishment item
      Returns:
      the new commerce inventory replenishment item
    • remove

      CommerceInventoryReplenishmentItem remove(long commerceInventoryReplenishmentItemId) throws NoSuchInventoryReplenishmentItemException
      Removes the commerce inventory replenishment item with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      commerceInventoryReplenishmentItemId - the primary key of the commerce inventory replenishment item
      Returns:
      the commerce inventory replenishment item that was removed
      Throws:
      NoSuchInventoryReplenishmentItemException - if a commerce inventory replenishment item with the primary key could not be found
    • updateImpl

      CommerceInventoryReplenishmentItem updateImpl(CommerceInventoryReplenishmentItem commerceInventoryReplenishmentItem)
    • findByPrimaryKey

      CommerceInventoryReplenishmentItem findByPrimaryKey(long commerceInventoryReplenishmentItemId) throws NoSuchInventoryReplenishmentItemException
      Returns the commerce inventory replenishment item with the primary key or throws a NoSuchInventoryReplenishmentItemException if it could not be found.
      Parameters:
      commerceInventoryReplenishmentItemId - the primary key of the commerce inventory replenishment item
      Returns:
      the commerce inventory replenishment item
      Throws:
      NoSuchInventoryReplenishmentItemException - if a commerce inventory replenishment item with the primary key could not be found
    • fetchByPrimaryKey

      CommerceInventoryReplenishmentItem fetchByPrimaryKey(long commerceInventoryReplenishmentItemId)
      Returns the commerce inventory replenishment item with the primary key or returns null if it could not be found.
      Parameters:
      commerceInventoryReplenishmentItemId - the primary key of the commerce inventory replenishment item
      Returns:
      the commerce inventory replenishment item, or null if a commerce inventory replenishment item with the primary key could not be found
    • findAll

      Returns all the commerce inventory replenishment items.
      Returns:
      the commerce inventory replenishment items
    • findAll

      List<CommerceInventoryReplenishmentItem> findAll(int start, int end)
      Returns a range of all the commerce inventory replenishment items.

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

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

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

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

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

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

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

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

      void removeAll()
      Removes all the commerce inventory replenishment items from the database.
    • countAll

      int countAll()
      Returns the number of commerce inventory replenishment items.
      Returns:
      the number of commerce inventory replenishment items