Interface CommerceShipmentItemPersistence

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

@ProviderType public interface CommerceShipmentItemPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceShipmentItem>
The persistence interface for the commerce shipment item service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(CommerceShipmentItem commerceShipmentItem)
    Caches the commerce shipment item in the entity cache if it is enabled.
    void
    cacheResult(List<CommerceShipmentItem> commerceShipmentItems)
    Caches the commerce shipment items in the entity cache if it is enabled.
    int
    Returns the number of commerce shipment items.
    int
    countByC_C(long commerceShipmentId, long commerceOrderItemId)
    Returns the number of commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.
    int
    countByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId)
    Returns the number of commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ?.
    int
    countByC_NotC_GteQ(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity)
    Returns the number of commerce shipment items where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.
    int
    countByCommerceOrderItemId(long commerceOrderItemId)
    Returns the number of commerce shipment items where commerceOrderItemId = ?.
    int
    countByCommerceShipmentId(long commerceShipmentId)
    Returns the number of commerce shipment items where commerceShipmentId = ?.
    int
    countByERC_C(String externalReferenceCode, long companyId)
    Returns the number of commerce shipment items where externalReferenceCode = ? and companyId = ?.
    int
    countByGroupId(long groupId)
    Returns the number of commerce shipment items where groupId = ?.
    int
    Returns the number of commerce shipment items where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of commerce shipment items where uuid = ? and companyId = ?.
    int
    countByUUID_G(String uuid, long groupId)
    Returns the number of commerce shipment items where uuid = ? and groupId = ?.
    create(long commerceShipmentItemId)
    Creates a new commerce shipment item with the primary key.
    fetchByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId)
    Returns the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? or returns null if it could not be found.
    fetchByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId, boolean useFinderCache)
    Returns the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByC_C_First(long commerceShipmentId, long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
    Returns the first commerce shipment item in the ordered set where commerceShipmentId = ? and commerceOrderItemId = ?.
    fetchByC_NotC_GteQ_First(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
    Returns the first commerce shipment item in the ordered set where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.
    fetchByCommerceOrderItemId_First(long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
    Returns the first commerce shipment item in the ordered set where commerceOrderItemId = ?.
    fetchByCommerceShipmentId_First(long commerceShipmentId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
    Returns the first commerce shipment item in the ordered set where commerceShipmentId = ?.
    fetchByERC_C(String externalReferenceCode, long companyId)
    Returns the commerce shipment item where externalReferenceCode = ? and companyId = ? or returns null if it could not be found.
    fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
    Returns the commerce shipment item where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
    Returns the first commerce shipment item in the ordered set where groupId = ?.
    fetchByPrimaryKey(long commerceShipmentItemId)
    Returns the commerce shipment item with the primary key or returns null if it could not be found.
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
    Returns the first commerce shipment item in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
    Returns the first commerce shipment item in the ordered set where uuid = ?.
    fetchByUUID_G(String uuid, long groupId)
    Returns the commerce shipment item where uuid = ? and groupId = ? or returns null if it could not be found.
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the commerce shipment item where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    Returns all the commerce shipment items.
    findAll(int start, int end)
    Returns a range of all the commerce shipment items.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
    Returns an ordered range of all the commerce shipment items.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce shipment items.
    findByC_C(long commerceShipmentId, long commerceOrderItemId)
    Returns all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.
    findByC_C(long commerceShipmentId, long commerceOrderItemId, int start, int end)
    Returns a range of all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.
    findByC_C(long commerceShipmentId, long commerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
    Returns an ordered range of all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.
    findByC_C(long commerceShipmentId, long commerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.
    findByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId)
    Returns the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? or throws a NoSuchShipmentItemException if it could not be found.
    findByC_C_First(long commerceShipmentId, long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
    Returns the first commerce shipment item in the ordered set where commerceShipmentId = ? and commerceOrderItemId = ?.
    findByC_NotC_GteQ(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity)
    Returns all the commerce shipment items where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.
    findByC_NotC_GteQ(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity, int start, int end)
    Returns a range of all the commerce shipment items where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.
    findByC_NotC_GteQ(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
    Returns an ordered range of all the commerce shipment items where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.
    findByC_NotC_GteQ(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce shipment items where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.
    findByC_NotC_GteQ_First(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
    Returns the first commerce shipment item in the ordered set where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.
    findByCommerceOrderItemId(long commerceOrderItemId)
    Returns all the commerce shipment items where commerceOrderItemId = ?.
    findByCommerceOrderItemId(long commerceOrderItemId, int start, int end)
    Returns a range of all the commerce shipment items where commerceOrderItemId = ?.
    findByCommerceOrderItemId(long commerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
    Returns an ordered range of all the commerce shipment items where commerceOrderItemId = ?.
    findByCommerceOrderItemId(long commerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce shipment items where commerceOrderItemId = ?.
    findByCommerceOrderItemId_First(long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
    Returns the first commerce shipment item in the ordered set where commerceOrderItemId = ?.
    findByCommerceShipmentId(long commerceShipmentId)
    Returns all the commerce shipment items where commerceShipmentId = ?.
    findByCommerceShipmentId(long commerceShipmentId, int start, int end)
    Returns a range of all the commerce shipment items where commerceShipmentId = ?.
    findByCommerceShipmentId(long commerceShipmentId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
    Returns an ordered range of all the commerce shipment items where commerceShipmentId = ?.
    findByCommerceShipmentId(long commerceShipmentId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce shipment items where commerceShipmentId = ?.
    findByCommerceShipmentId_First(long commerceShipmentId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
    Returns the first commerce shipment item in the ordered set where commerceShipmentId = ?.
    findByERC_C(String externalReferenceCode, long companyId)
    Returns the commerce shipment item where externalReferenceCode = ? and companyId = ? or throws a NoSuchShipmentItemException if it could not be found.
    findByGroupId(long groupId)
    Returns all the commerce shipment items where groupId = ?.
    findByGroupId(long groupId, int start, int end)
    Returns a range of all the commerce shipment items where groupId = ?.
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
    Returns an ordered range of all the commerce shipment items where groupId = ?.
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce shipment items where groupId = ?.
    findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
    Returns the first commerce shipment item in the ordered set where groupId = ?.
    findByPrimaryKey(long commerceShipmentItemId)
    Returns the commerce shipment item with the primary key or throws a NoSuchShipmentItemException if it could not be found.
    Returns all the commerce shipment items where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the commerce shipment items where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
    Returns an ordered range of all the commerce shipment items where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce shipment items where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the commerce shipment items where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the commerce shipment items where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
    Returns an ordered range of all the commerce shipment items where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce shipment items where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
    Returns the first commerce shipment item in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
    Returns the first commerce shipment item in the ordered set where uuid = ?.
    findByUUID_G(String uuid, long groupId)
    Returns the commerce shipment item where uuid = ? and groupId = ? or throws a NoSuchShipmentItemException if it could not be found.
    remove(long commerceShipmentItemId)
    Removes the commerce shipment item with the primary key from the database.
    void
    Removes all the commerce shipment items from the database.
    void
    removeByC_C(long commerceShipmentId, long commerceOrderItemId)
    Removes all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ? from the database.
    removeByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId)
    Removes the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? from the database.
    void
    removeByC_NotC_GteQ(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity)
    Removes all the commerce shipment items where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ? from the database.
    void
    removeByCommerceOrderItemId(long commerceOrderItemId)
    Removes all the commerce shipment items where commerceOrderItemId = ? from the database.
    void
    removeByCommerceShipmentId(long commerceShipmentId)
    Removes all the commerce shipment items where commerceShipmentId = ? from the database.
    removeByERC_C(String externalReferenceCode, long companyId)
    Removes the commerce shipment item where externalReferenceCode = ? and companyId = ? from the database.
    void
    removeByGroupId(long groupId)
    Removes all the commerce shipment items where groupId = ? from the database.
    void
    Removes all the commerce shipment items where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the commerce shipment items where uuid = ? and companyId = ? from the database.
    removeByUUID_G(String uuid, long groupId)
    Removes the commerce shipment item where uuid = ? and groupId = ? from the database.
    updateImpl(CommerceShipmentItem commerceShipmentItem)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
  • Method Details

    • findByUuid

      List<CommerceShipmentItem> findByUuid(String uuid)
      Returns all the commerce shipment items where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce shipment items
    • findByUuid

      List<CommerceShipmentItem> findByUuid(String uuid, int start, int end)
      Returns a range of all the commerce shipment 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.

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

      List<CommerceShipmentItem> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
      Returns an ordered range of all the commerce shipment 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.

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

      List<CommerceShipmentItem> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce shipment 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.

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

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

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

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

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

      CommerceShipmentItem findByUUID_G(String uuid, long groupId) throws NoSuchShipmentItemException
      Returns the commerce shipment item where uuid = ? and groupId = ? or throws a NoSuchShipmentItemException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching commerce shipment item
      Throws:
      NoSuchShipmentItemException - if a matching commerce shipment item could not be found
    • fetchByUUID_G

      CommerceShipmentItem fetchByUUID_G(String uuid, long groupId)
      Returns the commerce shipment item where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching commerce shipment item, or null if a matching commerce shipment item could not be found
    • fetchByUUID_G

      CommerceShipmentItem fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the commerce shipment item where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce shipment item, or null if a matching commerce shipment item could not be found
    • removeByUUID_G

      CommerceShipmentItem removeByUUID_G(String uuid, long groupId) throws NoSuchShipmentItemException
      Removes the commerce shipment item where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the commerce shipment item that was removed
      Throws:
      NoSuchShipmentItemException
    • countByUUID_G

      int countByUUID_G(String uuid, long groupId)
      Returns the number of commerce shipment items where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching commerce shipment items
    • findByUuid_C

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

      List<CommerceShipmentItem> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the commerce shipment 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.

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

      List<CommerceShipmentItem> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
      Returns an ordered range of all the commerce shipment 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.

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

      List<CommerceShipmentItem> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce shipment 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.

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

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

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

      void removeByUuid_C(String uuid, long companyId)
      Removes all the commerce shipment 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 shipment items where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching commerce shipment items
    • findByGroupId

      List<CommerceShipmentItem> findByGroupId(long groupId)
      Returns all the commerce shipment items where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching commerce shipment items
    • findByGroupId

      List<CommerceShipmentItem> findByGroupId(long groupId, int start, int end)
      Returns a range of all the commerce shipment items where groupId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of commerce shipment items
      end - the upper bound of the range of commerce shipment items (not inclusive)
      Returns:
      the range of matching commerce shipment items
    • findByGroupId

      List<CommerceShipmentItem> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
      Returns an ordered range of all the commerce shipment items where groupId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of commerce shipment items
      end - the upper bound of the range of commerce shipment items (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce shipment items
    • findByGroupId

      List<CommerceShipmentItem> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce shipment items where groupId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of commerce shipment items
      end - the upper bound of the range of commerce shipment 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 shipment items
    • findByGroupId_First

      CommerceShipmentItem findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
      Returns the first commerce shipment item in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce shipment item
      Throws:
      NoSuchShipmentItemException - if a matching commerce shipment item could not be found
    • fetchByGroupId_First

      CommerceShipmentItem fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
      Returns the first commerce shipment item in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce shipment item, or null if a matching commerce shipment item could not be found
    • removeByGroupId

      void removeByGroupId(long groupId)
      Removes all the commerce shipment items where groupId = ? from the database.
      Parameters:
      groupId - the group ID
    • countByGroupId

      int countByGroupId(long groupId)
      Returns the number of commerce shipment items where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching commerce shipment items
    • findByCommerceShipmentId

      List<CommerceShipmentItem> findByCommerceShipmentId(long commerceShipmentId)
      Returns all the commerce shipment items where commerceShipmentId = ?.
      Parameters:
      commerceShipmentId - the commerce shipment ID
      Returns:
      the matching commerce shipment items
    • findByCommerceShipmentId

      List<CommerceShipmentItem> findByCommerceShipmentId(long commerceShipmentId, int start, int end)
      Returns a range of all the commerce shipment items where commerceShipmentId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.

      Parameters:
      commerceShipmentId - the commerce shipment ID
      start - the lower bound of the range of commerce shipment items
      end - the upper bound of the range of commerce shipment items (not inclusive)
      Returns:
      the range of matching commerce shipment items
    • findByCommerceShipmentId

      List<CommerceShipmentItem> findByCommerceShipmentId(long commerceShipmentId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
      Returns an ordered range of all the commerce shipment items where commerceShipmentId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.

      Parameters:
      commerceShipmentId - the commerce shipment ID
      start - the lower bound of the range of commerce shipment items
      end - the upper bound of the range of commerce shipment items (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce shipment items
    • findByCommerceShipmentId

      List<CommerceShipmentItem> findByCommerceShipmentId(long commerceShipmentId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce shipment items where commerceShipmentId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.

      Parameters:
      commerceShipmentId - the commerce shipment ID
      start - the lower bound of the range of commerce shipment items
      end - the upper bound of the range of commerce shipment 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 shipment items
    • findByCommerceShipmentId_First

      CommerceShipmentItem findByCommerceShipmentId_First(long commerceShipmentId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
      Returns the first commerce shipment item in the ordered set where commerceShipmentId = ?.
      Parameters:
      commerceShipmentId - the commerce shipment ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce shipment item
      Throws:
      NoSuchShipmentItemException - if a matching commerce shipment item could not be found
    • fetchByCommerceShipmentId_First

      CommerceShipmentItem fetchByCommerceShipmentId_First(long commerceShipmentId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
      Returns the first commerce shipment item in the ordered set where commerceShipmentId = ?.
      Parameters:
      commerceShipmentId - the commerce shipment ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce shipment item, or null if a matching commerce shipment item could not be found
    • removeByCommerceShipmentId

      void removeByCommerceShipmentId(long commerceShipmentId)
      Removes all the commerce shipment items where commerceShipmentId = ? from the database.
      Parameters:
      commerceShipmentId - the commerce shipment ID
    • countByCommerceShipmentId

      int countByCommerceShipmentId(long commerceShipmentId)
      Returns the number of commerce shipment items where commerceShipmentId = ?.
      Parameters:
      commerceShipmentId - the commerce shipment ID
      Returns:
      the number of matching commerce shipment items
    • findByCommerceOrderItemId

      List<CommerceShipmentItem> findByCommerceOrderItemId(long commerceOrderItemId)
      Returns all the commerce shipment items where commerceOrderItemId = ?.
      Parameters:
      commerceOrderItemId - the commerce order item ID
      Returns:
      the matching commerce shipment items
    • findByCommerceOrderItemId

      List<CommerceShipmentItem> findByCommerceOrderItemId(long commerceOrderItemId, int start, int end)
      Returns a range of all the commerce shipment items where commerceOrderItemId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.

      Parameters:
      commerceOrderItemId - the commerce order item ID
      start - the lower bound of the range of commerce shipment items
      end - the upper bound of the range of commerce shipment items (not inclusive)
      Returns:
      the range of matching commerce shipment items
    • findByCommerceOrderItemId

      List<CommerceShipmentItem> findByCommerceOrderItemId(long commerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
      Returns an ordered range of all the commerce shipment items where commerceOrderItemId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.

      Parameters:
      commerceOrderItemId - the commerce order item ID
      start - the lower bound of the range of commerce shipment items
      end - the upper bound of the range of commerce shipment items (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce shipment items
    • findByCommerceOrderItemId

      List<CommerceShipmentItem> findByCommerceOrderItemId(long commerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce shipment items where commerceOrderItemId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.

      Parameters:
      commerceOrderItemId - the commerce order item ID
      start - the lower bound of the range of commerce shipment items
      end - the upper bound of the range of commerce shipment 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 shipment items
    • findByCommerceOrderItemId_First

      CommerceShipmentItem findByCommerceOrderItemId_First(long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
      Returns the first commerce shipment item in the ordered set where commerceOrderItemId = ?.
      Parameters:
      commerceOrderItemId - the commerce order item ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce shipment item
      Throws:
      NoSuchShipmentItemException - if a matching commerce shipment item could not be found
    • fetchByCommerceOrderItemId_First

      CommerceShipmentItem fetchByCommerceOrderItemId_First(long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
      Returns the first commerce shipment item in the ordered set where commerceOrderItemId = ?.
      Parameters:
      commerceOrderItemId - the commerce order item ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce shipment item, or null if a matching commerce shipment item could not be found
    • removeByCommerceOrderItemId

      void removeByCommerceOrderItemId(long commerceOrderItemId)
      Removes all the commerce shipment items where commerceOrderItemId = ? from the database.
      Parameters:
      commerceOrderItemId - the commerce order item ID
    • countByCommerceOrderItemId

      int countByCommerceOrderItemId(long commerceOrderItemId)
      Returns the number of commerce shipment items where commerceOrderItemId = ?.
      Parameters:
      commerceOrderItemId - the commerce order item ID
      Returns:
      the number of matching commerce shipment items
    • findByC_C

      List<CommerceShipmentItem> findByC_C(long commerceShipmentId, long commerceOrderItemId)
      Returns all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.
      Parameters:
      commerceShipmentId - the commerce shipment ID
      commerceOrderItemId - the commerce order item ID
      Returns:
      the matching commerce shipment items
    • findByC_C

      List<CommerceShipmentItem> findByC_C(long commerceShipmentId, long commerceOrderItemId, int start, int end)
      Returns a range of all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.

      Parameters:
      commerceShipmentId - the commerce shipment ID
      commerceOrderItemId - the commerce order item ID
      start - the lower bound of the range of commerce shipment items
      end - the upper bound of the range of commerce shipment items (not inclusive)
      Returns:
      the range of matching commerce shipment items
    • findByC_C

      List<CommerceShipmentItem> findByC_C(long commerceShipmentId, long commerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
      Returns an ordered range of all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.

      Parameters:
      commerceShipmentId - the commerce shipment ID
      commerceOrderItemId - the commerce order item ID
      start - the lower bound of the range of commerce shipment items
      end - the upper bound of the range of commerce shipment items (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce shipment items
    • findByC_C

      List<CommerceShipmentItem> findByC_C(long commerceShipmentId, long commerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.

      Parameters:
      commerceShipmentId - the commerce shipment ID
      commerceOrderItemId - the commerce order item ID
      start - the lower bound of the range of commerce shipment items
      end - the upper bound of the range of commerce shipment 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 shipment items
    • findByC_C_First

      CommerceShipmentItem findByC_C_First(long commerceShipmentId, long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
      Returns the first commerce shipment item in the ordered set where commerceShipmentId = ? and commerceOrderItemId = ?.
      Parameters:
      commerceShipmentId - the commerce shipment ID
      commerceOrderItemId - the commerce order item ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce shipment item
      Throws:
      NoSuchShipmentItemException - if a matching commerce shipment item could not be found
    • fetchByC_C_First

      CommerceShipmentItem fetchByC_C_First(long commerceShipmentId, long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
      Returns the first commerce shipment item in the ordered set where commerceShipmentId = ? and commerceOrderItemId = ?.
      Parameters:
      commerceShipmentId - the commerce shipment ID
      commerceOrderItemId - the commerce order item ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce shipment item, or null if a matching commerce shipment item could not be found
    • removeByC_C

      void removeByC_C(long commerceShipmentId, long commerceOrderItemId)
      Removes all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ? from the database.
      Parameters:
      commerceShipmentId - the commerce shipment ID
      commerceOrderItemId - the commerce order item ID
    • countByC_C

      int countByC_C(long commerceShipmentId, long commerceOrderItemId)
      Returns the number of commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.
      Parameters:
      commerceShipmentId - the commerce shipment ID
      commerceOrderItemId - the commerce order item ID
      Returns:
      the number of matching commerce shipment items
    • findByC_C_C

      CommerceShipmentItem findByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId) throws NoSuchShipmentItemException
      Returns the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? or throws a NoSuchShipmentItemException if it could not be found.
      Parameters:
      commerceShipmentId - the commerce shipment ID
      commerceOrderItemId - the commerce order item ID
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      Returns:
      the matching commerce shipment item
      Throws:
      NoSuchShipmentItemException - if a matching commerce shipment item could not be found
    • fetchByC_C_C

      CommerceShipmentItem fetchByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId)
      Returns the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      commerceShipmentId - the commerce shipment ID
      commerceOrderItemId - the commerce order item ID
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      Returns:
      the matching commerce shipment item, or null if a matching commerce shipment item could not be found
    • fetchByC_C_C

      CommerceShipmentItem fetchByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId, boolean useFinderCache)
      Returns the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      commerceShipmentId - the commerce shipment ID
      commerceOrderItemId - the commerce order item ID
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce shipment item, or null if a matching commerce shipment item could not be found
    • removeByC_C_C

      CommerceShipmentItem removeByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId) throws NoSuchShipmentItemException
      Removes the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? from the database.
      Parameters:
      commerceShipmentId - the commerce shipment ID
      commerceOrderItemId - the commerce order item ID
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      Returns:
      the commerce shipment item that was removed
      Throws:
      NoSuchShipmentItemException
    • countByC_C_C

      int countByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId)
      Returns the number of commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ?.
      Parameters:
      commerceShipmentId - the commerce shipment ID
      commerceOrderItemId - the commerce order item ID
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      Returns:
      the number of matching commerce shipment items
    • findByC_NotC_GteQ

      List<CommerceShipmentItem> findByC_NotC_GteQ(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity)
      Returns all the commerce shipment items where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.
      Parameters:
      commerceShipmentId - the commerce shipment ID
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      quantity - the quantity
      Returns:
      the matching commerce shipment items
    • findByC_NotC_GteQ

      List<CommerceShipmentItem> findByC_NotC_GteQ(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity, int start, int end)
      Returns a range of all the commerce shipment items where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.

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

      List<CommerceShipmentItem> findByC_NotC_GteQ(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
      Returns an ordered range of all the commerce shipment items where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.

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

      List<CommerceShipmentItem> findByC_NotC_GteQ(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce shipment items where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.

      Parameters:
      commerceShipmentId - the commerce shipment ID
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      quantity - the quantity
      start - the lower bound of the range of commerce shipment items
      end - the upper bound of the range of commerce shipment 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 shipment items
    • findByC_NotC_GteQ_First

      CommerceShipmentItem findByC_NotC_GteQ_First(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
      Returns the first commerce shipment item in the ordered set where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.
      Parameters:
      commerceShipmentId - the commerce shipment ID
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      quantity - the quantity
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce shipment item
      Throws:
      NoSuchShipmentItemException - if a matching commerce shipment item could not be found
    • fetchByC_NotC_GteQ_First

      CommerceShipmentItem fetchByC_NotC_GteQ_First(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
      Returns the first commerce shipment item in the ordered set where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.
      Parameters:
      commerceShipmentId - the commerce shipment ID
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      quantity - the quantity
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce shipment item, or null if a matching commerce shipment item could not be found
    • removeByC_NotC_GteQ

      void removeByC_NotC_GteQ(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity)
      Removes all the commerce shipment items where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ? from the database.
      Parameters:
      commerceShipmentId - the commerce shipment ID
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      quantity - the quantity
    • countByC_NotC_GteQ

      int countByC_NotC_GteQ(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity)
      Returns the number of commerce shipment items where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.
      Parameters:
      commerceShipmentId - the commerce shipment ID
      commerceInventoryWarehouseId - the commerce inventory warehouse ID
      quantity - the quantity
      Returns:
      the number of matching commerce shipment items
    • findByERC_C

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

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

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

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

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

      void cacheResult(CommerceShipmentItem commerceShipmentItem)
      Caches the commerce shipment item in the entity cache if it is enabled.
      Parameters:
      commerceShipmentItem - the commerce shipment item
    • cacheResult

      void cacheResult(List<CommerceShipmentItem> commerceShipmentItems)
      Caches the commerce shipment items in the entity cache if it is enabled.
      Parameters:
      commerceShipmentItems - the commerce shipment items
    • create

      CommerceShipmentItem create(long commerceShipmentItemId)
      Creates a new commerce shipment item with the primary key. Does not add the commerce shipment item to the database.
      Parameters:
      commerceShipmentItemId - the primary key for the new commerce shipment item
      Returns:
      the new commerce shipment item
    • remove

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

      CommerceShipmentItem updateImpl(CommerceShipmentItem commerceShipmentItem)
    • findByPrimaryKey

      CommerceShipmentItem findByPrimaryKey(long commerceShipmentItemId) throws NoSuchShipmentItemException
      Returns the commerce shipment item with the primary key or throws a NoSuchShipmentItemException if it could not be found.
      Parameters:
      commerceShipmentItemId - the primary key of the commerce shipment item
      Returns:
      the commerce shipment item
      Throws:
      NoSuchShipmentItemException - if a commerce shipment item with the primary key could not be found
    • fetchByPrimaryKey

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

      Returns all the commerce shipment items.
      Returns:
      the commerce shipment items
    • findAll

      List<CommerceShipmentItem> findAll(int start, int end)
      Returns a range of all the commerce shipment 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.

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

      List<CommerceShipmentItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
      Returns an ordered range of all the commerce shipment 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.

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

      List<CommerceShipmentItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce shipment 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.

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

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

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