Class CommerceInventoryReplenishmentItemUtil

java.lang.Object
com.liferay.commerce.inventory.service.persistence.CommerceInventoryReplenishmentItemUtil

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

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Details

    • CommerceInventoryReplenishmentItemUtil

      public CommerceInventoryReplenishmentItemUtil()
  • Method Details

    • clearCache

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

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

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

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

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

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

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

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

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

      public static List<CommerceInventoryReplenishmentItem> findByUuid(String uuid)
      Returns all the commerce inventory replenishment items where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce inventory replenishment items
    • findByUuid

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static 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
      NoSuchInventoryReplenishmentItemException
    • fetchByCommerceInventoryWarehouseId_First

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

      public static 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
      NoSuchInventoryReplenishmentItemException
    • fetchByCommerceInventoryWarehouseId_Last

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

      public static 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
      NoSuchInventoryReplenishmentItemException
    • removeByCommerceInventoryWarehouseId

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

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

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

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

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

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

      public static 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
      NoSuchInventoryReplenishmentItemException
    • fetchByAvailabilityDate_First

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

      public static 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
      NoSuchInventoryReplenishmentItemException
    • fetchByAvailabilityDate_Last

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

      public static 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
      NoSuchInventoryReplenishmentItemException
    • removeByAvailabilityDate

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

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

      public static List<CommerceInventoryReplenishmentItem> findBySku(String sku)
      Returns all the commerce inventory replenishment items where sku = ?.
      Parameters:
      sku - the sku
      Returns:
      the matching commerce inventory replenishment items
    • findBySku

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

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

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

      public static 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
      NoSuchInventoryReplenishmentItemException
    • fetchBySku_First

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

      public static 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
      NoSuchInventoryReplenishmentItemException
    • fetchBySku_Last

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

      public static 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
      NoSuchInventoryReplenishmentItemException
    • removeBySku

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

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

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

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

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

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

      public static 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
      NoSuchInventoryReplenishmentItemException
    • fetchByC_S_U_First

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

      public static 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
      NoSuchInventoryReplenishmentItemException
    • fetchByC_S_U_Last

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

      public static 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
      NoSuchInventoryReplenishmentItemException
    • removeByC_S_U

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

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

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

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

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

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

      public static 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
      NoSuchInventoryReplenishmentItemException
    • fetchByAD_S_U_First

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

      public static 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
      NoSuchInventoryReplenishmentItemException
    • fetchByAD_S_U_Last

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

      public static 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
      NoSuchInventoryReplenishmentItemException
    • removeByAD_S_U

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

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

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

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

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

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

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

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

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

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

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

      public static CommerceInventoryReplenishmentItem updateImpl(CommerceInventoryReplenishmentItem commerceInventoryReplenishmentItem)
    • findByPrimaryKey

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

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

      public static List<CommerceInventoryReplenishmentItem> findAll()
      Returns all the commerce inventory replenishment items.
      Returns:
      the commerce inventory replenishment items
    • findAll

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

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

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

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

      public static int countAll()
      Returns the number of commerce inventory replenishment items.
      Returns:
      the number of commerce inventory replenishment items
    • getPersistence

      public static CommerceInventoryReplenishmentItemPersistence getPersistence()
    • setPersistence

      public static void setPersistence(CommerceInventoryReplenishmentItemPersistence persistence)