Class CommerceShipmentItemUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(CommerceShipmentItem commerceShipmentItem) static voidcacheResult(List<CommerceShipmentItem> commerceShipmentItems) static voidstatic voidclearCache(CommerceShipmentItem commerceShipmentItem) static intcountByC_C(long commerceShipmentId, long commerceOrderItemId) Returns the number of commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.static intcountByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId) Returns the number of commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ?.static intcountByC_NotC_GteQ(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity) Returns the number of commerce shipment items where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.static intcountByCommerceOrderItemId(long commerceOrderItemId) Returns the number of commerce shipment items where commerceOrderItemId = ?.static intcountByCommerceShipmentId(long commerceShipmentId) Returns the number of commerce shipment items where commerceShipmentId = ?.static intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of commerce shipment items where externalReferenceCode = ? and companyId = ?.static intcountByGroupId(long groupId) Returns the number of commerce shipment items where groupId = ?.static intcountByUuid(String uuid) Returns the number of commerce shipment items where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of commerce shipment items where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of commerce shipment items where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CommerceShipmentItemcreate(long commerceShipmentItemId) Creates a new commerce shipment item with the primary key.static CommerceShipmentItemfetchByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId) Returns the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? or returnsnullif it could not be found.static CommerceShipmentItemfetchByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId, boolean useFinderCache) Returns the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? or returnsnullif it could not be found, optionally using the finder cache.static CommerceShipmentItemfetchByC_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 CommerceShipmentItemfetchByC_NotC_GteQ_First(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.static CommerceShipmentItemfetchByCommerceOrderItemId_First(long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where commerceOrderItemId = ?.static CommerceShipmentItemfetchByCommerceShipmentId_First(long commerceShipmentId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where commerceShipmentId = ?.static CommerceShipmentItemfetchByERC_C(String externalReferenceCode, long companyId) Returns the commerce shipment item where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.static CommerceShipmentItemfetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce shipment item where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.static CommerceShipmentItemfetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where groupId = ?.static CommerceShipmentItemfetchByPrimaryKey(long commerceShipmentItemId) Returns the commerce shipment item with the primary key or returnsnullif it could not be found.static Map<Serializable, CommerceShipmentItem> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static CommerceShipmentItemfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where uuid = ? and companyId = ?.static CommerceShipmentItemfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where uuid = ?.static CommerceShipmentItemfetchByUUID_G(String uuid, long groupId) Returns the commerce shipment item where uuid = ? and groupId = ? or returnsnullif it could not be found.static CommerceShipmentItemfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the commerce shipment item where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static List<CommerceShipmentItem> findByC_C(long commerceShipmentId, long commerceOrderItemId) Returns all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.static 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 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 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 CommerceShipmentItemfindByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId) Returns the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? or throws aNoSuchShipmentItemExceptionif it could not be found.static CommerceShipmentItemfindByC_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 List<CommerceShipmentItem> findByC_NotC_GteQ(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity) Returns all the commerce shipment items where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.static List<CommerceShipmentItem> findByC_NotC_GteQ(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity, int start, int end) Returns a range of all the commerce shipment items where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.static List<CommerceShipmentItem> findByC_NotC_GteQ(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns an ordered range of all the commerce shipment items where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.static List<CommerceShipmentItem> findByC_NotC_GteQ(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipment items where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.static CommerceShipmentItemfindByC_NotC_GteQ_First(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.static List<CommerceShipmentItem> findByCommerceOrderItemId(long commerceOrderItemId) Returns all the commerce shipment items where commerceOrderItemId = ?.static List<CommerceShipmentItem> findByCommerceOrderItemId(long commerceOrderItemId, int start, int end) Returns a range of all the commerce shipment items where commerceOrderItemId = ?.static 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 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 CommerceShipmentItemfindByCommerceOrderItemId_First(long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where commerceOrderItemId = ?.static List<CommerceShipmentItem> findByCommerceShipmentId(long commerceShipmentId) Returns all the commerce shipment items where commerceShipmentId = ?.static List<CommerceShipmentItem> findByCommerceShipmentId(long commerceShipmentId, int start, int end) Returns a range of all the commerce shipment items where commerceShipmentId = ?.static 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 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 CommerceShipmentItemfindByCommerceShipmentId_First(long commerceShipmentId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where commerceShipmentId = ?.static CommerceShipmentItemfindByERC_C(String externalReferenceCode, long companyId) Returns the commerce shipment item where externalReferenceCode = ? and companyId = ? or throws aNoSuchShipmentItemExceptionif it could not be found.static List<CommerceShipmentItem> findByGroupId(long groupId) Returns all the commerce shipment items where groupId = ?.static List<CommerceShipmentItem> findByGroupId(long groupId, int start, int end) Returns a range of all the commerce shipment items where groupId = ?.static 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 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 CommerceShipmentItemfindByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where groupId = ?.static CommerceShipmentItemfindByPrimaryKey(long commerceShipmentItemId) Returns the commerce shipment item with the primary key or throws aNoSuchShipmentItemExceptionif it could not be found.static List<CommerceShipmentItem> findByUuid(String uuid) Returns all the commerce shipment items where uuid = ?.static List<CommerceShipmentItem> findByUuid(String uuid, int start, int end) Returns a range of all the commerce shipment items where uuid = ?.static List<CommerceShipmentItem> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns an ordered range of all the commerce shipment items where uuid = ?.static List<CommerceShipmentItem> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipment items where uuid = ?.static List<CommerceShipmentItem> findByUuid_C(String uuid, long companyId) Returns all the commerce shipment items where uuid = ? and companyId = ?.static List<CommerceShipmentItem> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce shipment items where uuid = ? and companyId = ?.static List<CommerceShipmentItem> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns an ordered range of all the commerce shipment items where uuid = ? and companyId = ?.static List<CommerceShipmentItem> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipment items where uuid = ? and companyId = ?.static CommerceShipmentItemfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where uuid = ? and companyId = ?.static CommerceShipmentItemfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where uuid = ?.static CommerceShipmentItemfindByUUID_G(String uuid, long groupId) Returns the commerce shipment item where uuid = ? and groupId = ? or throws aNoSuchShipmentItemExceptionif it could not be found.static List<CommerceShipmentItem> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CommerceShipmentItem> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CommerceShipmentItem> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) static CommerceShipmentItemremove(long commerceShipmentItemId) Removes the commerce shipment item with the primary key from the database.static voidremoveByC_C(long commerceShipmentId, long commerceOrderItemId) Removes all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ? from the database.static CommerceShipmentItemremoveByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId) Removes the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? from the database.static voidremoveByC_NotC_GteQ(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity) Removes all the commerce shipment items where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ? from the database.static voidremoveByCommerceOrderItemId(long commerceOrderItemId) Removes all the commerce shipment items where commerceOrderItemId = ? from the database.static voidremoveByCommerceShipmentId(long commerceShipmentId) Removes all the commerce shipment items where commerceShipmentId = ? from the database.static CommerceShipmentItemremoveByERC_C(String externalReferenceCode, long companyId) Removes the commerce shipment item where externalReferenceCode = ? and companyId = ? from the database.static voidremoveByGroupId(long groupId) Removes all the commerce shipment items where groupId = ? from the database.static voidremoveByUuid(String uuid) Removes all the commerce shipment items where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the commerce shipment items where uuid = ? and companyId = ? from the database.static CommerceShipmentItemremoveByUUID_G(String uuid, long groupId) Removes the commerce shipment item where uuid = ? and groupId = ? from the database.static voidsetPersistence(CommerceShipmentItemPersistence persistence) static CommerceShipmentItemupdate(CommerceShipmentItem commerceShipmentItem) static CommerceShipmentItemupdate(CommerceShipmentItem commerceShipmentItem, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommerceShipmentItemupdateImpl(CommerceShipmentItem commerceShipmentItem)
-
Constructor Details
-
CommerceShipmentItemUtil
public CommerceShipmentItemUtil()
-
-
Method Details
-
cacheResult
- See Also:
-
cacheResult
- See Also:
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
public static Map<Serializable,CommerceShipmentItem> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
public static List<CommerceShipmentItem> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<CommerceShipmentItem> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<CommerceShipmentItem> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static CommerceShipmentItem update(CommerceShipmentItem commerceShipmentItem, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByUuid
public static List<CommerceShipmentItem> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipment items where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching commerce shipment items
-
findByUuid_First
public static CommerceShipmentItem findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException Returns the first commerce shipment item in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipment item
-
fetchByUuid_First
public static CommerceShipmentItem fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipment item, or
nullif a matching commerce shipment item could not be found
-
removeByUuid
Removes all the commerce shipment items where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of commerce shipment items where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching commerce shipment items
-
findByUUID_G
public static CommerceShipmentItem findByUUID_G(String uuid, long groupId) throws NoSuchShipmentItemException Returns the commerce shipment item where uuid = ? and groupId = ? or throws aNoSuchShipmentItemExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching commerce shipment item
-
fetchByUUID_G
Returns the commerce shipment item where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce shipment item, or
nullif a matching commerce shipment item could not be found
-
removeByUUID_G
public static CommerceShipmentItem removeByUUID_G(String uuid, long groupId) throws NoSuchShipmentItemException Removes the commerce shipment item where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the commerce shipment item that was removed
- Throws:
NoSuchShipmentItemException
-
countByUUID_G
Returns the number of commerce shipment items where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching commerce shipment items
-
findByUuid_C
public static List<CommerceShipmentItem> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipment items where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching commerce shipment items
-
findByUuid_C_First
public static CommerceShipmentItem findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException Returns the first commerce shipment item in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipment item
-
fetchByUuid_C_First
public static CommerceShipmentItem fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipment item, or
nullif a matching commerce shipment item could not be found
-
removeByUuid_C
Removes all the commerce shipment items where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of commerce shipment items where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching commerce shipment items
-
findByGroupId
public static List<CommerceShipmentItem> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipment items where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching commerce shipment items
-
findByGroupId_First
public static CommerceShipmentItem findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException Returns the first commerce shipment item in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipment item
-
fetchByGroupId_First
public 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 = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipment item, or
nullif a matching commerce shipment item could not be found
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the commerce shipment items where groupId = ? from the database.- Parameters:
groupId- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Returns the number of commerce shipment items where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching commerce shipment items
-
findByCommerceShipmentId
public static List<CommerceShipmentItem> findByCommerceShipmentId(long commerceShipmentId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipment items where commerceShipmentId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching commerce shipment items
-
findByCommerceShipmentId_First
public static CommerceShipmentItem findByCommerceShipmentId_First(long commerceShipmentId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException Returns the first commerce shipment item in the ordered set where commerceShipmentId = ?.- Parameters:
commerceShipmentId- the commerce shipment IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipment item
-
fetchByCommerceShipmentId_First
public 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 = ?.- Parameters:
commerceShipmentId- the commerce shipment IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipment item, or
nullif a matching commerce shipment item could not be found
-
removeByCommerceShipmentId
public static void removeByCommerceShipmentId(long commerceShipmentId) Removes all the commerce shipment items where commerceShipmentId = ? from the database.- Parameters:
commerceShipmentId- the commerce shipment ID
-
countByCommerceShipmentId
public static int countByCommerceShipmentId(long commerceShipmentId) Returns the number of commerce shipment items where commerceShipmentId = ?.- Parameters:
commerceShipmentId- the commerce shipment ID- Returns:
- the number of matching commerce shipment items
-
findByCommerceOrderItemId
public static List<CommerceShipmentItem> findByCommerceOrderItemId(long commerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipment items where commerceOrderItemId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching commerce shipment items
-
findByCommerceOrderItemId_First
public static CommerceShipmentItem findByCommerceOrderItemId_First(long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException Returns the first commerce shipment item in the ordered set where commerceOrderItemId = ?.- Parameters:
commerceOrderItemId- the commerce order item IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipment item
-
fetchByCommerceOrderItemId_First
public 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 = ?.- Parameters:
commerceOrderItemId- the commerce order item IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipment item, or
nullif a matching commerce shipment item could not be found
-
removeByCommerceOrderItemId
public static void removeByCommerceOrderItemId(long commerceOrderItemId) Removes all the commerce shipment items where commerceOrderItemId = ? from the database.- Parameters:
commerceOrderItemId- the commerce order item ID
-
countByCommerceOrderItemId
public static int countByCommerceOrderItemId(long commerceOrderItemId) Returns the number of commerce shipment items where commerceOrderItemId = ?.- Parameters:
commerceOrderItemId- the commerce order item ID- Returns:
- the number of matching commerce shipment items
-
findByC_C
public static List<CommerceShipmentItem> findByC_C(long commerceShipmentId, long commerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching commerce shipment items
-
findByC_C_First
public static CommerceShipmentItem findByC_C_First(long commerceShipmentId, long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException Returns the first commerce shipment item in the ordered set where commerceShipmentId = ? and commerceOrderItemId = ?.- Parameters:
commerceShipmentId- the commerce shipment IDcommerceOrderItemId- the commerce order item IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipment item
-
fetchByC_C_First
public 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 = ?.- Parameters:
commerceShipmentId- the commerce shipment IDcommerceOrderItemId- the commerce order item IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipment item, or
nullif a matching commerce shipment item could not be found
-
removeByC_C
public static void removeByC_C(long commerceShipmentId, long commerceOrderItemId) Removes all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ? from the database.- Parameters:
commerceShipmentId- the commerce shipment IDcommerceOrderItemId- the commerce order item ID
-
countByC_C
public static int countByC_C(long commerceShipmentId, long commerceOrderItemId) Returns the number of commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.- Parameters:
commerceShipmentId- the commerce shipment IDcommerceOrderItemId- the commerce order item ID- Returns:
- the number of matching commerce shipment items
-
findByC_C_C
public static CommerceShipmentItem findByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId) throws NoSuchShipmentItemException Returns the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? or throws aNoSuchShipmentItemExceptionif it could not be found.- Parameters:
commerceShipmentId- the commerce shipment IDcommerceOrderItemId- the commerce order item IDcommerceInventoryWarehouseId- the commerce inventory warehouse ID- Returns:
- the matching commerce shipment item
-
fetchByC_C_C
public 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 returnsnullif it could not be found, optionally using the finder cache.- Parameters:
commerceShipmentId- the commerce shipment IDcommerceOrderItemId- the commerce order item IDcommerceInventoryWarehouseId- the commerce inventory warehouse IDuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce shipment item, or
nullif a matching commerce shipment item could not be found
-
removeByC_C_C
public static CommerceShipmentItem removeByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId) throws NoSuchShipmentItemException Removes the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? from the database.- Parameters:
commerceShipmentId- the commerce shipment IDcommerceOrderItemId- the commerce order item IDcommerceInventoryWarehouseId- the commerce inventory warehouse ID- Returns:
- the commerce shipment item that was removed
- Throws:
NoSuchShipmentItemException
-
countByC_C_C
public static int countByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId) Returns the number of commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ?.- Parameters:
commerceShipmentId- the commerce shipment IDcommerceOrderItemId- the commerce order item IDcommerceInventoryWarehouseId- the commerce inventory warehouse ID- Returns:
- the number of matching commerce shipment items
-
findByC_NotC_GteQ
public static List<CommerceShipmentItem> findByC_NotC_GteQ(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity) Returns all the commerce shipment items where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.- Parameters:
commerceShipmentId- the commerce shipment IDcommerceInventoryWarehouseId- the commerce inventory warehouse IDquantity- the quantity- Returns:
- the matching commerce shipment items
-
findByC_NotC_GteQ
public static List<CommerceShipmentItem> findByC_NotC_GteQ(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity, int start, int end) Returns a range of all the commerce shipment items where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.- Parameters:
commerceShipmentId- the commerce shipment IDcommerceInventoryWarehouseId- the commerce inventory warehouse IDquantity- the quantitystart- the lower bound of the range of commerce shipment itemsend- the upper bound of the range of commerce shipment items (not inclusive)- Returns:
- the range of matching commerce shipment items
-
findByC_NotC_GteQ
public static List<CommerceShipmentItem> findByC_NotC_GteQ(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns an ordered range of all the commerce shipment items where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.- Parameters:
commerceShipmentId- the commerce shipment IDcommerceInventoryWarehouseId- the commerce inventory warehouse IDquantity- the quantitystart- 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 (optionallynull)- Returns:
- the ordered range of matching commerce shipment items
-
findByC_NotC_GteQ
public static List<CommerceShipmentItem> findByC_NotC_GteQ(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipment items where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.- Parameters:
commerceShipmentId- the commerce shipment IDcommerceInventoryWarehouseId- the commerce inventory warehouse IDquantity- the quantitystart- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching commerce shipment items
-
findByC_NotC_GteQ_First
public static CommerceShipmentItem findByC_NotC_GteQ_First(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException Returns the first commerce shipment item in the ordered set where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.- Parameters:
commerceShipmentId- the commerce shipment IDcommerceInventoryWarehouseId- the commerce inventory warehouse IDquantity- the quantityorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipment item
-
fetchByC_NotC_GteQ_First
public static CommerceShipmentItem fetchByC_NotC_GteQ_First(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.- Parameters:
commerceShipmentId- the commerce shipment IDcommerceInventoryWarehouseId- the commerce inventory warehouse IDquantity- the quantityorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipment item, or
nullif a matching commerce shipment item could not be found
-
removeByC_NotC_GteQ
public static void removeByC_NotC_GteQ(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity) Removes all the commerce shipment items where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ? from the database.- Parameters:
commerceShipmentId- the commerce shipment IDcommerceInventoryWarehouseId- the commerce inventory warehouse IDquantity- the quantity
-
countByC_NotC_GteQ
public static int countByC_NotC_GteQ(long commerceShipmentId, long commerceInventoryWarehouseId, BigDecimal quantity) Returns the number of commerce shipment items where commerceShipmentId = ? and commerceInventoryWarehouseId ≠ ? and quantity ≥ ?.- Parameters:
commerceShipmentId- the commerce shipment IDcommerceInventoryWarehouseId- the commerce inventory warehouse IDquantity- the quantity- Returns:
- the number of matching commerce shipment items
-
findByERC_C
public static CommerceShipmentItem findByERC_C(String externalReferenceCode, long companyId) throws NoSuchShipmentItemException Returns the commerce shipment item where externalReferenceCode = ? and companyId = ? or throws aNoSuchShipmentItemExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching commerce shipment item
-
fetchByERC_C
public static CommerceShipmentItem fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce shipment item where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce shipment item, or
nullif a matching commerce shipment item could not be found
-
removeByERC_C
public static CommerceShipmentItem removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchShipmentItemException Removes the commerce shipment item where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the commerce shipment item that was removed
- Throws:
NoSuchShipmentItemException
-
countByERC_C
Returns the number of commerce shipment items where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching commerce shipment items
-
create
Creates a new commerce shipment item with the primary key. Does not add the commerce shipment item to the database.- Parameters:
commerceShipmentItemId- the primary key for the new commerce shipment item- Returns:
- the new commerce shipment item
-
remove
public static CommerceShipmentItem remove(long commerceShipmentItemId) throws NoSuchShipmentItemException Removes the commerce shipment item with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceShipmentItemId- the primary key of the commerce shipment item- Returns:
- the commerce shipment item that was removed
-
updateImpl
-
findByPrimaryKey
public static CommerceShipmentItem findByPrimaryKey(long commerceShipmentItemId) throws NoSuchShipmentItemException Returns the commerce shipment item with the primary key or throws aNoSuchShipmentItemExceptionif it could not be found.- Parameters:
commerceShipmentItemId- the primary key of the commerce shipment item- Returns:
- the commerce shipment item
-
fetchByPrimaryKey
Returns the commerce shipment item with the primary key or returnsnullif it could not be found.- Parameters:
commerceShipmentItemId- the primary key of the commerce shipment item- Returns:
- the commerce shipment item, or
nullif a commerce shipment item with the primary key could not be found
-
fetchByUUID_G
Returns the commerce shipment item where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching commerce shipment item, or
nullif a matching commerce shipment item could not be found
-
fetchByC_C_C
public static CommerceShipmentItem fetchByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId) Returns the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
commerceShipmentId- the commerce shipment IDcommerceOrderItemId- the commerce order item IDcommerceInventoryWarehouseId- the commerce inventory warehouse ID- Returns:
- the matching commerce shipment item, or
nullif a matching commerce shipment item could not be found
-
fetchByERC_C
Returns the commerce shipment item where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching commerce shipment item, or
nullif a matching commerce shipment item could not be found
-
findByUuid
Returns all the commerce shipment items where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching commerce shipment items
-
findByUuid
Returns a range of all the commerce shipment items where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.- Parameters:
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)- Returns:
- the range of matching commerce shipment items
-
findByUuid
public static List<CommerceShipmentItem> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns an ordered range of all the commerce shipment items where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching commerce shipment items
-
findByUuid_C
Returns all the commerce shipment items where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching commerce shipment items
-
findByUuid_C
public static List<CommerceShipmentItem> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce shipment items where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.- Parameters:
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)- Returns:
- the range of matching commerce shipment items
-
findByUuid_C
public static List<CommerceShipmentItem> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns an ordered range of all the commerce shipment items where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching commerce shipment items
-
findByGroupId
Returns all the commerce shipment items where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching commerce shipment items
-
findByGroupId
Returns a range of all the commerce shipment items where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.- Parameters:
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)- Returns:
- the range of matching commerce shipment items
-
findByGroupId
public static List<CommerceShipmentItem> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns an ordered range of all the commerce shipment items where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching commerce shipment items
-
findByCommerceShipmentId
Returns all the commerce shipment items where commerceShipmentId = ?.- Parameters:
commerceShipmentId- the commerce shipment ID- Returns:
- the matching commerce shipment items
-
findByCommerceShipmentId
public static List<CommerceShipmentItem> findByCommerceShipmentId(long commerceShipmentId, int start, int end) Returns a range of all the commerce shipment items where commerceShipmentId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.- Parameters:
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)- Returns:
- the range of matching commerce shipment items
-
findByCommerceShipmentId
public static List<CommerceShipmentItem> findByCommerceShipmentId(long commerceShipmentId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns an ordered range of all the commerce shipment items where commerceShipmentId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching commerce shipment items
-
findByCommerceOrderItemId
Returns all the commerce shipment items where commerceOrderItemId = ?.- Parameters:
commerceOrderItemId- the commerce order item ID- Returns:
- the matching commerce shipment items
-
findByCommerceOrderItemId
public static List<CommerceShipmentItem> findByCommerceOrderItemId(long commerceOrderItemId, int start, int end) Returns a range of all the commerce shipment items where commerceOrderItemId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.- Parameters:
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)- Returns:
- the range of matching commerce shipment items
-
findByCommerceOrderItemId
public static List<CommerceShipmentItem> findByCommerceOrderItemId(long commerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns an ordered range of all the commerce shipment items where commerceOrderItemId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching commerce shipment items
-
findByC_C
public static List<CommerceShipmentItem> findByC_C(long commerceShipmentId, long commerceOrderItemId) Returns all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.- Parameters:
commerceShipmentId- the commerce shipment IDcommerceOrderItemId- the commerce order item ID- Returns:
- the matching commerce shipment items
-
findByC_C
public static List<CommerceShipmentItem> findByC_C(long commerceShipmentId, long commerceOrderItemId, int start, int end) Returns a range of all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.- Parameters:
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)- Returns:
- the range of matching commerce shipment items
-
findByC_C
public static List<CommerceShipmentItem> findByC_C(long commerceShipmentId, long commerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns an ordered range of all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.model.impl.CommerceShipmentItemModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching commerce shipment items
-
getPersistence
-
setPersistence
-