@ProviderType public interface CommerceShipmentPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceShipment>
Caching information and settings can be found in portal.properties
CommerceShipmentUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommerceShipment commerceShipment)
Caches the commerce shipment in the entity cache if it is enabled.
|
void |
cacheResult(java.util.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(java.lang.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_C(java.lang.String uuid,
long companyId)
Returns the number of commerce shipments where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of commerce shipments where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of commerce shipments where uuid = ?.
|
CommerceShipment |
create(long commerceShipmentId)
Creates a new commerce shipment with the primary key.
|
CommerceShipment |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce shipment where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found. |
CommerceShipment |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId,
boolean useFinderCache)
Returns the commerce shipment where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
CommerceShipment |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
Returns the first commerce shipment in the ordered set where groupId = ?.
|
CommerceShipment |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
Returns the last commerce shipment in the ordered set where groupId = ?.
|
CommerceShipment |
fetchByPrimaryKey(long commerceShipmentId)
Returns the commerce shipment with the primary key or returns
null if it could not be found. |
CommerceShipment |
fetchByUuid_C_First(java.lang.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 = ?.
|
CommerceShipment |
fetchByUuid_C_Last(java.lang.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 = ?.
|
CommerceShipment |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
Returns the first commerce shipment in the ordered set where uuid = ?.
|
CommerceShipment |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce shipment where uuid = ? and groupId = ? or returns
null if it could not be found. |
CommerceShipment |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the commerce shipment where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceShipment |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
Returns the last commerce shipment in the ordered set where uuid = ?.
|
java.util.List<CommerceShipment> |
findAll()
Returns all the commerce shipments.
|
java.util.List<CommerceShipment> |
findAll(int start,
int end)
Returns a range of all the commerce shipments.
|
java.util.List<CommerceShipment> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
Returns an ordered range of all the commerce shipments.
|
java.util.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.
|
CommerceShipment |
findByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce shipment where externalReferenceCode = ? and companyId = ? or throws a
NoSuchShipmentException if it could not be found. |
CommerceShipment |
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 = ?.
|
CommerceShipment |
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 = ?.
|
CommerceShipment[] |
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 = ?.
|
java.util.List<CommerceShipment> |
findByG_C(long[] groupIds,
long commerceAddressId)
Returns all the commerce shipments where groupId = any ? and commerceAddressId = ?.
|
java.util.List<CommerceShipment> |
findByG_C(long[] groupIds,
long commerceAddressId,
int start,
int end)
Returns a range of all the commerce shipments where groupId = any ? and commerceAddressId = ?.
|
java.util.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 = ?.
|
java.util.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.
|
java.util.List<CommerceShipment> |
findByG_C(long groupId,
long commerceAddressId)
Returns all the commerce shipments where groupId = ? and commerceAddressId = ?.
|
java.util.List<CommerceShipment> |
findByG_C(long groupId,
long commerceAddressId,
int start,
int end)
Returns a range of all the commerce shipments where groupId = ? and commerceAddressId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CommerceShipment |
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 = ?.
|
CommerceShipment |
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 = ?.
|
CommerceShipment[] |
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 = ?.
|
java.util.List<CommerceShipment> |
findByG_S(long[] groupIds,
int status)
Returns all the commerce shipments where groupId = any ? and status = ?.
|
java.util.List<CommerceShipment> |
findByG_S(long[] groupIds,
int status,
int start,
int end)
Returns a range of all the commerce shipments where groupId = any ? and status = ?.
|
java.util.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 = ?.
|
java.util.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.
|
java.util.List<CommerceShipment> |
findByG_S(long groupId,
int status)
Returns all the commerce shipments where groupId = ? and status = ?.
|
java.util.List<CommerceShipment> |
findByG_S(long groupId,
int status,
int start,
int end)
Returns a range of all the commerce shipments where groupId = ? and status = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CommerceShipment |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
Returns the first commerce shipment in the ordered set where groupId = ?.
|
CommerceShipment |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
Returns the last commerce shipment in the ordered set where groupId = ?.
|
CommerceShipment[] |
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 = ?.
|
java.util.List<CommerceShipment> |
findByGroupId(long groupId)
Returns all the commerce shipments where groupId = ?.
|
java.util.List<CommerceShipment> |
findByGroupId(long[] groupIds)
Returns all the commerce shipments where groupId = any ?.
|
java.util.List<CommerceShipment> |
findByGroupId(long[] groupIds,
int start,
int end)
Returns a range of all the commerce shipments where groupId = any ?.
|
java.util.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 ?.
|
java.util.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.
|
java.util.List<CommerceShipment> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the commerce shipments where groupId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
CommerceShipment |
findByPrimaryKey(long commerceShipmentId)
Returns the commerce shipment with the primary key or throws a
NoSuchShipmentException if it could not be found. |
CommerceShipment |
findByUuid_C_First(java.lang.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 = ?.
|
CommerceShipment |
findByUuid_C_Last(java.lang.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 = ?.
|
CommerceShipment[] |
findByUuid_C_PrevAndNext(long commerceShipmentId,
java.lang.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 = ?.
|
java.util.List<CommerceShipment> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce shipments where uuid = ? and companyId = ?.
|
java.util.List<CommerceShipment> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce shipments where uuid = ? and companyId = ?.
|
java.util.List<CommerceShipment> |
findByUuid_C(java.lang.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 = ?.
|
java.util.List<CommerceShipment> |
findByUuid_C(java.lang.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 = ?.
|
CommerceShipment |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
Returns the first commerce shipment in the ordered set where uuid = ?.
|
CommerceShipment |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce shipment where uuid = ? and groupId = ? or throws a
NoSuchShipmentException if it could not be found. |
CommerceShipment |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
Returns the last commerce shipment in the ordered set where uuid = ?.
|
CommerceShipment[] |
findByUuid_PrevAndNext(long commerceShipmentId,
java.lang.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 = ?.
|
java.util.List<CommerceShipment> |
findByUuid(java.lang.String uuid)
Returns all the commerce shipments where uuid = ?.
|
java.util.List<CommerceShipment> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce shipments where uuid = ?.
|
java.util.List<CommerceShipment> |
findByUuid(java.lang.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 = ?.
|
java.util.List<CommerceShipment> |
findByUuid(java.lang.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 = ?.
|
CommerceShipment |
remove(long commerceShipmentId)
Removes the commerce shipment with the primary key from the database.
|
void |
removeAll()
Removes all the commerce shipments from the database.
|
CommerceShipment |
removeByERC_C(java.lang.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_C(java.lang.String uuid,
long companyId)
Removes all the commerce shipments where uuid = ? and companyId = ? from the database.
|
CommerceShipment |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the commerce shipment where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the commerce shipments where uuid = ? from the database.
|
CommerceShipment |
updateImpl(CommerceShipment commerceShipment) |
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, setDataSource, unregisterListener, update, update
java.util.List<CommerceShipment> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommerceShipment> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (not inclusive)java.util.List<CommerceShipment> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
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 (optionally null
)java.util.List<CommerceShipment> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceShipment findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentException
- if a matching commerce shipment could not be foundCommerceShipment fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipment could not be foundCommerceShipment findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentException
- if a matching commerce shipment could not be foundCommerceShipment fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipment could not be foundCommerceShipment[] findByUuid_PrevAndNext(long commerceShipmentId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException
commerceShipmentId
- the primary key of the current commerce shipmentuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentException
- if a commerce shipment with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidCommerceShipment findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchShipmentException
NoSuchShipmentException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchShipmentException
- if a matching commerce shipment could not be foundCommerceShipment fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching commerce shipment could not be foundCommerceShipment fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce shipment could not be foundCommerceShipment removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchShipmentException
uuid
- the uuidgroupId
- the group IDNoSuchShipmentException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<CommerceShipment> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommerceShipment> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
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)java.util.List<CommerceShipment> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
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 (optionally null
)java.util.List<CommerceShipment> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceShipment findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentException
- if a matching commerce shipment could not be foundCommerceShipment fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipment could not be foundCommerceShipment findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentException
- if a matching commerce shipment could not be foundCommerceShipment fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipment could not be foundCommerceShipment[] findByUuid_C_PrevAndNext(long commerceShipmentId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException
commerceShipmentId
- the primary key of the current commerce shipmentuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentException
- if a commerce shipment with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommerceShipment> findByGroupId(long groupId)
groupId
- the group IDjava.util.List<CommerceShipment> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (not inclusive)java.util.List<CommerceShipment> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
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 (optionally null
)java.util.List<CommerceShipment> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceShipment findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentException
- if a matching commerce shipment could not be foundCommerceShipment fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipment could not be foundCommerceShipment findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentException
- if a matching commerce shipment could not be foundCommerceShipment fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipment could not be foundCommerceShipment[] findByGroupId_PrevAndNext(long commerceShipmentId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException
commerceShipmentId
- the primary key of the current commerce shipmentgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentException
- if a commerce shipment with the primary key could not be foundjava.util.List<CommerceShipment> findByGroupId(long[] groupIds)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
groupIds
- the group IDsjava.util.List<CommerceShipment> findByGroupId(long[] groupIds, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
groupIds
- the group IDsstart
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (not inclusive)java.util.List<CommerceShipment> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
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 (optionally null
)java.util.List<CommerceShipment> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long[] groupIds)
groupIds
- the group IDsjava.util.List<CommerceShipment> findByG_C(long groupId, long commerceAddressId)
groupId
- the group IDcommerceAddressId
- the commerce address IDjava.util.List<CommerceShipment> findByG_C(long groupId, long commerceAddressId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
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)java.util.List<CommerceShipment> findByG_C(long groupId, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
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 (optionally null
)java.util.List<CommerceShipment> findByG_C(long groupId, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceShipment findByG_C_First(long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException
groupId
- the group IDcommerceAddressId
- the commerce address IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentException
- if a matching commerce shipment could not be foundCommerceShipment fetchByG_C_First(long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
groupId
- the group IDcommerceAddressId
- the commerce address IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipment could not be foundCommerceShipment findByG_C_Last(long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException
groupId
- the group IDcommerceAddressId
- the commerce address IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentException
- if a matching commerce shipment could not be foundCommerceShipment fetchByG_C_Last(long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
groupId
- the group IDcommerceAddressId
- the commerce address IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipment could not be foundCommerceShipment[] findByG_C_PrevAndNext(long commerceShipmentId, long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException
commerceShipmentId
- the primary key of the current commerce shipmentgroupId
- the group IDcommerceAddressId
- the commerce address IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentException
- if a commerce shipment with the primary key could not be foundjava.util.List<CommerceShipment> findByG_C(long[] groupIds, long commerceAddressId)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
groupIds
- the group IDscommerceAddressId
- the commerce address IDjava.util.List<CommerceShipment> findByG_C(long[] groupIds, long commerceAddressId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
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)java.util.List<CommerceShipment> findByG_C(long[] groupIds, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
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 (optionally null
)java.util.List<CommerceShipment> findByG_C(long[] groupIds, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeByG_C(long groupId, long commerceAddressId)
groupId
- the group IDcommerceAddressId
- the commerce address IDint countByG_C(long groupId, long commerceAddressId)
groupId
- the group IDcommerceAddressId
- the commerce address IDint countByG_C(long[] groupIds, long commerceAddressId)
groupIds
- the group IDscommerceAddressId
- the commerce address IDjava.util.List<CommerceShipment> findByG_S(long groupId, int status)
groupId
- the group IDstatus
- the statusjava.util.List<CommerceShipment> findByG_S(long groupId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
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)java.util.List<CommerceShipment> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
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 (optionally null
)java.util.List<CommerceShipment> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheCommerceShipment findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentException
- if a matching commerce shipment could not be foundCommerceShipment fetchByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipment could not be foundCommerceShipment findByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentException
- if a matching commerce shipment could not be foundCommerceShipment fetchByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce shipment could not be foundCommerceShipment[] findByG_S_PrevAndNext(long commerceShipmentId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException
commerceShipmentId
- the primary key of the current commerce shipmentgroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchShipmentException
- if a commerce shipment with the primary key could not be foundjava.util.List<CommerceShipment> findByG_S(long[] groupIds, int status)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
groupIds
- the group IDsstatus
- the statusjava.util.List<CommerceShipment> findByG_S(long[] groupIds, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
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)java.util.List<CommerceShipment> findByG_S(long[] groupIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
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 (optionally null
)java.util.List<CommerceShipment> findByG_S(long[] groupIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeByG_S(long groupId, int status)
groupId
- the group IDstatus
- the statusint countByG_S(long groupId, int status)
groupId
- the group IDstatus
- the statusint countByG_S(long[] groupIds, int status)
groupIds
- the group IDsstatus
- the statusCommerceShipment findByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchShipmentException
NoSuchShipmentException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchShipmentException
- if a matching commerce shipment could not be foundCommerceShipment fetchByERC_C(java.lang.String externalReferenceCode, long companyId)
null
if it could not be found. Uses the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDnull
if a matching commerce shipment could not be foundCommerceShipment fetchByERC_C(java.lang.String externalReferenceCode, long companyId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce shipment could not be foundCommerceShipment removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchShipmentException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchShipmentException
int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDvoid cacheResult(CommerceShipment commerceShipment)
commerceShipment
- the commerce shipmentvoid cacheResult(java.util.List<CommerceShipment> commerceShipments)
commerceShipments
- the commerce shipmentsCommerceShipment create(long commerceShipmentId)
commerceShipmentId
- the primary key for the new commerce shipmentCommerceShipment remove(long commerceShipmentId) throws NoSuchShipmentException
commerceShipmentId
- the primary key of the commerce shipmentNoSuchShipmentException
- if a commerce shipment with the primary key could not be foundCommerceShipment updateImpl(CommerceShipment commerceShipment)
CommerceShipment findByPrimaryKey(long commerceShipmentId) throws NoSuchShipmentException
NoSuchShipmentException
if it could not be found.commerceShipmentId
- the primary key of the commerce shipmentNoSuchShipmentException
- if a commerce shipment with the primary key could not be foundCommerceShipment fetchByPrimaryKey(long commerceShipmentId)
null
if it could not be found.commerceShipmentId
- the primary key of the commerce shipmentnull
if a commerce shipment with the primary key could not be foundjava.util.List<CommerceShipment> findAll()
java.util.List<CommerceShipment> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
start
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (not inclusive)java.util.List<CommerceShipment> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
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 (optionally null
)java.util.List<CommerceShipment> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceShipmentModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()