@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 |
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 |
countByGroupIds(long groupId)
Returns the number of commerce shipments where groupId = ?.
|
int |
countByGroupIds(long[] groupIds)
Returns the number of commerce shipments where groupId = any ?.
|
CommerceShipment |
create(long commerceShipmentId)
Creates a new commerce shipment with the primary key.
|
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 |
fetchByGroupIds_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
Returns the first commerce shipment in the ordered set where groupId = ?.
|
CommerceShipment |
fetchByGroupIds_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. |
java.util.Map<java.io.Serializable,CommerceShipment> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
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 |
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 |
findByGroupIds_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
Returns the first commerce shipment in the ordered set where groupId = ?.
|
CommerceShipment |
findByGroupIds_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator)
Returns the last commerce shipment in the ordered set where groupId = ?.
|
CommerceShipment[] |
findByGroupIds_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> |
findByGroupIds(long groupId)
Returns all the commerce shipments where groupId = ?.
|
java.util.List<CommerceShipment> |
findByGroupIds(long[] groupIds)
Returns all the commerce shipments where groupId = any ?.
|
java.util.List<CommerceShipment> |
findByGroupIds(long[] groupIds,
int start,
int end)
Returns a range of all the commerce shipments where groupId = any ?.
|
java.util.List<CommerceShipment> |
findByGroupIds(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> |
findByGroupIds(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> |
findByGroupIds(long groupId,
int start,
int end)
Returns a range of all the commerce shipments where groupId = ?.
|
java.util.List<CommerceShipment> |
findByGroupIds(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> |
findByGroupIds(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 |
remove(long commerceShipmentId)
Removes the commerce shipment with the primary key from the database.
|
void |
removeAll()
Removes all the commerce shipments from the database.
|
void |
removeByG_S(long groupId,
int status)
Removes all the commerce shipments where groupId = ? and status = ? from the database.
|
void |
removeByGroupIds(long groupId)
Removes all the commerce shipments where groupId = ? from the database.
|
CommerceShipment |
updateImpl(CommerceShipment commerceShipment) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, updatejava.util.Map<java.io.Serializable,CommerceShipment> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
CommerceShipmentUtil to access the commerce shipment persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface.fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceShipment>java.util.List<CommerceShipment> findByGroupIds(long groupId)
groupId - the group IDjava.util.List<CommerceShipment> findByGroupIds(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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceShipmentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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> findByGroupIds(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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceShipmentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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> findByGroupIds(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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceShipmentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 findByGroupIds_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 fetchByGroupIds_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 findByGroupIds_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 fetchByGroupIds_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[] findByGroupIds_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> findByGroupIds(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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceShipmentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupIds - the group IDsjava.util.List<CommerceShipment> findByGroupIds(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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceShipmentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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> findByGroupIds(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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceShipmentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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> findByGroupIds(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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceShipmentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 cachevoid removeByGroupIds(long groupId)
groupId - the group IDint countByGroupIds(long groupId)
groupId - the group IDint countByGroupIds(long[] groupIds)
groupIds - the group IDsjava.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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceShipmentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceShipmentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceShipmentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceShipmentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceShipmentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceShipmentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceShipmentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 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 statusvoid 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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceShipmentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceShipmentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from CommerceShipmentModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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()