Interface CommerceShipmentPersistence

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

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

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(CommerceShipment commerceShipment)
    Caches the commerce shipment in the entity cache if it is enabled.
    void
    cacheResult(List<CommerceShipment> commerceShipments)
    Caches the commerce shipments in the entity cache if it is enabled.
    int
    Returns the number of commerce shipments.
    int
    countByERC_C(String externalReferenceCode, long companyId)
    Returns the number of commerce shipments where externalReferenceCode = ? and companyId = ?.
    int
    countByG_C(long[] groupIds, long commerceAddressId)
    Returns the number of commerce shipments where groupId = any ? and commerceAddressId = ?.
    int
    countByG_C(long groupId, long commerceAddressId)
    Returns the number of commerce shipments where groupId = ? and commerceAddressId = ?.
    int
    countByG_S(long[] groupIds, int status)
    Returns the number of commerce shipments where groupId = any ? and status = ?.
    int
    countByG_S(long groupId, int status)
    Returns the number of commerce shipments where groupId = ? and status = ?.
    int
    countByGroupId(long groupId)
    Returns the number of commerce shipments where groupId = ?.
    int
    countByGroupId(long[] groupIds)
    Returns the number of commerce shipments where groupId = any ?.
    int
    Returns the number of commerce shipments where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of commerce shipments where uuid = ? and companyId = ?.
    int
    countByUUID_G(String uuid, long groupId)
    Returns the number of commerce shipments where uuid = ? and groupId = ?.
    create(long commerceShipmentId)
    Creates a new commerce shipment with the primary key.
    fetchByERC_C(String externalReferenceCode, long companyId)
    Returns the commerce shipment 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 where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByG_C_First(long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns the first commerce shipment in the ordered set where groupId = ? and commerceAddressId = ?.
    fetchByG_C_Last(long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns the last commerce shipment in the ordered set where groupId = ? and commerceAddressId = ?.
    fetchByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns the first commerce shipment in the ordered set where groupId = ? and status = ?.
    fetchByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns the last commerce shipment in the ordered set where groupId = ? and status = ?.
    fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns the first commerce shipment in the ordered set where groupId = ?.
    fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns the last commerce shipment in the ordered set where groupId = ?.
    fetchByPrimaryKey(long commerceShipmentId)
    Returns the commerce shipment 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<CommerceShipment> orderByComparator)
    Returns the first commerce shipment in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns the last commerce shipment in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns the first commerce shipment in the ordered set where uuid = ?.
    fetchByUUID_G(String uuid, long groupId)
    Returns the commerce shipment 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 where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns the last commerce shipment in the ordered set where uuid = ?.
    Returns all the commerce shipments.
    findAll(int start, int end)
    Returns a range of all the commerce shipments.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns an ordered range of all the commerce shipments.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce shipments.
    findByERC_C(String externalReferenceCode, long companyId)
    Returns the commerce shipment where externalReferenceCode = ? and companyId = ? or throws a NoSuchShipmentException if it could not be found.
    findByG_C(long[] groupIds, long commerceAddressId)
    Returns all the commerce shipments where groupId = any ? and commerceAddressId = ?.
    findByG_C(long[] groupIds, long commerceAddressId, int start, int end)
    Returns a range of all the commerce shipments where groupId = any ? and commerceAddressId = ?.
    findByG_C(long[] groupIds, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns an ordered range of all the commerce shipments where groupId = any ? and commerceAddressId = ?.
    findByG_C(long[] groupIds, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce shipments where groupId = ? and commerceAddressId = ?, optionally using the finder cache.
    findByG_C(long groupId, long commerceAddressId)
    Returns all the commerce shipments where groupId = ? and commerceAddressId = ?.
    findByG_C(long groupId, long commerceAddressId, int start, int end)
    Returns a range of all the commerce shipments where groupId = ? and commerceAddressId = ?.
    findByG_C(long groupId, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns an ordered range of all the commerce shipments where groupId = ? and commerceAddressId = ?.
    findByG_C(long groupId, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce shipments where groupId = ? and commerceAddressId = ?.
    findByG_C_First(long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns the first commerce shipment in the ordered set where groupId = ? and commerceAddressId = ?.
    findByG_C_Last(long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns the last commerce shipment in the ordered set where groupId = ? and commerceAddressId = ?.
    findByG_C_PrevAndNext(long commerceShipmentId, long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns the commerce shipments before and after the current commerce shipment in the ordered set where groupId = ? and commerceAddressId = ?.
    findByG_S(long[] groupIds, int status)
    Returns all the commerce shipments where groupId = any ? and status = ?.
    findByG_S(long[] groupIds, int status, int start, int end)
    Returns a range of all the commerce shipments where groupId = any ? and status = ?.
    findByG_S(long[] groupIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns an ordered range of all the commerce shipments where groupId = any ? and status = ?.
    findByG_S(long[] groupIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce shipments where groupId = ? and status = ?, optionally using the finder cache.
    findByG_S(long groupId, int status)
    Returns all the commerce shipments where groupId = ? and status = ?.
    findByG_S(long groupId, int status, int start, int end)
    Returns a range of all the commerce shipments where groupId = ? and status = ?.
    findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns an ordered range of all the commerce shipments where groupId = ? and status = ?.
    findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce shipments where groupId = ? and status = ?.
    findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns the first commerce shipment in the ordered set where groupId = ? and status = ?.
    findByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns the last commerce shipment in the ordered set where groupId = ? and status = ?.
    findByG_S_PrevAndNext(long commerceShipmentId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns the commerce shipments before and after the current commerce shipment in the ordered set where groupId = ? and status = ?.
    findByGroupId(long groupId)
    Returns all the commerce shipments where groupId = ?.
    findByGroupId(long[] groupIds)
    Returns all the commerce shipments where groupId = any ?.
    findByGroupId(long[] groupIds, int start, int end)
    Returns a range of all the commerce shipments where groupId = any ?.
    findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns an ordered range of all the commerce shipments where groupId = any ?.
    findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce shipments where groupId = ?, optionally using the finder cache.
    findByGroupId(long groupId, int start, int end)
    Returns a range of all the commerce shipments where groupId = ?.
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns an ordered range of all the commerce shipments where groupId = ?.
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce shipments where groupId = ?.
    findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns the first commerce shipment in the ordered set where groupId = ?.
    findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns the last commerce shipment in the ordered set where groupId = ?.
    findByGroupId_PrevAndNext(long commerceShipmentId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns the commerce shipments before and after the current commerce shipment in the ordered set where groupId = ?.
    findByPrimaryKey(long commerceShipmentId)
    Returns the commerce shipment with the primary key or throws a NoSuchShipmentException if it could not be found.
    Returns all the commerce shipments where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the commerce shipments where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns an ordered range of all the commerce shipments where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce shipments where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the commerce shipments where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the commerce shipments where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns an ordered range of all the commerce shipments where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the commerce shipments where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns the first commerce shipment in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns the last commerce shipment in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_PrevAndNext(long commerceShipmentId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns the commerce shipments before and after the current commerce shipment in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns the first commerce shipment in the ordered set where uuid = ?.
    findByUUID_G(String uuid, long groupId)
    Returns the commerce shipment where uuid = ? and groupId = ? or throws a NoSuchShipmentException if it could not be found.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns the last commerce shipment in the ordered set where uuid = ?.
    findByUuid_PrevAndNext(long commerceShipmentId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
    Returns the commerce shipments before and after the current commerce shipment in the ordered set where uuid = ?.
    remove(long commerceShipmentId)
    Removes the commerce shipment with the primary key from the database.
    void
    Removes all the commerce shipments from the database.
    removeByERC_C(String externalReferenceCode, long companyId)
    Removes the commerce shipment where externalReferenceCode = ? and companyId = ? from the database.
    void
    removeByG_C(long groupId, long commerceAddressId)
    Removes all the commerce shipments where groupId = ? and commerceAddressId = ? from the database.
    void
    removeByG_S(long groupId, int status)
    Removes all the commerce shipments where groupId = ? and status = ? from the database.
    void
    removeByGroupId(long groupId)
    Removes all the commerce shipments where groupId = ? from the database.
    void
    Removes all the commerce shipments where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the commerce shipments where uuid = ? and companyId = ? from the database.
    removeByUUID_G(String uuid, long groupId)
    Removes the commerce shipment where uuid = ? and groupId = ? from the database.
    updateImpl(CommerceShipment commerceShipment)
     

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

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, 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<CommerceShipment> findByUuid(String uuid)
      Returns all the commerce shipments where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce shipments
    • findByUuid

      List<CommerceShipment> findByUuid(String uuid, int start, int end)
      Returns a range of all the commerce shipments 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 CommerceShipmentModelImpl.

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

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

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

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

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

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

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

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

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

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

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

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

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

      CommerceShipment fetchByUUID_G(String uuid, long groupId)
      Returns the commerce shipment 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, or null if a matching commerce shipment could not be found
    • fetchByUUID_G

      CommerceShipment fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the commerce shipment 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, or null if a matching commerce shipment could not be found
    • removeByUUID_G

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

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

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

      List<CommerceShipment> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the commerce shipments 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 CommerceShipmentModelImpl.

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

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

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

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

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

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

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

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

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

      CommerceShipment[] findByUuid_C_PrevAndNext(long commerceShipmentId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException
      Returns the commerce shipments before and after the current commerce shipment in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      commerceShipmentId - the primary key of the current commerce shipment
      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
      Throws:
      NoSuchShipmentException - if a commerce shipment with the primary key could not be found
    • removeByUuid_C

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

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

      List<CommerceShipment> findByGroupId(long groupId, int start, int end)
      Returns a range of all the commerce shipments 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 CommerceShipmentModelImpl.

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

      List<CommerceShipment> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
      Returns an ordered range of all the commerce shipments 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 CommerceShipmentModelImpl.

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

      List<CommerceShipment> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce shipments 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 CommerceShipmentModelImpl.

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

      CommerceShipment findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException
      Returns the first commerce shipment 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
      Throws:
      NoSuchShipmentException - if a matching commerce shipment could not be found
    • fetchByGroupId_First

      CommerceShipment fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
      Returns the first commerce shipment 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, or null if a matching commerce shipment could not be found
    • findByGroupId_Last

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

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

      CommerceShipment[] findByGroupId_PrevAndNext(long commerceShipmentId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException
      Returns the commerce shipments before and after the current commerce shipment in the ordered set where groupId = ?.
      Parameters:
      commerceShipmentId - the primary key of the current commerce shipment
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce shipment
      Throws:
      NoSuchShipmentException - if a commerce shipment with the primary key could not be found
    • findByGroupId

      List<CommerceShipment> findByGroupId(long[] groupIds)
      Returns all the commerce shipments where groupId = any ?.

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

      Parameters:
      groupIds - the group IDs
      Returns:
      the matching commerce shipments
    • findByGroupId

      List<CommerceShipment> findByGroupId(long[] groupIds, int start, int end)
      Returns a range of all the commerce shipments where groupId = any ?.

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

      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of commerce shipments
      end - the upper bound of the range of commerce shipments (not inclusive)
      Returns:
      the range of matching commerce shipments
    • findByGroupId

      List<CommerceShipment> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
      Returns an ordered range of all the commerce shipments where groupId = any ?.

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

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

      List<CommerceShipment> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce shipments where groupId = ?, optionally using the finder cache.

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

      Parameters:
      groupIds - the group IDs
      start - the lower bound of the range of commerce shipments
      end - the upper bound of the range of commerce shipments (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 shipments
    • removeByGroupId

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

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

      int countByGroupId(long[] groupIds)
      Returns the number of commerce shipments where groupId = any ?.
      Parameters:
      groupIds - the group IDs
      Returns:
      the number of matching commerce shipments
    • findByG_C

      List<CommerceShipment> findByG_C(long groupId, long commerceAddressId)
      Returns all the commerce shipments where groupId = ? and commerceAddressId = ?.
      Parameters:
      groupId - the group ID
      commerceAddressId - the commerce address ID
      Returns:
      the matching commerce shipments
    • findByG_C

      List<CommerceShipment> findByG_C(long groupId, long commerceAddressId, int start, int end)
      Returns a range of all the commerce shipments where groupId = ? and commerceAddressId = ?.

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

      Parameters:
      groupId - the group ID
      commerceAddressId - the commerce address ID
      start - the lower bound of the range of commerce shipments
      end - the upper bound of the range of commerce shipments (not inclusive)
      Returns:
      the range of matching commerce shipments
    • findByG_C

      List<CommerceShipment> findByG_C(long groupId, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
      Returns an ordered range of all the commerce shipments where groupId = ? and commerceAddressId = ?.

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

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

      List<CommerceShipment> findByG_C(long groupId, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce shipments where groupId = ? and commerceAddressId = ?.

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

      Parameters:
      groupId - the group ID
      commerceAddressId - the commerce address ID
      start - the lower bound of the range of commerce shipments
      end - the upper bound of the range of commerce shipments (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 shipments
    • findByG_C_First

      CommerceShipment findByG_C_First(long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException
      Returns the first commerce shipment in the ordered set where groupId = ? and commerceAddressId = ?.
      Parameters:
      groupId - the group ID
      commerceAddressId - the commerce address ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce shipment
      Throws:
      NoSuchShipmentException - if a matching commerce shipment could not be found
    • fetchByG_C_First

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

      CommerceShipment findByG_C_Last(long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException
      Returns the last commerce shipment in the ordered set where groupId = ? and commerceAddressId = ?.
      Parameters:
      groupId - the group ID
      commerceAddressId - the commerce address ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce shipment
      Throws:
      NoSuchShipmentException - if a matching commerce shipment could not be found
    • fetchByG_C_Last

      CommerceShipment fetchByG_C_Last(long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
      Returns the last commerce shipment in the ordered set where groupId = ? and commerceAddressId = ?.
      Parameters:
      groupId - the group ID
      commerceAddressId - the commerce address ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce shipment, or null if a matching commerce shipment could not be found
    • findByG_C_PrevAndNext

      CommerceShipment[] findByG_C_PrevAndNext(long commerceShipmentId, long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException
      Returns the commerce shipments before and after the current commerce shipment in the ordered set where groupId = ? and commerceAddressId = ?.
      Parameters:
      commerceShipmentId - the primary key of the current commerce shipment
      groupId - the group ID
      commerceAddressId - the commerce address ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce shipment
      Throws:
      NoSuchShipmentException - if a commerce shipment with the primary key could not be found
    • findByG_C

      List<CommerceShipment> findByG_C(long[] groupIds, long commerceAddressId)
      Returns all the commerce shipments where groupId = any ? and commerceAddressId = ?.

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

      Parameters:
      groupIds - the group IDs
      commerceAddressId - the commerce address ID
      Returns:
      the matching commerce shipments
    • findByG_C

      List<CommerceShipment> findByG_C(long[] groupIds, long commerceAddressId, int start, int end)
      Returns a range of all the commerce shipments where groupId = any ? and commerceAddressId = ?.

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

      Parameters:
      groupIds - the group IDs
      commerceAddressId - the commerce address ID
      start - the lower bound of the range of commerce shipments
      end - the upper bound of the range of commerce shipments (not inclusive)
      Returns:
      the range of matching commerce shipments
    • findByG_C

      List<CommerceShipment> findByG_C(long[] groupIds, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
      Returns an ordered range of all the commerce shipments where groupId = any ? and commerceAddressId = ?.

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

      Parameters:
      groupIds - the group IDs
      commerceAddressId - the commerce address ID
      start - the lower bound of the range of commerce shipments
      end - the upper bound of the range of commerce shipments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce shipments
    • findByG_C

      List<CommerceShipment> findByG_C(long[] groupIds, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce shipments where groupId = ? and commerceAddressId = ?, optionally using the finder cache.

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

      Parameters:
      groupIds - the group IDs
      commerceAddressId - the commerce address ID
      start - the lower bound of the range of commerce shipments
      end - the upper bound of the range of commerce shipments (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 shipments
    • removeByG_C

      void removeByG_C(long groupId, long commerceAddressId)
      Removes all the commerce shipments where groupId = ? and commerceAddressId = ? from the database.
      Parameters:
      groupId - the group ID
      commerceAddressId - the commerce address ID
    • countByG_C

      int countByG_C(long groupId, long commerceAddressId)
      Returns the number of commerce shipments where groupId = ? and commerceAddressId = ?.
      Parameters:
      groupId - the group ID
      commerceAddressId - the commerce address ID
      Returns:
      the number of matching commerce shipments
    • countByG_C

      int countByG_C(long[] groupIds, long commerceAddressId)
      Returns the number of commerce shipments where groupId = any ? and commerceAddressId = ?.
      Parameters:
      groupIds - the group IDs
      commerceAddressId - the commerce address ID
      Returns:
      the number of matching commerce shipments
    • findByG_S

      List<CommerceShipment> findByG_S(long groupId, int status)
      Returns all the commerce shipments where groupId = ? and status = ?.
      Parameters:
      groupId - the group ID
      status - the status
      Returns:
      the matching commerce shipments
    • findByG_S

      List<CommerceShipment> findByG_S(long groupId, int status, int start, int end)
      Returns a range of all the commerce shipments where groupId = ? and status = ?.

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

      Parameters:
      groupId - the group ID
      status - the status
      start - the lower bound of the range of commerce shipments
      end - the upper bound of the range of commerce shipments (not inclusive)
      Returns:
      the range of matching commerce shipments
    • findByG_S

      List<CommerceShipment> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
      Returns an ordered range of all the commerce shipments where groupId = ? and status = ?.

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

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

      List<CommerceShipment> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce shipments where groupId = ? and status = ?.

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

      Parameters:
      groupId - the group ID
      status - the status
      start - the lower bound of the range of commerce shipments
      end - the upper bound of the range of commerce shipments (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 shipments
    • findByG_S_First

      CommerceShipment findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException
      Returns the first commerce shipment in the ordered set where groupId = ? and status = ?.
      Parameters:
      groupId - the group ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce shipment
      Throws:
      NoSuchShipmentException - if a matching commerce shipment could not be found
    • fetchByG_S_First

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

      CommerceShipment findByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException
      Returns the last commerce shipment in the ordered set where groupId = ? and status = ?.
      Parameters:
      groupId - the group ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce shipment
      Throws:
      NoSuchShipmentException - if a matching commerce shipment could not be found
    • fetchByG_S_Last

      CommerceShipment fetchByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
      Returns the last commerce shipment in the ordered set where groupId = ? and status = ?.
      Parameters:
      groupId - the group ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce shipment, or null if a matching commerce shipment could not be found
    • findByG_S_PrevAndNext

      CommerceShipment[] findByG_S_PrevAndNext(long commerceShipmentId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException
      Returns the commerce shipments before and after the current commerce shipment in the ordered set where groupId = ? and status = ?.
      Parameters:
      commerceShipmentId - the primary key of the current commerce shipment
      groupId - the group ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce shipment
      Throws:
      NoSuchShipmentException - if a commerce shipment with the primary key could not be found
    • findByG_S

      List<CommerceShipment> findByG_S(long[] groupIds, int status)
      Returns all the commerce shipments where groupId = any ? and status = ?.

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

      Parameters:
      groupIds - the group IDs
      status - the status
      Returns:
      the matching commerce shipments
    • findByG_S

      List<CommerceShipment> findByG_S(long[] groupIds, int status, int start, int end)
      Returns a range of all the commerce shipments where groupId = any ? and status = ?.

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

      Parameters:
      groupIds - the group IDs
      status - the status
      start - the lower bound of the range of commerce shipments
      end - the upper bound of the range of commerce shipments (not inclusive)
      Returns:
      the range of matching commerce shipments
    • findByG_S

      List<CommerceShipment> findByG_S(long[] groupIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
      Returns an ordered range of all the commerce shipments where groupId = any ? and status = ?.

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

      Parameters:
      groupIds - the group IDs
      status - the status
      start - the lower bound of the range of commerce shipments
      end - the upper bound of the range of commerce shipments (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce shipments
    • findByG_S

      List<CommerceShipment> findByG_S(long[] groupIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce shipments where groupId = ? and status = ?, optionally using the finder cache.

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

      Parameters:
      groupIds - the group IDs
      status - the status
      start - the lower bound of the range of commerce shipments
      end - the upper bound of the range of commerce shipments (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 shipments
    • removeByG_S

      void removeByG_S(long groupId, int status)
      Removes all the commerce shipments where groupId = ? and status = ? from the database.
      Parameters:
      groupId - the group ID
      status - the status
    • countByG_S

      int countByG_S(long groupId, int status)
      Returns the number of commerce shipments where groupId = ? and status = ?.
      Parameters:
      groupId - the group ID
      status - the status
      Returns:
      the number of matching commerce shipments
    • countByG_S

      int countByG_S(long[] groupIds, int status)
      Returns the number of commerce shipments where groupId = any ? and status = ?.
      Parameters:
      groupIds - the group IDs
      status - the status
      Returns:
      the number of matching commerce shipments
    • findByERC_C

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

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

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

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

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

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

      void cacheResult(List<CommerceShipment> commerceShipments)
      Caches the commerce shipments in the entity cache if it is enabled.
      Parameters:
      commerceShipments - the commerce shipments
    • create

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

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

      CommerceShipment updateImpl(CommerceShipment commerceShipment)
    • findByPrimaryKey

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

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

      Returns all the commerce shipments.
      Returns:
      the commerce shipments
    • findAll

      List<CommerceShipment> findAll(int start, int end)
      Returns a range of all the commerce shipments.

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

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

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

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

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

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

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

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

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

      int countAll()
      Returns the number of commerce shipments.
      Returns:
      the number of commerce shipments