public class CommerceShipmentItemUtil
extends java.lang.Object
com.liferay.commerce.service.persistence.impl.CommerceShipmentItemPersistenceImpl
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
CommerceShipmentItemPersistence
Constructor and Description |
---|
CommerceShipmentItemUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CommerceShipmentItem commerceShipmentItem)
Caches the commerce shipment item in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CommerceShipmentItem> commerceShipmentItems)
Caches the commerce shipment items in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CommerceShipmentItem commerceShipmentItem) |
static int |
countAll()
Returns the number of commerce shipment items.
|
static int |
countByC_C_C(long commerceShipmentId,
long commerceOrderItemId,
long commerceInventoryWarehouseId)
Returns the number of commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ?.
|
static int |
countByC_C(long commerceShipmentId,
long commerceOrderItemId)
Returns the number of commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.
|
static int |
countByCommerceOrderItemId(long commerceOrderItemId)
Returns the number of commerce shipment items where commerceOrderItemId = ?.
|
static int |
countByCommerceShipmentId(long commerceShipmentId)
Returns the number of commerce shipment items where commerceShipmentId = ?.
|
static int |
countByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the number of commerce shipment items where externalReferenceCode = ? and companyId = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of commerce shipment items where groupId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce shipment items where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of commerce shipment items where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of commerce shipment items where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CommerceShipmentItem |
create(long commerceShipmentItemId)
Creates a new commerce shipment item with the primary key.
|
static CommerceShipmentItem |
fetchByC_C_C(long commerceShipmentId,
long commerceOrderItemId,
long commerceInventoryWarehouseId)
Returns the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? or returns
null if it could not be found. |
static CommerceShipmentItem |
fetchByC_C_C(long commerceShipmentId,
long commerceOrderItemId,
long commerceInventoryWarehouseId,
boolean useFinderCache)
Returns the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CommerceShipmentItem |
fetchByC_C_First(long commerceShipmentId,
long commerceOrderItemId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the first commerce shipment item in the ordered set where commerceShipmentId = ? and commerceOrderItemId = ?.
|
static CommerceShipmentItem |
fetchByC_C_Last(long commerceShipmentId,
long commerceOrderItemId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the last commerce shipment item in the ordered set where commerceShipmentId = ? and commerceOrderItemId = ?.
|
static CommerceShipmentItem |
fetchByCommerceOrderItemId_First(long commerceOrderItemId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the first commerce shipment item in the ordered set where commerceOrderItemId = ?.
|
static CommerceShipmentItem |
fetchByCommerceOrderItemId_Last(long commerceOrderItemId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the last commerce shipment item in the ordered set where commerceOrderItemId = ?.
|
static CommerceShipmentItem |
fetchByCommerceShipmentId_First(long commerceShipmentId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the first commerce shipment item in the ordered set where commerceShipmentId = ?.
|
static CommerceShipmentItem |
fetchByCommerceShipmentId_Last(long commerceShipmentId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the last commerce shipment item in the ordered set where commerceShipmentId = ?.
|
static CommerceShipmentItem |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce shipment item where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found. |
static CommerceShipmentItem |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId,
boolean useFinderCache)
Returns the commerce shipment item where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CommerceShipmentItem |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the first commerce shipment item in the ordered set where groupId = ?.
|
static CommerceShipmentItem |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the last commerce shipment item in the ordered set where groupId = ?.
|
static CommerceShipmentItem |
fetchByPrimaryKey(long commerceShipmentItemId)
Returns the commerce shipment item with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CommerceShipmentItem> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static CommerceShipmentItem |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the first commerce shipment item in the ordered set where uuid = ? and companyId = ?.
|
static CommerceShipmentItem |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the last commerce shipment item in the ordered set where uuid = ? and companyId = ?.
|
static CommerceShipmentItem |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the first commerce shipment item in the ordered set where uuid = ?.
|
static CommerceShipmentItem |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce shipment item where uuid = ? and groupId = ? or returns
null if it could not be found. |
static CommerceShipmentItem |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the commerce shipment item where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CommerceShipmentItem |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the last commerce shipment item in the ordered set where uuid = ?.
|
static java.util.List<CommerceShipmentItem> |
findAll()
Returns all the commerce shipment items.
|
static java.util.List<CommerceShipmentItem> |
findAll(int start,
int end)
Returns a range of all the commerce shipment items.
|
static java.util.List<CommerceShipmentItem> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns an ordered range of all the commerce shipment items.
|
static java.util.List<CommerceShipmentItem> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce shipment items.
|
static CommerceShipmentItem |
findByC_C_C(long commerceShipmentId,
long commerceOrderItemId,
long commerceInventoryWarehouseId)
Returns the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? or throws a
NoSuchShipmentItemException if it could not be found. |
static CommerceShipmentItem |
findByC_C_First(long commerceShipmentId,
long commerceOrderItemId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the first commerce shipment item in the ordered set where commerceShipmentId = ? and commerceOrderItemId = ?.
|
static CommerceShipmentItem |
findByC_C_Last(long commerceShipmentId,
long commerceOrderItemId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the last commerce shipment item in the ordered set where commerceShipmentId = ? and commerceOrderItemId = ?.
|
static CommerceShipmentItem[] |
findByC_C_PrevAndNext(long commerceShipmentItemId,
long commerceShipmentId,
long commerceOrderItemId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the commerce shipment items before and after the current commerce shipment item in the ordered set where commerceShipmentId = ? and commerceOrderItemId = ?.
|
static java.util.List<CommerceShipmentItem> |
findByC_C(long commerceShipmentId,
long commerceOrderItemId)
Returns all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.
|
static java.util.List<CommerceShipmentItem> |
findByC_C(long commerceShipmentId,
long commerceOrderItemId,
int start,
int end)
Returns a range of all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.
|
static java.util.List<CommerceShipmentItem> |
findByC_C(long commerceShipmentId,
long commerceOrderItemId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns an ordered range of all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.
|
static java.util.List<CommerceShipmentItem> |
findByC_C(long commerceShipmentId,
long commerceOrderItemId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.
|
static CommerceShipmentItem |
findByCommerceOrderItemId_First(long commerceOrderItemId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the first commerce shipment item in the ordered set where commerceOrderItemId = ?.
|
static CommerceShipmentItem |
findByCommerceOrderItemId_Last(long commerceOrderItemId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the last commerce shipment item in the ordered set where commerceOrderItemId = ?.
|
static CommerceShipmentItem[] |
findByCommerceOrderItemId_PrevAndNext(long commerceShipmentItemId,
long commerceOrderItemId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the commerce shipment items before and after the current commerce shipment item in the ordered set where commerceOrderItemId = ?.
|
static java.util.List<CommerceShipmentItem> |
findByCommerceOrderItemId(long commerceOrderItemId)
Returns all the commerce shipment items where commerceOrderItemId = ?.
|
static java.util.List<CommerceShipmentItem> |
findByCommerceOrderItemId(long commerceOrderItemId,
int start,
int end)
Returns a range of all the commerce shipment items where commerceOrderItemId = ?.
|
static java.util.List<CommerceShipmentItem> |
findByCommerceOrderItemId(long commerceOrderItemId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns an ordered range of all the commerce shipment items where commerceOrderItemId = ?.
|
static java.util.List<CommerceShipmentItem> |
findByCommerceOrderItemId(long commerceOrderItemId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce shipment items where commerceOrderItemId = ?.
|
static CommerceShipmentItem |
findByCommerceShipmentId_First(long commerceShipmentId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the first commerce shipment item in the ordered set where commerceShipmentId = ?.
|
static CommerceShipmentItem |
findByCommerceShipmentId_Last(long commerceShipmentId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the last commerce shipment item in the ordered set where commerceShipmentId = ?.
|
static CommerceShipmentItem[] |
findByCommerceShipmentId_PrevAndNext(long commerceShipmentItemId,
long commerceShipmentId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the commerce shipment items before and after the current commerce shipment item in the ordered set where commerceShipmentId = ?.
|
static java.util.List<CommerceShipmentItem> |
findByCommerceShipmentId(long commerceShipmentId)
Returns all the commerce shipment items where commerceShipmentId = ?.
|
static java.util.List<CommerceShipmentItem> |
findByCommerceShipmentId(long commerceShipmentId,
int start,
int end)
Returns a range of all the commerce shipment items where commerceShipmentId = ?.
|
static java.util.List<CommerceShipmentItem> |
findByCommerceShipmentId(long commerceShipmentId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns an ordered range of all the commerce shipment items where commerceShipmentId = ?.
|
static java.util.List<CommerceShipmentItem> |
findByCommerceShipmentId(long commerceShipmentId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce shipment items where commerceShipmentId = ?.
|
static CommerceShipmentItem |
findByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce shipment item where externalReferenceCode = ? and companyId = ? or throws a
NoSuchShipmentItemException if it could not be found. |
static CommerceShipmentItem |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the first commerce shipment item in the ordered set where groupId = ?.
|
static CommerceShipmentItem |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the last commerce shipment item in the ordered set where groupId = ?.
|
static CommerceShipmentItem[] |
findByGroupId_PrevAndNext(long commerceShipmentItemId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the commerce shipment items before and after the current commerce shipment item in the ordered set where groupId = ?.
|
static java.util.List<CommerceShipmentItem> |
findByGroupId(long groupId)
Returns all the commerce shipment items where groupId = ?.
|
static java.util.List<CommerceShipmentItem> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the commerce shipment items where groupId = ?.
|
static java.util.List<CommerceShipmentItem> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns an ordered range of all the commerce shipment items where groupId = ?.
|
static java.util.List<CommerceShipmentItem> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce shipment items where groupId = ?.
|
static CommerceShipmentItem |
findByPrimaryKey(long commerceShipmentItemId)
Returns the commerce shipment item with the primary key or throws a
NoSuchShipmentItemException if it could not be found. |
static CommerceShipmentItem |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the first commerce shipment item in the ordered set where uuid = ? and companyId = ?.
|
static CommerceShipmentItem |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the last commerce shipment item in the ordered set where uuid = ? and companyId = ?.
|
static CommerceShipmentItem[] |
findByUuid_C_PrevAndNext(long commerceShipmentItemId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the commerce shipment items before and after the current commerce shipment item in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<CommerceShipmentItem> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce shipment items where uuid = ? and companyId = ?.
|
static java.util.List<CommerceShipmentItem> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce shipment items where uuid = ? and companyId = ?.
|
static java.util.List<CommerceShipmentItem> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns an ordered range of all the commerce shipment items where uuid = ? and companyId = ?.
|
static java.util.List<CommerceShipmentItem> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce shipment items where uuid = ? and companyId = ?.
|
static CommerceShipmentItem |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the first commerce shipment item in the ordered set where uuid = ?.
|
static CommerceShipmentItem |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce shipment item where uuid = ? and groupId = ? or throws a
NoSuchShipmentItemException if it could not be found. |
static CommerceShipmentItem |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the last commerce shipment item in the ordered set where uuid = ?.
|
static CommerceShipmentItem[] |
findByUuid_PrevAndNext(long commerceShipmentItemId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns the commerce shipment items before and after the current commerce shipment item in the ordered set where uuid = ?.
|
static java.util.List<CommerceShipmentItem> |
findByUuid(java.lang.String uuid)
Returns all the commerce shipment items where uuid = ?.
|
static java.util.List<CommerceShipmentItem> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce shipment items where uuid = ?.
|
static java.util.List<CommerceShipmentItem> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Returns an ordered range of all the commerce shipment items where uuid = ?.
|
static java.util.List<CommerceShipmentItem> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce shipment items where uuid = ?.
|
static java.util.List<CommerceShipmentItem> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CommerceShipmentItem> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CommerceShipmentItem> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) |
static CommerceShipmentItemPersistence |
getPersistence() |
static CommerceShipmentItem |
remove(long commerceShipmentItemId)
Removes the commerce shipment item with the primary key from the database.
|
static void |
removeAll()
Removes all the commerce shipment items from the database.
|
static CommerceShipmentItem |
removeByC_C_C(long commerceShipmentId,
long commerceOrderItemId,
long commerceInventoryWarehouseId)
Removes the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? from the database.
|
static void |
removeByC_C(long commerceShipmentId,
long commerceOrderItemId)
Removes all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ? from the database.
|
static void |
removeByCommerceOrderItemId(long commerceOrderItemId)
Removes all the commerce shipment items where commerceOrderItemId = ? from the database.
|
static void |
removeByCommerceShipmentId(long commerceShipmentId)
Removes all the commerce shipment items where commerceShipmentId = ? from the database.
|
static CommerceShipmentItem |
removeByERC_C(java.lang.String externalReferenceCode,
long companyId)
Removes the commerce shipment item where externalReferenceCode = ? and companyId = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the commerce shipment items where groupId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce shipment items where uuid = ? and companyId = ? from the database.
|
static CommerceShipmentItem |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the commerce shipment item where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the commerce shipment items where uuid = ? from the database.
|
static void |
setPersistence(CommerceShipmentItemPersistence persistence) |
static CommerceShipmentItem |
update(CommerceShipmentItem commerceShipmentItem) |
static CommerceShipmentItem |
update(CommerceShipmentItem commerceShipmentItem,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceShipmentItem |
updateImpl(CommerceShipmentItem commerceShipmentItem) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CommerceShipmentItem commerceShipmentItem)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,CommerceShipmentItem> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CommerceShipmentItem> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CommerceShipmentItem> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CommerceShipmentItem> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CommerceShipmentItem update(CommerceShipmentItem commerceShipmentItem)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CommerceShipmentItem update(CommerceShipmentItem commerceShipmentItem, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CommerceShipmentItem> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CommerceShipmentItem> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentItemModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce shipment itemsend
- the upper bound of the range of commerce shipment items (not inclusive)public static java.util.List<CommerceShipmentItem> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentItemModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce shipment itemsend
- the upper bound of the range of commerce shipment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceShipmentItem> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentItemModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce shipment itemsend
- the upper bound of the range of commerce shipment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceShipmentItem findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentItemException
- if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentItemException
- if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem[] findByUuid_PrevAndNext(long commerceShipmentItemId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
commerceShipmentItemId
- the primary key of the current commerce shipment itemuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentItemException
- if a commerce shipment item with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static CommerceShipmentItem findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchShipmentItemException
NoSuchShipmentItemException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchShipmentItemException
- if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchShipmentItemException
uuid
- the uuidgroupId
- the group IDNoSuchShipmentItemException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<CommerceShipmentItem> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CommerceShipmentItem> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentItemModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce shipment itemsend
- the upper bound of the range of commerce shipment items (not inclusive)public static java.util.List<CommerceShipmentItem> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentItemModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce shipment itemsend
- the upper bound of the range of commerce shipment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceShipmentItem> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentItemModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce shipment itemsend
- the upper bound of the range of commerce shipment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceShipmentItem findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentItemException
- if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentItemException
- if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem[] findByUuid_C_PrevAndNext(long commerceShipmentItemId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
commerceShipmentItemId
- the primary key of the current commerce shipment itemuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentItemException
- if a commerce shipment item with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CommerceShipmentItem> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<CommerceShipmentItem> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentItemModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of commerce shipment itemsend
- the upper bound of the range of commerce shipment items (not inclusive)public static java.util.List<CommerceShipmentItem> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentItemModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of commerce shipment itemsend
- the upper bound of the range of commerce shipment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceShipmentItem> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentItemModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of commerce shipment itemsend
- the upper bound of the range of commerce shipment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceShipmentItem findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentItemException
- if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentItemException
- if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem[] findByGroupId_PrevAndNext(long commerceShipmentItemId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
commerceShipmentItemId
- the primary key of the current commerce shipment itemgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentItemException
- if a commerce shipment item with the primary key could not be foundpublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<CommerceShipmentItem> findByCommerceShipmentId(long commerceShipmentId)
commerceShipmentId
- the commerce shipment IDpublic static java.util.List<CommerceShipmentItem> findByCommerceShipmentId(long commerceShipmentId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentItemModelImpl
.
commerceShipmentId
- the commerce shipment IDstart
- the lower bound of the range of commerce shipment itemsend
- the upper bound of the range of commerce shipment items (not inclusive)public static java.util.List<CommerceShipmentItem> findByCommerceShipmentId(long commerceShipmentId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentItemModelImpl
.
commerceShipmentId
- the commerce shipment IDstart
- the lower bound of the range of commerce shipment itemsend
- the upper bound of the range of commerce shipment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceShipmentItem> findByCommerceShipmentId(long commerceShipmentId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentItemModelImpl
.
commerceShipmentId
- the commerce shipment IDstart
- the lower bound of the range of commerce shipment itemsend
- the upper bound of the range of commerce shipment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceShipmentItem findByCommerceShipmentId_First(long commerceShipmentId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
commerceShipmentId
- the commerce shipment IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentItemException
- if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem fetchByCommerceShipmentId_First(long commerceShipmentId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
commerceShipmentId
- the commerce shipment IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem findByCommerceShipmentId_Last(long commerceShipmentId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
commerceShipmentId
- the commerce shipment IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentItemException
- if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem fetchByCommerceShipmentId_Last(long commerceShipmentId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
commerceShipmentId
- the commerce shipment IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem[] findByCommerceShipmentId_PrevAndNext(long commerceShipmentItemId, long commerceShipmentId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
commerceShipmentItemId
- the primary key of the current commerce shipment itemcommerceShipmentId
- the commerce shipment IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentItemException
- if a commerce shipment item with the primary key could not be foundpublic static void removeByCommerceShipmentId(long commerceShipmentId)
commerceShipmentId
- the commerce shipment IDpublic static int countByCommerceShipmentId(long commerceShipmentId)
commerceShipmentId
- the commerce shipment IDpublic static java.util.List<CommerceShipmentItem> findByCommerceOrderItemId(long commerceOrderItemId)
commerceOrderItemId
- the commerce order item IDpublic static java.util.List<CommerceShipmentItem> findByCommerceOrderItemId(long commerceOrderItemId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentItemModelImpl
.
commerceOrderItemId
- the commerce order item IDstart
- the lower bound of the range of commerce shipment itemsend
- the upper bound of the range of commerce shipment items (not inclusive)public static java.util.List<CommerceShipmentItem> findByCommerceOrderItemId(long commerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentItemModelImpl
.
commerceOrderItemId
- the commerce order item IDstart
- the lower bound of the range of commerce shipment itemsend
- the upper bound of the range of commerce shipment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceShipmentItem> findByCommerceOrderItemId(long commerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentItemModelImpl
.
commerceOrderItemId
- the commerce order item IDstart
- the lower bound of the range of commerce shipment itemsend
- the upper bound of the range of commerce shipment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceShipmentItem findByCommerceOrderItemId_First(long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
commerceOrderItemId
- the commerce order item IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentItemException
- if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem fetchByCommerceOrderItemId_First(long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
commerceOrderItemId
- the commerce order item IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem findByCommerceOrderItemId_Last(long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
commerceOrderItemId
- the commerce order item IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentItemException
- if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem fetchByCommerceOrderItemId_Last(long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
commerceOrderItemId
- the commerce order item IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem[] findByCommerceOrderItemId_PrevAndNext(long commerceShipmentItemId, long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
commerceShipmentItemId
- the primary key of the current commerce shipment itemcommerceOrderItemId
- the commerce order item IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentItemException
- if a commerce shipment item with the primary key could not be foundpublic static void removeByCommerceOrderItemId(long commerceOrderItemId)
commerceOrderItemId
- the commerce order item IDpublic static int countByCommerceOrderItemId(long commerceOrderItemId)
commerceOrderItemId
- the commerce order item IDpublic static java.util.List<CommerceShipmentItem> findByC_C(long commerceShipmentId, long commerceOrderItemId)
commerceShipmentId
- the commerce shipment IDcommerceOrderItemId
- the commerce order item IDpublic static java.util.List<CommerceShipmentItem> findByC_C(long commerceShipmentId, long commerceOrderItemId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentItemModelImpl
.
commerceShipmentId
- the commerce shipment IDcommerceOrderItemId
- the commerce order item IDstart
- the lower bound of the range of commerce shipment itemsend
- the upper bound of the range of commerce shipment items (not inclusive)public static java.util.List<CommerceShipmentItem> findByC_C(long commerceShipmentId, long commerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentItemModelImpl
.
commerceShipmentId
- the commerce shipment IDcommerceOrderItemId
- the commerce order item IDstart
- the lower bound of the range of commerce shipment itemsend
- the upper bound of the range of commerce shipment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceShipmentItem> findByC_C(long commerceShipmentId, long commerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentItemModelImpl
.
commerceShipmentId
- the commerce shipment IDcommerceOrderItemId
- the commerce order item IDstart
- the lower bound of the range of commerce shipment itemsend
- the upper bound of the range of commerce shipment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceShipmentItem findByC_C_First(long commerceShipmentId, long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
commerceShipmentId
- the commerce shipment IDcommerceOrderItemId
- the commerce order item IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentItemException
- if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem fetchByC_C_First(long commerceShipmentId, long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
commerceShipmentId
- the commerce shipment IDcommerceOrderItemId
- the commerce order item IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem findByC_C_Last(long commerceShipmentId, long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
commerceShipmentId
- the commerce shipment IDcommerceOrderItemId
- the commerce order item IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentItemException
- if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem fetchByC_C_Last(long commerceShipmentId, long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
commerceShipmentId
- the commerce shipment IDcommerceOrderItemId
- the commerce order item IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem[] findByC_C_PrevAndNext(long commerceShipmentItemId, long commerceShipmentId, long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException
commerceShipmentItemId
- the primary key of the current commerce shipment itemcommerceShipmentId
- the commerce shipment IDcommerceOrderItemId
- the commerce order item IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentItemException
- if a commerce shipment item with the primary key could not be foundpublic static void removeByC_C(long commerceShipmentId, long commerceOrderItemId)
commerceShipmentId
- the commerce shipment IDcommerceOrderItemId
- the commerce order item IDpublic static int countByC_C(long commerceShipmentId, long commerceOrderItemId)
commerceShipmentId
- the commerce shipment IDcommerceOrderItemId
- the commerce order item IDpublic static CommerceShipmentItem findByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId) throws NoSuchShipmentItemException
NoSuchShipmentItemException
if it could not be found.commerceShipmentId
- the commerce shipment IDcommerceOrderItemId
- the commerce order item IDcommerceInventoryWarehouseId
- the commerce inventory warehouse IDNoSuchShipmentItemException
- if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem fetchByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId)
null
if it could not be found. Uses the finder cache.commerceShipmentId
- the commerce shipment IDcommerceOrderItemId
- the commerce order item IDcommerceInventoryWarehouseId
- the commerce inventory warehouse IDnull
if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem fetchByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.commerceShipmentId
- the commerce shipment IDcommerceOrderItemId
- the commerce order item IDcommerceInventoryWarehouseId
- the commerce inventory warehouse IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem removeByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId) throws NoSuchShipmentItemException
commerceShipmentId
- the commerce shipment IDcommerceOrderItemId
- the commerce order item IDcommerceInventoryWarehouseId
- the commerce inventory warehouse IDNoSuchShipmentItemException
public static int countByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId)
commerceShipmentId
- the commerce shipment IDcommerceOrderItemId
- the commerce order item IDcommerceInventoryWarehouseId
- the commerce inventory warehouse IDpublic static CommerceShipmentItem findByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchShipmentItemException
NoSuchShipmentItemException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchShipmentItemException
- if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem fetchByERC_C(java.lang.String externalReferenceCode, long companyId)
null
if it could not be found. Uses the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDnull
if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem fetchByERC_C(java.lang.String externalReferenceCode, long companyId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce shipment item could not be foundpublic static CommerceShipmentItem removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchShipmentItemException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchShipmentItemException
public static int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDpublic static void cacheResult(CommerceShipmentItem commerceShipmentItem)
commerceShipmentItem
- the commerce shipment itempublic static void cacheResult(java.util.List<CommerceShipmentItem> commerceShipmentItems)
commerceShipmentItems
- the commerce shipment itemspublic static CommerceShipmentItem create(long commerceShipmentItemId)
commerceShipmentItemId
- the primary key for the new commerce shipment itempublic static CommerceShipmentItem remove(long commerceShipmentItemId) throws NoSuchShipmentItemException
commerceShipmentItemId
- the primary key of the commerce shipment itemNoSuchShipmentItemException
- if a commerce shipment item with the primary key could not be foundpublic static CommerceShipmentItem updateImpl(CommerceShipmentItem commerceShipmentItem)
public static CommerceShipmentItem findByPrimaryKey(long commerceShipmentItemId) throws NoSuchShipmentItemException
NoSuchShipmentItemException
if it could not be found.commerceShipmentItemId
- the primary key of the commerce shipment itemNoSuchShipmentItemException
- if a commerce shipment item with the primary key could not be foundpublic static CommerceShipmentItem fetchByPrimaryKey(long commerceShipmentItemId)
null
if it could not be found.commerceShipmentItemId
- the primary key of the commerce shipment itemnull
if a commerce shipment item with the primary key could not be foundpublic static java.util.List<CommerceShipmentItem> findAll()
public static java.util.List<CommerceShipmentItem> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentItemModelImpl
.
start
- the lower bound of the range of commerce shipment itemsend
- the upper bound of the range of commerce shipment items (not inclusive)public static java.util.List<CommerceShipmentItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentItemModelImpl
.
start
- the lower bound of the range of commerce shipment itemsend
- the upper bound of the range of commerce shipment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceShipmentItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentItemModelImpl
.
start
- the lower bound of the range of commerce shipment itemsend
- the upper bound of the range of commerce shipment items (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static CommerceShipmentItemPersistence getPersistence()
public static void setPersistence(CommerceShipmentItemPersistence persistence)