Interface CommerceShipmentPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceShipment>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CommerceShipment commerceShipment) Caches the commerce shipment in the entity cache if it is enabled.void
cacheResult
(List<CommerceShipment> commerceShipments) Caches the commerce shipments in the entity cache if it is enabled.int
countAll()
Returns the number of commerce shipments.int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of commerce shipments where externalReferenceCode = ? and companyId = ?.int
countByG_C
(long[] groupIds, long commerceAddressId) Returns the number of commerce shipments where groupId = any ? and commerceAddressId = ?.int
countByG_C
(long groupId, long commerceAddressId) Returns the number of commerce shipments where groupId = ? and commerceAddressId = ?.int
countByG_S
(long[] groupIds, int status) Returns the number of commerce shipments where groupId = any ? and status = ?.int
countByG_S
(long groupId, int status) Returns the number of commerce shipments where groupId = ? and status = ?.int
countByGroupId
(long groupId) Returns the number of commerce shipments where groupId = ?.int
countByGroupId
(long[] groupIds) Returns the number of commerce shipments where groupId = any ?.int
countByUuid
(String uuid) Returns the number of commerce shipments where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of commerce shipments where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of commerce shipments where uuid = ? and groupId = ?.create
(long commerceShipmentId) Creates a new commerce shipment with the primary key.fetchByERC_C
(String externalReferenceCode, long companyId) Returns the commerce shipment where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce shipment where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByG_C_First
(long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where groupId = ? and commerceAddressId = ?.fetchByG_C_Last
(long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the last commerce shipment in the ordered set where groupId = ? and commerceAddressId = ?.fetchByG_S_First
(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where groupId = ? and status = ?.fetchByG_S_Last
(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the last commerce shipment in the ordered set where groupId = ? and status = ?.fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the last commerce shipment in the ordered set where groupId = ?.fetchByPrimaryKey
(long commerceShipmentId) Returns the commerce shipment with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the last commerce shipment in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the commerce shipment where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the commerce shipment 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<CommerceShipment> orderByComparator) Returns the last commerce shipment in the ordered set where uuid = ?.findAll()
Returns all the commerce shipments.findAll
(int start, int end) Returns a range of all the commerce shipments.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments.findByERC_C
(String externalReferenceCode, long companyId) Returns the commerce shipment where externalReferenceCode = ? and companyId = ? or throws aNoSuchShipmentException
if it could not be found.findByG_C
(long[] groupIds, long commerceAddressId) Returns all the commerce shipments where groupId = any ? and commerceAddressId = ?.findByG_C
(long[] groupIds, long commerceAddressId, int start, int end) Returns a range of all the commerce shipments where groupId = any ? and commerceAddressId = ?.findByG_C
(long[] groupIds, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where groupId = any ? and commerceAddressId = ?.findByG_C
(long[] groupIds, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where groupId = ? and commerceAddressId = ?, optionally using the finder cache.findByG_C
(long groupId, long commerceAddressId) Returns all the commerce shipments where groupId = ? and commerceAddressId = ?.findByG_C
(long groupId, long commerceAddressId, int start, int end) Returns a range of all the commerce shipments where groupId = ? and commerceAddressId = ?.findByG_C
(long groupId, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where groupId = ? and commerceAddressId = ?.findByG_C
(long groupId, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where groupId = ? and commerceAddressId = ?.findByG_C_First
(long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where groupId = ? and commerceAddressId = ?.findByG_C_Last
(long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the last commerce shipment in the ordered set where groupId = ? and commerceAddressId = ?.findByG_C_PrevAndNext
(long commerceShipmentId, long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the commerce shipments before and after the current commerce shipment in the ordered set where groupId = ? and commerceAddressId = ?.findByG_S
(long[] groupIds, int status) Returns all the commerce shipments where groupId = any ? and status = ?.findByG_S
(long[] groupIds, int status, int start, int end) Returns a range of all the commerce shipments where groupId = any ? and status = ?.findByG_S
(long[] groupIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where groupId = any ? and status = ?.findByG_S
(long[] groupIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where groupId = ? and status = ?, optionally using the finder cache.findByG_S
(long groupId, int status) Returns all the commerce shipments where groupId = ? and status = ?.findByG_S
(long groupId, int status, int start, int end) Returns a range of all the commerce shipments where groupId = ? and status = ?.findByG_S
(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where groupId = ? and status = ?.findByG_S
(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where groupId = ? and status = ?.findByG_S_First
(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where groupId = ? and status = ?.findByG_S_Last
(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the last commerce shipment in the ordered set where groupId = ? and status = ?.findByG_S_PrevAndNext
(long commerceShipmentId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the commerce shipments before and after the current commerce shipment in the ordered set where groupId = ? and status = ?.findByGroupId
(long groupId) Returns all the commerce shipments where groupId = ?.findByGroupId
(long[] groupIds) Returns all the commerce shipments where groupId = any ?.findByGroupId
(long[] groupIds, int start, int end) Returns a range of all the commerce shipments where groupId = any ?.findByGroupId
(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where groupId = any ?.findByGroupId
(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where groupId = ?, optionally using the finder cache.findByGroupId
(long groupId, int start, int end) Returns a range of all the commerce shipments where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where groupId = ?.findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where groupId = ?.findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the last commerce shipment in the ordered set where groupId = ?.findByGroupId_PrevAndNext
(long commerceShipmentId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the commerce shipments before and after the current commerce shipment in the ordered set where groupId = ?.findByPrimaryKey
(long commerceShipmentId) Returns the commerce shipment with the primary key or throws aNoSuchShipmentException
if it could not be found.findByUuid
(String uuid) Returns all the commerce shipments where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the commerce shipments where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the commerce shipments where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the commerce shipments where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the last commerce shipment in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long commerceShipmentId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the commerce shipments before and after the current commerce shipment in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the commerce shipment where uuid = ? and groupId = ? or throws aNoSuchShipmentException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the last commerce shipment in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long commerceShipmentId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the commerce shipments before and after the current commerce shipment in the ordered set where uuid = ?.remove
(long commerceShipmentId) Removes the commerce shipment with the primary key from the database.void
Removes all the commerce shipments from the database.removeByERC_C
(String externalReferenceCode, long companyId) Removes the commerce shipment where externalReferenceCode = ? and companyId = ? from the database.void
removeByG_C
(long groupId, long commerceAddressId) Removes all the commerce shipments where groupId = ? and commerceAddressId = ? from the database.void
removeByG_S
(long groupId, int status) Removes all the commerce shipments where groupId = ? and status = ? from the database.void
removeByGroupId
(long groupId) Removes all the commerce shipments where groupId = ? from the database.void
removeByUuid
(String uuid) Removes all the commerce shipments where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the commerce shipments where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the commerce shipment where uuid = ? and groupId = ? from the database.updateImpl
(CommerceShipment commerceShipment) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
Returns all the commerce shipments where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching commerce shipments
-
findByUuid
Returns a range of all the commerce shipments 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 fromCommerceShipmentModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (not inclusive)- Returns:
- the range of matching commerce shipments
-
findByUuid
List<CommerceShipment> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromCommerceShipmentModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce shipments
-
findByUuid
List<CommerceShipment> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromCommerceShipmentModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (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 shipments
-
findByUuid_First
CommerceShipment findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException Returns the first commerce shipment in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipment
- Throws:
NoSuchShipmentException
- if a matching commerce shipment could not be found
-
fetchByUuid_First
CommerceShipment fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipment, or
null
if a matching commerce shipment could not be found
-
findByUuid_Last
CommerceShipment findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException Returns the last commerce shipment in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipment
- Throws:
NoSuchShipmentException
- if a matching commerce shipment could not be found
-
fetchByUuid_Last
CommerceShipment fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the last commerce shipment in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipment, or
null
if a matching commerce shipment could not be found
-
findByUuid_PrevAndNext
CommerceShipment[] findByUuid_PrevAndNext(long commerceShipmentId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException Returns the commerce shipments before and after the current commerce shipment in the ordered set where uuid = ?.- Parameters:
commerceShipmentId
- the primary key of the current commerce shipmentuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce shipment
- Throws:
NoSuchShipmentException
- if a commerce shipment with the primary key could not be found
-
removeByUuid
Removes all the commerce shipments where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of commerce shipments where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching commerce shipments
-
findByUUID_G
Returns the commerce shipment where uuid = ? and groupId = ? or throws aNoSuchShipmentException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching commerce shipment
- Throws:
NoSuchShipmentException
- if a matching commerce shipment could not be found
-
fetchByUUID_G
Returns the commerce shipment 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, or
null
if a matching commerce shipment could not be found
-
fetchByUUID_G
Returns the commerce shipment 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, or
null
if a matching commerce shipment could not be found
-
removeByUUID_G
Removes the commerce shipment where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the commerce shipment that was removed
- Throws:
NoSuchShipmentException
-
countByUUID_G
Returns the number of commerce shipments where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching commerce shipments
-
findByUuid_C
Returns all the commerce shipments where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching commerce shipments
-
findByUuid_C
Returns a range of all the commerce shipments 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 fromCommerceShipmentModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (not inclusive)- Returns:
- the range of matching commerce shipments
-
findByUuid_C
List<CommerceShipment> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromCommerceShipmentModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce shipments
-
findByUuid_C
List<CommerceShipment> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromCommerceShipmentModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (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 shipments
-
findByUuid_C_First
CommerceShipment findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException Returns the first commerce shipment in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipment
- Throws:
NoSuchShipmentException
- if a matching commerce shipment could not be found
-
fetchByUuid_C_First
CommerceShipment fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipment, or
null
if a matching commerce shipment could not be found
-
findByUuid_C_Last
CommerceShipment findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException Returns the last commerce shipment in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipment
- Throws:
NoSuchShipmentException
- if a matching commerce shipment could not be found
-
fetchByUuid_C_Last
CommerceShipment fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the last commerce shipment in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipment, or
null
if a matching commerce shipment could not be found
-
findByUuid_C_PrevAndNext
CommerceShipment[] findByUuid_C_PrevAndNext(long commerceShipmentId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException Returns the commerce shipments before and after the current commerce shipment in the ordered set where uuid = ? and companyId = ?.- Parameters:
commerceShipmentId
- the primary key of the current commerce shipmentuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce shipment
- Throws:
NoSuchShipmentException
- if a commerce shipment with the primary key could not be found
-
removeByUuid_C
Removes all the commerce shipments where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of commerce shipments where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching commerce shipments
-
findByGroupId
Returns all the commerce shipments where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching commerce shipments
-
findByGroupId
Returns a range of all the commerce shipments 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 fromCommerceShipmentModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (not inclusive)- Returns:
- the range of matching commerce shipments
-
findByGroupId
List<CommerceShipment> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromCommerceShipmentModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce shipments
-
findByGroupId
List<CommerceShipment> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromCommerceShipmentModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (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 shipments
-
findByGroupId_First
CommerceShipment findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException Returns the first commerce shipment in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipment
- Throws:
NoSuchShipmentException
- if a matching commerce shipment could not be found
-
fetchByGroupId_First
CommerceShipment fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipment, or
null
if a matching commerce shipment could not be found
-
findByGroupId_Last
CommerceShipment findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException Returns the last commerce shipment in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipment
- Throws:
NoSuchShipmentException
- if a matching commerce shipment could not be found
-
fetchByGroupId_Last
CommerceShipment fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the last commerce shipment in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipment, or
null
if a matching commerce shipment could not be found
-
findByGroupId_PrevAndNext
CommerceShipment[] findByGroupId_PrevAndNext(long commerceShipmentId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException Returns the commerce shipments before and after the current commerce shipment in the ordered set where groupId = ?.- Parameters:
commerceShipmentId
- the primary key of the current commerce shipmentgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce shipment
- Throws:
NoSuchShipmentException
- if a commerce shipment with the primary key could not be found
-
findByGroupId
Returns all the commerce shipments where groupId = any ?.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 fromCommerceShipmentModelImpl
.- Parameters:
groupIds
- the group IDs- Returns:
- the matching commerce shipments
-
findByGroupId
Returns a range of all the commerce shipments where groupId = any ?.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 fromCommerceShipmentModelImpl
.- Parameters:
groupIds
- the group IDsstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (not inclusive)- Returns:
- the range of matching commerce shipments
-
findByGroupId
List<CommerceShipment> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where groupId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromCommerceShipmentModelImpl
.- Parameters:
groupIds
- the group IDsstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce shipments
-
findByGroupId
List<CommerceShipment> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where groupId = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromCommerceShipmentModelImpl
.- Parameters:
groupIds
- the group IDsstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (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 shipments
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the commerce shipments where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of commerce shipments where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching commerce shipments
-
countByGroupId
int countByGroupId(long[] groupIds) Returns the number of commerce shipments where groupId = any ?.- Parameters:
groupIds
- the group IDs- Returns:
- the number of matching commerce shipments
-
findByG_C
Returns all the commerce shipments where groupId = ? and commerceAddressId = ?.- Parameters:
groupId
- the group IDcommerceAddressId
- the commerce address ID- Returns:
- the matching commerce shipments
-
findByG_C
Returns a range of all the commerce shipments where groupId = ? and commerceAddressId = ?.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 fromCommerceShipmentModelImpl
.- Parameters:
groupId
- the group IDcommerceAddressId
- the commerce address IDstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (not inclusive)- Returns:
- the range of matching commerce shipments
-
findByG_C
List<CommerceShipment> findByG_C(long groupId, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where groupId = ? and commerceAddressId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromCommerceShipmentModelImpl
.- Parameters:
groupId
- the group IDcommerceAddressId
- the commerce address IDstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce shipments
-
findByG_C
List<CommerceShipment> findByG_C(long groupId, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where groupId = ? and commerceAddressId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromCommerceShipmentModelImpl
.- Parameters:
groupId
- the group IDcommerceAddressId
- the commerce address IDstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (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 shipments
-
findByG_C_First
CommerceShipment findByG_C_First(long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException Returns the first commerce shipment in the ordered set where groupId = ? and commerceAddressId = ?.- Parameters:
groupId
- the group IDcommerceAddressId
- the commerce address IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipment
- Throws:
NoSuchShipmentException
- if a matching commerce shipment could not be found
-
fetchByG_C_First
CommerceShipment fetchByG_C_First(long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where groupId = ? and commerceAddressId = ?.- Parameters:
groupId
- the group IDcommerceAddressId
- the commerce address IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipment, or
null
if a matching commerce shipment could not be found
-
findByG_C_Last
CommerceShipment findByG_C_Last(long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException Returns the last commerce shipment in the ordered set where groupId = ? and commerceAddressId = ?.- Parameters:
groupId
- the group IDcommerceAddressId
- the commerce address IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipment
- Throws:
NoSuchShipmentException
- if a matching commerce shipment could not be found
-
fetchByG_C_Last
CommerceShipment fetchByG_C_Last(long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the last commerce shipment in the ordered set where groupId = ? and commerceAddressId = ?.- Parameters:
groupId
- the group IDcommerceAddressId
- the commerce address IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipment, or
null
if a matching commerce shipment could not be found
-
findByG_C_PrevAndNext
CommerceShipment[] findByG_C_PrevAndNext(long commerceShipmentId, long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException Returns the commerce shipments before and after the current commerce shipment in the ordered set where groupId = ? and commerceAddressId = ?.- Parameters:
commerceShipmentId
- the primary key of the current commerce shipmentgroupId
- the group IDcommerceAddressId
- the commerce address IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce shipment
- Throws:
NoSuchShipmentException
- if a commerce shipment with the primary key could not be found
-
findByG_C
Returns all the commerce shipments where groupId = any ? and commerceAddressId = ?.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 fromCommerceShipmentModelImpl
.- Parameters:
groupIds
- the group IDscommerceAddressId
- the commerce address ID- Returns:
- the matching commerce shipments
-
findByG_C
Returns a range of all the commerce shipments where groupId = any ? and commerceAddressId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromCommerceShipmentModelImpl
.- Parameters:
groupIds
- the group IDscommerceAddressId
- the commerce address IDstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (not inclusive)- Returns:
- the range of matching commerce shipments
-
findByG_C
List<CommerceShipment> findByG_C(long[] groupIds, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where groupId = any ? and commerceAddressId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromCommerceShipmentModelImpl
.- Parameters:
groupIds
- the group IDscommerceAddressId
- the commerce address IDstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce shipments
-
findByG_C
List<CommerceShipment> findByG_C(long[] groupIds, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where groupId = ? and commerceAddressId = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromCommerceShipmentModelImpl
.- Parameters:
groupIds
- the group IDscommerceAddressId
- the commerce address IDstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (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 shipments
-
removeByG_C
void removeByG_C(long groupId, long commerceAddressId) Removes all the commerce shipments where groupId = ? and commerceAddressId = ? from the database.- Parameters:
groupId
- the group IDcommerceAddressId
- the commerce address ID
-
countByG_C
int countByG_C(long groupId, long commerceAddressId) Returns the number of commerce shipments where groupId = ? and commerceAddressId = ?.- Parameters:
groupId
- the group IDcommerceAddressId
- the commerce address ID- Returns:
- the number of matching commerce shipments
-
countByG_C
int countByG_C(long[] groupIds, long commerceAddressId) Returns the number of commerce shipments where groupId = any ? and commerceAddressId = ?.- Parameters:
groupIds
- the group IDscommerceAddressId
- the commerce address ID- Returns:
- the number of matching commerce shipments
-
findByG_S
Returns all the commerce shipments where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the status- Returns:
- the matching commerce shipments
-
findByG_S
Returns a range of all the commerce shipments where groupId = ? and status = ?.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 fromCommerceShipmentModelImpl
.- Parameters:
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (not inclusive)- Returns:
- the range of matching commerce shipments
-
findByG_S
List<CommerceShipment> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where groupId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromCommerceShipmentModelImpl
.- Parameters:
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce shipments
-
findByG_S
List<CommerceShipment> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where groupId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromCommerceShipmentModelImpl
.- Parameters:
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (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 shipments
-
findByG_S_First
CommerceShipment findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException Returns the first commerce shipment in the ordered set where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipment
- Throws:
NoSuchShipmentException
- if a matching commerce shipment could not be found
-
fetchByG_S_First
CommerceShipment fetchByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce shipment, or
null
if a matching commerce shipment could not be found
-
findByG_S_Last
CommerceShipment findByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException Returns the last commerce shipment in the ordered set where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipment
- Throws:
NoSuchShipmentException
- if a matching commerce shipment could not be found
-
fetchByG_S_Last
CommerceShipment fetchByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the last commerce shipment in the ordered set where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce shipment, or
null
if a matching commerce shipment could not be found
-
findByG_S_PrevAndNext
CommerceShipment[] findByG_S_PrevAndNext(long commerceShipmentId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException Returns the commerce shipments before and after the current commerce shipment in the ordered set where groupId = ? and status = ?.- Parameters:
commerceShipmentId
- the primary key of the current commerce shipmentgroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce shipment
- Throws:
NoSuchShipmentException
- if a commerce shipment with the primary key could not be found
-
findByG_S
Returns all the commerce shipments where groupId = any ? and status = ?.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 fromCommerceShipmentModelImpl
.- Parameters:
groupIds
- the group IDsstatus
- the status- Returns:
- the matching commerce shipments
-
findByG_S
Returns a range of all the commerce shipments where groupId = any ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromCommerceShipmentModelImpl
.- Parameters:
groupIds
- the group IDsstatus
- the statusstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (not inclusive)- Returns:
- the range of matching commerce shipments
-
findByG_S
List<CommerceShipment> findByG_S(long[] groupIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where groupId = any ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromCommerceShipmentModelImpl
.- Parameters:
groupIds
- the group IDsstatus
- the statusstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching commerce shipments
-
findByG_S
List<CommerceShipment> findByG_S(long[] groupIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where groupId = ? and status = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromCommerceShipmentModelImpl
.- Parameters:
groupIds
- the group IDsstatus
- the statusstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (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 shipments
-
removeByG_S
void removeByG_S(long groupId, int status) Removes all the commerce shipments where groupId = ? and status = ? from the database.- Parameters:
groupId
- the group IDstatus
- the status
-
countByG_S
int countByG_S(long groupId, int status) Returns the number of commerce shipments where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the status- Returns:
- the number of matching commerce shipments
-
countByG_S
int countByG_S(long[] groupIds, int status) Returns the number of commerce shipments where groupId = any ? and status = ?.- Parameters:
groupIds
- the group IDsstatus
- the status- Returns:
- the number of matching commerce shipments
-
findByERC_C
CommerceShipment findByERC_C(String externalReferenceCode, long companyId) throws NoSuchShipmentException Returns the commerce shipment where externalReferenceCode = ? and companyId = ? or throws aNoSuchShipmentException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching commerce shipment
- Throws:
NoSuchShipmentException
- if a matching commerce shipment could not be found
-
fetchByERC_C
Returns the commerce shipment 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, or
null
if a matching commerce shipment could not be found
-
fetchByERC_C
Returns the commerce shipment 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, or
null
if a matching commerce shipment could not be found
-
removeByERC_C
CommerceShipment removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchShipmentException Removes the commerce shipment where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the commerce shipment that was removed
- Throws:
NoSuchShipmentException
-
countByERC_C
Returns the number of commerce shipments where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching commerce shipments
-
cacheResult
Caches the commerce shipment in the entity cache if it is enabled.- Parameters:
commerceShipment
- the commerce shipment
-
cacheResult
Caches the commerce shipments in the entity cache if it is enabled.- Parameters:
commerceShipments
- the commerce shipments
-
create
Creates a new commerce shipment with the primary key. Does not add the commerce shipment to the database.- Parameters:
commerceShipmentId
- the primary key for the new commerce shipment- Returns:
- the new commerce shipment
-
remove
Removes the commerce shipment with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceShipmentId
- the primary key of the commerce shipment- Returns:
- the commerce shipment that was removed
- Throws:
NoSuchShipmentException
- if a commerce shipment with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the commerce shipment with the primary key or throws aNoSuchShipmentException
if it could not be found.- Parameters:
commerceShipmentId
- the primary key of the commerce shipment- Returns:
- the commerce shipment
- Throws:
NoSuchShipmentException
- if a commerce shipment with the primary key could not be found
-
fetchByPrimaryKey
Returns the commerce shipment with the primary key or returnsnull
if it could not be found.- Parameters:
commerceShipmentId
- the primary key of the commerce shipment- Returns:
- the commerce shipment, or
null
if a commerce shipment with the primary key could not be found
-
findAll
List<CommerceShipment> findAll()Returns all the commerce shipments.- Returns:
- the commerce shipments
-
findAll
Returns a range of all the commerce shipments.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 fromCommerceShipmentModelImpl
.- Parameters:
start
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (not inclusive)- Returns:
- the range of commerce shipments
-
findAll
List<CommerceShipment> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromCommerceShipmentModelImpl
.- Parameters:
start
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of commerce shipments
-
findAll
List<CommerceShipment> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments.Useful when paginating results. Returns a maximum of
end - start
instances.start
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 fromCommerceShipmentModelImpl
.- Parameters:
start
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of commerce shipments
-
removeAll
void removeAll()Removes all the commerce shipments from the database. -
countAll
int countAll()Returns the number of commerce shipments.- Returns:
- the number of commerce shipments
-