Class CommerceShipmentUtil

java.lang.Object
com.liferay.commerce.service.persistence.CommerceShipmentUtil

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

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    cacheResult(CommerceShipment commerceShipment)
    Caches the commerce shipment in the entity cache if it is enabled.
    static void
    cacheResult(List<CommerceShipment> commerceShipments)
    Caches the commerce shipments in the entity cache if it is enabled.
    static void
     
    static void
    clearCache(CommerceShipment commerceShipment)
     
    static int
    Returns the number of commerce shipments.
    static int
    countByERC_C(String externalReferenceCode, long companyId)
    Returns the number of commerce shipments where externalReferenceCode = ? and companyId = ?.
    static int
    countByG_C(long[] groupIds, long commerceAddressId)
    Returns the number of commerce shipments where groupId = any ? and commerceAddressId = ?.
    static int
    countByG_C(long groupId, long commerceAddressId)
    Returns the number of commerce shipments where groupId = ? and commerceAddressId = ?.
    static int
    countByG_S(long[] groupIds, int status)
    Returns the number of commerce shipments where groupId = any ? and status = ?.
    static int
    countByG_S(long groupId, int status)
    Returns the number of commerce shipments where groupId = ? and status = ?.
    static int
    countByGroupId(long groupId)
    Returns the number of commerce shipments where groupId = ?.
    static int
    countByGroupId(long[] groupIds)
    Returns the number of commerce shipments where groupId = any ?.
    static int
    Returns the number of commerce shipments where uuid = ?.
    static int
    countByUuid_C(String uuid, long companyId)
    Returns the number of commerce shipments where uuid = ? and companyId = ?.
    static int
    countByUUID_G(String uuid, long groupId)
    Returns the number of commerce shipments where uuid = ? and groupId = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    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 = ?.
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
     
     
    remove(long commerceShipmentId)
    Removes the commerce shipment with the primary key from the database.
    static 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.
    static void
    removeByG_C(long groupId, long commerceAddressId)
    Removes all the commerce shipments where groupId = ? and commerceAddressId = ? from the database.
    static void
    removeByG_S(long groupId, int status)
    Removes all the commerce shipments where groupId = ? and status = ? from the database.
    static void
    removeByGroupId(long groupId)
    Removes all the commerce shipments where groupId = ? from the database.
    static void
    Removes all the commerce shipments where uuid = ? from the database.
    static 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.
    static void
     
    update(CommerceShipment commerceShipment)
     
    update(CommerceShipment commerceShipment, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    updateImpl(CommerceShipment commerceShipment)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CommerceShipmentUtil

      public CommerceShipmentUtil()
  • Method Details

    • clearCache

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

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

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

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

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

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

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

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

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

      public static List<CommerceShipment> findByUuid(String uuid)
      Returns all the commerce shipments where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce shipments
    • findByUuid

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

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

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

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

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

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

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

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

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

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

      public static 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
      NoSuchShipmentException
    • fetchByUUID_G

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static 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
      NoSuchShipmentException
    • fetchByGroupId_First

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

      public static 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
      NoSuchShipmentException
    • fetchByGroupId_Last

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

      public static 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
      NoSuchShipmentException
    • findByGroupId

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

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

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

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

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

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

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

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

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

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

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

      public static 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
      NoSuchShipmentException
    • fetchByG_C_First

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

      public static 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
      NoSuchShipmentException
    • fetchByG_C_Last

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

      public static 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
      NoSuchShipmentException
    • findByG_C

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

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

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

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

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

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

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

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

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

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

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

      public static 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
      NoSuchShipmentException
    • fetchByG_S_First

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

      public static 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
      NoSuchShipmentException
    • fetchByG_S_Last

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

      public static 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
      NoSuchShipmentException
    • findByG_S

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static CommerceShipment updateImpl(CommerceShipment commerceShipment)
    • findByPrimaryKey

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

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

      public static List<CommerceShipment> findAll()
      Returns all the commerce shipments.
      Returns:
      the commerce shipments
    • findAll

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

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

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

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

      public static int countAll()
      Returns the number of commerce shipments.
      Returns:
      the number of commerce shipments
    • getPersistence

      public static CommerceShipmentPersistence getPersistence()
    • setPersistence

      public static void setPersistence(CommerceShipmentPersistence persistence)