Interface CommerceShipmentItemPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceShipmentItem>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CommerceShipmentItem commerceShipmentItem) Caches the commerce shipment item in the entity cache if it is enabled.void
cacheResult
(List<CommerceShipmentItem> commerceShipmentItems) Caches the commerce shipment items in the entity cache if it is enabled.int
countAll()
Returns the number of commerce shipment items.int
countByC_C
(long commerceShipmentId, long commerceOrderItemId) Returns the number of commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.int
countByC_C_C
(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId) Returns the number of commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ?.int
countByCommerceOrderItemId
(long commerceOrderItemId) Returns the number of commerce shipment items where commerceOrderItemId = ?.int
countByCommerceShipmentId
(long commerceShipmentId) Returns the number of commerce shipment items where commerceShipmentId = ?.int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of commerce shipment items where externalReferenceCode = ? and companyId = ?.int
countByGroupId
(long groupId) Returns the number of commerce shipment items where groupId = ?.int
countByUuid
(String uuid) Returns the number of commerce shipment items where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of commerce shipment items where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of commerce shipment items where uuid = ? and groupId = ?.create
(long commerceShipmentItemId) Creates a new commerce shipment item with the primary key.fetchByC_C_C
(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId) Returns the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? or returnsnull
if it could not be found.fetchByC_C_C
(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId, boolean useFinderCache) Returns the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.fetchByCommerceOrderItemId_First
(long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where commerceOrderItemId = ?.fetchByCommerceOrderItemId_Last
(long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the last commerce shipment item in the ordered set where commerceOrderItemId = ?.fetchByCommerceShipmentId_First
(long commerceShipmentId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where commerceShipmentId = ?.fetchByCommerceShipmentId_Last
(long commerceShipmentId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the last commerce shipment item in the ordered set where commerceShipmentId = ?.fetchByERC_C
(String externalReferenceCode, long companyId) Returns the commerce shipment item where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce shipment item where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the last commerce shipment item in the ordered set where groupId = ?.fetchByPrimaryKey
(long commerceShipmentItemId) Returns the commerce shipment item with the primary key or returnsnull
if it could not be found.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 = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the last commerce shipment item in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the commerce shipment item where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the commerce shipment item where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the last commerce shipment item in the ordered set where uuid = ?.findAll()
Returns all the commerce shipment items.findAll
(int start, int end) Returns a range of all the commerce shipment items.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns an ordered range of all the commerce shipment items.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.findByC_C
(long commerceShipmentId, long commerceOrderItemId) Returns all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.findByC_C
(long commerceShipmentId, long commerceOrderItemId, int start, int end) Returns a range of all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.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 = ?.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 = ?.findByC_C_C
(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId) Returns the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? or throws aNoSuchShipmentItemException
if it could not be found.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 = ?.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 = ?.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 = ?.findByCommerceOrderItemId
(long commerceOrderItemId) Returns all the commerce shipment items where commerceOrderItemId = ?.findByCommerceOrderItemId
(long commerceOrderItemId, int start, int end) Returns a range of all the commerce shipment items where commerceOrderItemId = ?.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 = ?.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 = ?.findByCommerceOrderItemId_First
(long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where commerceOrderItemId = ?.findByCommerceOrderItemId_Last
(long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the last commerce shipment item in the ordered set where commerceOrderItemId = ?.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 = ?.findByCommerceShipmentId
(long commerceShipmentId) Returns all the commerce shipment items where commerceShipmentId = ?.findByCommerceShipmentId
(long commerceShipmentId, int start, int end) Returns a range of all the commerce shipment items where commerceShipmentId = ?.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 = ?.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 = ?.findByCommerceShipmentId_First
(long commerceShipmentId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where commerceShipmentId = ?.findByCommerceShipmentId_Last
(long commerceShipmentId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the last commerce shipment item in the ordered set where commerceShipmentId = ?.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 = ?.findByERC_C
(String externalReferenceCode, long companyId) Returns the commerce shipment item where externalReferenceCode = ? and companyId = ? or throws aNoSuchShipmentItemException
if it could not be found.findByGroupId
(long groupId) Returns all the commerce shipment items where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the commerce shipment items where groupId = ?.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 = ?.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 = ?.findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the last commerce shipment item in the ordered set where groupId = ?.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 = ?.findByPrimaryKey
(long commerceShipmentItemId) Returns the commerce shipment item with the primary key or throws aNoSuchShipmentItemException
if it could not be found.findByUuid
(String uuid) Returns all the commerce shipment items where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the commerce shipment items where uuid = ?.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 = ?.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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the commerce shipment items where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the commerce shipment items where uuid = ? and companyId = ?.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 = ?.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 = ?.findByUuid_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 = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the last commerce shipment item in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long commerceShipmentItemId, 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 = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the commerce shipment item where uuid = ? and groupId = ? or throws aNoSuchShipmentItemException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the last commerce shipment item in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long commerceShipmentItemId, 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 = ?.remove
(long commerceShipmentItemId) Removes the commerce shipment item with the primary key from the database.void
Removes all the commerce shipment items from the database.void
removeByC_C
(long commerceShipmentId, long commerceOrderItemId) Removes all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ? from the database.removeByC_C_C
(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId) Removes the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? from the database.void
removeByCommerceOrderItemId
(long commerceOrderItemId) Removes all the commerce shipment items where commerceOrderItemId = ? from the database.void
removeByCommerceShipmentId
(long commerceShipmentId) Removes all the commerce shipment items where commerceShipmentId = ? from the database.removeByERC_C
(String externalReferenceCode, long companyId) Removes the commerce shipment item where externalReferenceCode = ? and companyId = ? from the database.void
removeByGroupId
(long groupId) Removes all the commerce shipment items where groupId = ? from the database.void
removeByUuid
(String uuid) Removes all the commerce shipment items where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the commerce shipment items where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the commerce shipment item where uuid = ? and groupId = ? from the database.updateImpl
(CommerceShipmentItem commerceShipmentItem) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShipmentItemModelImpl
.- 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
List<CommerceShipmentItem> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns an ordered range of all the commerce shipment items where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShipmentItemModelImpl
.- 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
List<CommerceShipmentItem> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipment items where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShipmentItemModelImpl
.- 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
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
- Throws:
NoSuchShipmentItemException
- if a matching commerce shipment item could not be found
-
fetchByUuid_First
CommerceShipmentItem fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipment item, or
null
if a matching commerce shipment item could not be found
-
findByUuid_Last
CommerceShipmentItem findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException Returns the last commerce shipment item in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipment item
- Throws:
NoSuchShipmentItemException
- if a matching commerce shipment item could not be found
-
fetchByUuid_Last
CommerceShipmentItem fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the last commerce shipment item in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipment item, or
null
if a matching commerce shipment item could not be found
-
findByUuid_PrevAndNext
CommerceShipmentItem[] findByUuid_PrevAndNext(long commerceShipmentItemId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException Returns the commerce shipment items before and after the current commerce shipment item in the ordered set where uuid = ?.- Parameters:
commerceShipmentItemId
- the primary key of the current commerce shipment itemuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce shipment item
- Throws:
NoSuchShipmentItemException
- if a commerce shipment item with the primary key could not be found
-
removeByUuid
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
Returns the commerce shipment item where uuid = ? and groupId = ? or throws aNoSuchShipmentItemException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching commerce shipment item
- Throws:
NoSuchShipmentItemException
- if a matching commerce shipment item could not be found
-
fetchByUUID_G
Returns the commerce shipment item where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching commerce shipment item, or
null
if a matching commerce shipment item could not be found
-
fetchByUUID_G
Returns the commerce shipment item where uuid = ? and groupId = ? or returnsnull
if 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
null
if a matching commerce shipment item could not be found
-
removeByUUID_G
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
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
Returns a range of all the commerce shipment items where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShipmentItemModelImpl
.- 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
List<CommerceShipmentItem> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns an ordered range of all the commerce shipment items where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShipmentItemModelImpl
.- 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
-
findByUuid_C
List<CommerceShipmentItem> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipment items where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShipmentItemModelImpl
.- 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
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
- Throws:
NoSuchShipmentItemException
- if a matching commerce shipment item could not be found
-
fetchByUuid_C_First
CommerceShipmentItem fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipment item, or
null
if a matching commerce shipment item could not be found
-
findByUuid_C_Last
CommerceShipmentItem findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException Returns the last commerce shipment item in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipment item
- Throws:
NoSuchShipmentItemException
- if a matching commerce shipment item could not be found
-
fetchByUuid_C_Last
CommerceShipmentItem fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the last commerce shipment item in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipment item, or
null
if a matching commerce shipment item could not be found
-
findByUuid_C_PrevAndNext
CommerceShipmentItem[] findByUuid_C_PrevAndNext(long commerceShipmentItemId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException Returns the commerce shipment items before and after the current commerce shipment item in the ordered set where uuid = ? and companyId = ?.- Parameters:
commerceShipmentItemId
- the primary key of the current commerce shipment itemuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce shipment item
- Throws:
NoSuchShipmentItemException
- if a commerce shipment item with the primary key could not be found
-
removeByUuid_C
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShipmentItemModelImpl
.- 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
List<CommerceShipmentItem> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns an ordered range of all the commerce shipment items where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShipmentItemModelImpl
.- 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
-
findByGroupId
List<CommerceShipmentItem> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipment items where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShipmentItemModelImpl
.- 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
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
- Throws:
NoSuchShipmentItemException
- if a matching commerce shipment item could not be found
-
fetchByGroupId_First
CommerceShipmentItem fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipment item, or
null
if a matching commerce shipment item could not be found
-
findByGroupId_Last
CommerceShipmentItem findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException Returns the last commerce shipment item in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipment item
- Throws:
NoSuchShipmentItemException
- if a matching commerce shipment item could not be found
-
fetchByGroupId_Last
CommerceShipmentItem fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the last commerce shipment item in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipment item, or
null
if a matching commerce shipment item could not be found
-
findByGroupId_PrevAndNext
CommerceShipmentItem[] findByGroupId_PrevAndNext(long commerceShipmentItemId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException Returns the commerce shipment items before and after the current commerce shipment item in the ordered set where groupId = ?.- Parameters:
commerceShipmentItemId
- the primary key of the current commerce shipment itemgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce shipment item
- Throws:
NoSuchShipmentItemException
- if a commerce shipment item with the primary key could not be found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the commerce shipment items where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of commerce shipment items where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching commerce shipment items
-
findByCommerceShipmentId
Returns all the commerce shipment items where commerceShipmentId = ?.- Parameters:
commerceShipmentId
- the commerce shipment ID- Returns:
- the matching commerce shipment items
-
findByCommerceShipmentId
Returns a range of all the commerce shipment items where commerceShipmentId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShipmentItemModelImpl
.- 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
List<CommerceShipmentItem> findByCommerceShipmentId(long commerceShipmentId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns an ordered range of all the commerce shipment items where commerceShipmentId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShipmentItemModelImpl
.- 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
-
findByCommerceShipmentId
List<CommerceShipmentItem> findByCommerceShipmentId(long commerceShipmentId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipment items where commerceShipmentId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShipmentItemModelImpl
.- 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
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
- Throws:
NoSuchShipmentItemException
- if a matching commerce shipment item could not be found
-
fetchByCommerceShipmentId_First
CommerceShipmentItem fetchByCommerceShipmentId_First(long commerceShipmentId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where commerceShipmentId = ?.- Parameters:
commerceShipmentId
- the commerce shipment IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipment item, or
null
if a matching commerce shipment item could not be found
-
findByCommerceShipmentId_Last
CommerceShipmentItem findByCommerceShipmentId_Last(long commerceShipmentId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException Returns the last commerce shipment item in the ordered set where commerceShipmentId = ?.- Parameters:
commerceShipmentId
- the commerce shipment IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipment item
- Throws:
NoSuchShipmentItemException
- if a matching commerce shipment item could not be found
-
fetchByCommerceShipmentId_Last
CommerceShipmentItem fetchByCommerceShipmentId_Last(long commerceShipmentId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the last commerce shipment item in the ordered set where commerceShipmentId = ?.- Parameters:
commerceShipmentId
- the commerce shipment IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipment item, or
null
if a matching commerce shipment item could not be found
-
findByCommerceShipmentId_PrevAndNext
CommerceShipmentItem[] findByCommerceShipmentId_PrevAndNext(long commerceShipmentItemId, long commerceShipmentId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException Returns the commerce shipment items before and after the current commerce shipment item in the ordered set where commerceShipmentId = ?.- Parameters:
commerceShipmentItemId
- the primary key of the current commerce shipment itemcommerceShipmentId
- the commerce shipment IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce shipment item
- Throws:
NoSuchShipmentItemException
- if a commerce shipment item with the primary key could not be found
-
removeByCommerceShipmentId
void removeByCommerceShipmentId(long commerceShipmentId) Removes all the commerce shipment items where commerceShipmentId = ? from the database.- Parameters:
commerceShipmentId
- the commerce shipment ID
-
countByCommerceShipmentId
int countByCommerceShipmentId(long commerceShipmentId) Returns the number of commerce shipment items where commerceShipmentId = ?.- Parameters:
commerceShipmentId
- the commerce shipment ID- Returns:
- the number of matching commerce shipment items
-
findByCommerceOrderItemId
Returns all the commerce shipment items where commerceOrderItemId = ?.- Parameters:
commerceOrderItemId
- the commerce order item ID- Returns:
- the matching commerce shipment items
-
findByCommerceOrderItemId
Returns a range of all the commerce shipment items where commerceOrderItemId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShipmentItemModelImpl
.- 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
List<CommerceShipmentItem> findByCommerceOrderItemId(long commerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns an ordered range of all the commerce shipment items where commerceOrderItemId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShipmentItemModelImpl
.- 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
-
findByCommerceOrderItemId
List<CommerceShipmentItem> findByCommerceOrderItemId(long commerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipment items where commerceOrderItemId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShipmentItemModelImpl
.- 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
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
- Throws:
NoSuchShipmentItemException
- if a matching commerce shipment item could not be found
-
fetchByCommerceOrderItemId_First
CommerceShipmentItem fetchByCommerceOrderItemId_First(long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where commerceOrderItemId = ?.- Parameters:
commerceOrderItemId
- the commerce order item IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipment item, or
null
if a matching commerce shipment item could not be found
-
findByCommerceOrderItemId_Last
CommerceShipmentItem findByCommerceOrderItemId_Last(long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException Returns the last commerce shipment item in the ordered set where commerceOrderItemId = ?.- Parameters:
commerceOrderItemId
- the commerce order item IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipment item
- Throws:
NoSuchShipmentItemException
- if a matching commerce shipment item could not be found
-
fetchByCommerceOrderItemId_Last
CommerceShipmentItem fetchByCommerceOrderItemId_Last(long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the last commerce shipment item in the ordered set where commerceOrderItemId = ?.- Parameters:
commerceOrderItemId
- the commerce order item IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipment item, or
null
if a matching commerce shipment item could not be found
-
findByCommerceOrderItemId_PrevAndNext
CommerceShipmentItem[] findByCommerceOrderItemId_PrevAndNext(long commerceShipmentItemId, long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException Returns the commerce shipment items before and after the current commerce shipment item in the ordered set where commerceOrderItemId = ?.- Parameters:
commerceShipmentItemId
- the primary key of the current commerce shipment itemcommerceOrderItemId
- the commerce order item IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce shipment item
- Throws:
NoSuchShipmentItemException
- if a commerce shipment item with the primary key could not be found
-
removeByCommerceOrderItemId
void removeByCommerceOrderItemId(long commerceOrderItemId) Removes all the commerce shipment items where commerceOrderItemId = ? from the database.- Parameters:
commerceOrderItemId
- the commerce order item ID
-
countByCommerceOrderItemId
int countByCommerceOrderItemId(long commerceOrderItemId) Returns the number of commerce shipment items where commerceOrderItemId = ?.- Parameters:
commerceOrderItemId
- the commerce order item ID- Returns:
- the number of matching commerce shipment items
-
findByC_C
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
List<CommerceShipmentItem> findByC_C(long commerceShipmentId, long commerceOrderItemId, int start, int end) Returns a range of all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShipmentItemModelImpl
.- 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
List<CommerceShipmentItem> findByC_C(long commerceShipmentId, long commerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns an ordered range of all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShipmentItemModelImpl
.- 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
-
findByC_C
List<CommerceShipmentItem> findByC_C(long commerceShipmentId, long commerceOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShipmentItemModelImpl
.- 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
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
- Throws:
NoSuchShipmentItemException
- if a matching commerce shipment item could not be found
-
fetchByC_C_First
CommerceShipmentItem fetchByC_C_First(long commerceShipmentId, long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the first commerce shipment item in the ordered set where commerceShipmentId = ? and commerceOrderItemId = ?.- Parameters:
commerceShipmentId
- the commerce shipment IDcommerceOrderItemId
- the commerce order item IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipment item, or
null
if a matching commerce shipment item could not be found
-
findByC_C_Last
CommerceShipmentItem findByC_C_Last(long commerceShipmentId, long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException Returns the last commerce shipment item in the ordered set where commerceShipmentId = ? and commerceOrderItemId = ?.- Parameters:
commerceShipmentId
- the commerce shipment IDcommerceOrderItemId
- the commerce order item IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipment item
- Throws:
NoSuchShipmentItemException
- if a matching commerce shipment item could not be found
-
fetchByC_C_Last
CommerceShipmentItem fetchByC_C_Last(long commerceShipmentId, long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns the last commerce shipment item in the ordered set where commerceShipmentId = ? and commerceOrderItemId = ?.- Parameters:
commerceShipmentId
- the commerce shipment IDcommerceOrderItemId
- the commerce order item IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipment item, or
null
if a matching commerce shipment item could not be found
-
findByC_C_PrevAndNext
CommerceShipmentItem[] findByC_C_PrevAndNext(long commerceShipmentItemId, long commerceShipmentId, long commerceOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) throws NoSuchShipmentItemException Returns the commerce shipment items before and after the current commerce shipment item in the ordered set where commerceShipmentId = ? and commerceOrderItemId = ?.- Parameters:
commerceShipmentItemId
- the primary key of the current commerce shipment itemcommerceShipmentId
- the commerce shipment IDcommerceOrderItemId
- the commerce order item IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce shipment item
- Throws:
NoSuchShipmentItemException
- if a commerce shipment item with the primary key could not be found
-
removeByC_C
void removeByC_C(long commerceShipmentId, long commerceOrderItemId) Removes all the commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ? from the database.- Parameters:
commerceShipmentId
- the commerce shipment IDcommerceOrderItemId
- the commerce order item ID
-
countByC_C
int countByC_C(long commerceShipmentId, long commerceOrderItemId) Returns the number of commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ?.- Parameters:
commerceShipmentId
- the commerce shipment IDcommerceOrderItemId
- the commerce order item ID- Returns:
- the number of matching commerce shipment items
-
findByC_C_C
CommerceShipmentItem findByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId) throws NoSuchShipmentItemException Returns the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? or throws aNoSuchShipmentItemException
if 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
- Throws:
NoSuchShipmentItemException
- if a matching commerce shipment item could not be found
-
fetchByC_C_C
CommerceShipmentItem fetchByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId) Returns the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? or returnsnull
if 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
null
if a matching commerce shipment item could not be found
-
fetchByC_C_C
CommerceShipmentItem fetchByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId, boolean useFinderCache) Returns the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? or returnsnull
if 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
null
if a matching commerce shipment item could not be found
-
removeByC_C_C
CommerceShipmentItem removeByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId) throws NoSuchShipmentItemException Removes the commerce shipment item where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ? from the database.- Parameters:
commerceShipmentId
- the commerce shipment IDcommerceOrderItemId
- the commerce order item IDcommerceInventoryWarehouseId
- the commerce inventory warehouse ID- Returns:
- the commerce shipment item that was removed
- Throws:
NoSuchShipmentItemException
-
countByC_C_C
int countByC_C_C(long commerceShipmentId, long commerceOrderItemId, long commerceInventoryWarehouseId) Returns the number of commerce shipment items where commerceShipmentId = ? and commerceOrderItemId = ? and commerceInventoryWarehouseId = ?.- Parameters:
commerceShipmentId
- the commerce shipment IDcommerceOrderItemId
- the commerce order item IDcommerceInventoryWarehouseId
- the commerce inventory warehouse ID- Returns:
- the number of matching commerce shipment items
-
findByERC_C
CommerceShipmentItem findByERC_C(String externalReferenceCode, long companyId) throws NoSuchShipmentItemException Returns the commerce shipment item where externalReferenceCode = ? and companyId = ? or throws aNoSuchShipmentItemException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching commerce shipment item
- Throws:
NoSuchShipmentItemException
- if a matching commerce shipment item could not be found
-
fetchByERC_C
Returns the commerce shipment item where externalReferenceCode = ? and companyId = ? or returnsnull
if 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
null
if a matching commerce shipment item could not be found
-
fetchByERC_C
CommerceShipmentItem fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce shipment item where externalReferenceCode = ? and companyId = ? or returnsnull
if 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
null
if a matching commerce shipment item could not be found
-
removeByERC_C
CommerceShipmentItem removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchShipmentItemException Removes the commerce shipment item where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference 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
-
cacheResult
Caches the commerce shipment item in the entity cache if it is enabled.- Parameters:
commerceShipmentItem
- the commerce shipment item
-
cacheResult
Caches the commerce shipment items in the entity cache if it is enabled.- Parameters:
commerceShipmentItems
- the 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
Removes the commerce shipment item with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceShipmentItemId
- the primary key of the commerce shipment item- Returns:
- the commerce shipment item that was removed
- Throws:
NoSuchShipmentItemException
- if a commerce shipment item with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
CommerceShipmentItem findByPrimaryKey(long commerceShipmentItemId) throws NoSuchShipmentItemException Returns the commerce shipment item with the primary key or throws aNoSuchShipmentItemException
if it could not be found.- Parameters:
commerceShipmentItemId
- the primary key of the commerce shipment item- Returns:
- the commerce shipment item
- Throws:
NoSuchShipmentItemException
- if a commerce shipment item with the primary key could not be found
-
fetchByPrimaryKey
Returns the commerce shipment item with the primary key or returnsnull
if it could not be found.- Parameters:
commerceShipmentItemId
- the primary key of the commerce shipment item- Returns:
- the commerce shipment item, or
null
if a commerce shipment item with the primary key could not be found
-
findAll
List<CommerceShipmentItem> findAll()Returns all the commerce shipment items.- Returns:
- the commerce shipment items
-
findAll
Returns a range of all the commerce shipment items.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShipmentItemModelImpl
.- Parameters:
start
- 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 commerce shipment items
-
findAll
List<CommerceShipmentItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator) Returns an ordered range of all the commerce shipment items.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShipmentItemModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of commerce shipment items
-
findAll
List<CommerceShipmentItem> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipmentItem> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipment items.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceShipmentItemModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of commerce shipment items
-
removeAll
void removeAll()Removes all the commerce shipment items from the database. -
countAll
int countAll()Returns the number of commerce shipment items.- Returns:
- the number of commerce shipment items
-