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 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 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 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 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 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 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 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
    • findByUuid_Last

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

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

      CommerceShipmentItem[] findByUuid_PrevAndNext(long commerceShipmentItemId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
      Returns the commerce shipment items before and after the current commerce shipment item in the ordered set where uuid = ?.
      Parameters:
      commerceShipmentItemId - the primary key of the current commerce shipment item
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce shipment item
      Throws:
      NoSuchShipmentItemException - if a commerce shipment item with the primary key 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 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 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 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 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 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 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
    • findByUuid_C_Last

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

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

      CommerceShipmentItem[] findByUuid_C_PrevAndNext(long commerceShipmentItemId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
      Returns the commerce shipment items before and after the current commerce shipment item in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      commerceShipmentItemId - the primary key of the current commerce shipment 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 shipment item
      Throws:
      NoSuchShipmentItemException - if a commerce shipment item with the primary key 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 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 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 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 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 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 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
    • findByGroupId_Last

      CommerceShipmentItem findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
      Returns the last 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 last matching commerce shipment item
      Throws:
      NoSuchShipmentItemException - if a matching commerce shipment item could not be found
    • fetchByGroupId_Last

      CommerceShipmentItem fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
      Returns the last 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 last matching commerce shipment item, or null if a matching commerce shipment item could not be found
    • findByGroupId_PrevAndNext

      CommerceShipmentItem[] findByGroupId_PrevAndNext(long commerceShipmentItemId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
      Returns the commerce shipment items before and after the current commerce shipment item in the ordered set where groupId = ?.
      Parameters:
      commerceShipmentItemId - the primary key of the current commerce shipment item
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce shipment item
      Throws:
      NoSuchShipmentItemException - if a commerce shipment item with the primary key 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 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 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 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 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 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 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
    • findByCommerceShipmentId_Last

      CommerceShipmentItem findByCommerceShipmentId_Last(long commerceShipmentId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
      Returns the last 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 last matching commerce shipment item
      Throws:
      NoSuchShipmentItemException - if a matching commerce shipment item could not be found
    • fetchByCommerceShipmentId_Last

      CommerceShipmentItem fetchByCommerceShipmentId_Last(long commerceShipmentId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
      Returns the last 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 last matching commerce shipment item, or null if a matching commerce shipment item could not be found
    • findByCommerceShipmentId_PrevAndNext

      CommerceShipmentItem[] findByCommerceShipmentId_PrevAndNext(long commerceShipmentItemId, long commerceShipmentId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
      Returns the commerce shipment items before and after the current commerce shipment item in the ordered set where commerceShipmentId = ?.
      Parameters:
      commerceShipmentItemId - the primary key of the current commerce shipment item
      commerceShipmentId - the commerce shipment ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce shipment item
      Throws:
      NoSuchShipmentItemException - if a commerce shipment item with the primary key 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 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 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 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 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 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 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
    • findByCommerceOrderItemId_Last

      CommerceShipmentItem findByCommerceOrderItemId_Last(long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
      Returns the last 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 last matching commerce shipment item
      Throws:
      NoSuchShipmentItemException - if a matching commerce shipment item could not be found
    • fetchByCommerceOrderItemId_Last

      CommerceShipmentItem fetchByCommerceOrderItemId_Last(long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
      Returns the last 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 last matching commerce shipment item, or null if a matching commerce shipment item could not be found
    • findByCommerceOrderItemId_PrevAndNext

      CommerceShipmentItem[] findByCommerceOrderItemId_PrevAndNext(long commerceShipmentItemId, long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
      Returns the commerce shipment items before and after the current commerce shipment item in the ordered set where commerceOrderItemId = ?.
      Parameters:
      commerceShipmentItemId - the primary key of the current commerce shipment item
      commerceOrderItemId - the commerce order item ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce shipment item
      Throws:
      NoSuchShipmentItemException - if a commerce shipment item with the primary key 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 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 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 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 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 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 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
    • findByC_C_Last

      CommerceShipmentItem findByC_C_Last(long commerceShipmentId, long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
      Returns the last 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 last matching commerce shipment item
      Throws:
      NoSuchShipmentItemException - if a matching commerce shipment item could not be found
    • fetchByC_C_Last

      CommerceShipmentItem fetchByC_C_Last(long commerceShipmentId, long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
      Returns the last 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 last matching commerce shipment item, or null if a matching commerce shipment item could not be found
    • findByC_C_PrevAndNext

      CommerceShipmentItem[] findByC_C_PrevAndNext(long commerceShipmentItemId, long commerceShipmentId, long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
      Returns the commerce shipment items before and after the current commerce shipment item in the ordered set where commerceShipmentId = ? and commerceOrderItemId = ?.
      Parameters:
      commerceShipmentItemId - the primary key of the current commerce shipment item
      commerceShipmentId - the commerce shipment ID
      commerceOrderItemId - the commerce order item ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce shipment item
      Throws:
      NoSuchShipmentItemException - if a commerce shipment item with the primary key 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
    • 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 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 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 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 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 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 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