|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ProviderType public interface ShoppingOrderPersistence
The persistence interface for the shopping order service.
Caching information and settings can be found in portal.properties
ShoppingOrderPersistenceImpl
,
ShoppingOrderUtil
Method Summary | |
---|---|
void |
cacheResult(List<ShoppingOrder> shoppingOrders)
Caches the shopping orders in the entity cache if it is enabled. |
void |
cacheResult(ShoppingOrder shoppingOrder)
Caches the shopping order in the entity cache if it is enabled. |
int |
countAll()
Returns the number of shopping orders. |
int |
countByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus)
Returns the number of shopping orders where groupId = ? and userId = ? and ppPaymentStatus = ?. |
int |
countByGroupId(long groupId)
Returns the number of shopping orders where groupId = ?. |
int |
countByNumber(String number)
Returns the number of shopping orders where number = ?. |
int |
countByPPTxnId(String ppTxnId)
Returns the number of shopping orders where ppTxnId = ?. |
ShoppingOrder |
create(long orderId)
Creates a new shopping order with the primary key. |
ShoppingOrder |
fetchByG_U_PPPS_First(long groupId,
long userId,
String ppPaymentStatus,
OrderByComparator orderByComparator)
Returns the first shopping order in the ordered set where groupId = ? and userId = ? and ppPaymentStatus = ?. |
ShoppingOrder |
fetchByG_U_PPPS_Last(long groupId,
long userId,
String ppPaymentStatus,
OrderByComparator orderByComparator)
Returns the last shopping order in the ordered set where groupId = ? and userId = ? and ppPaymentStatus = ?. |
ShoppingOrder |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first shopping order in the ordered set where groupId = ?. |
ShoppingOrder |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last shopping order in the ordered set where groupId = ?. |
ShoppingOrder |
fetchByNumber(String number)
Returns the shopping order where number = ? or returns null if it could not be found. |
ShoppingOrder |
fetchByNumber(String number,
boolean retrieveFromCache)
Returns the shopping order where number = ? or returns null if it could not be found, optionally using the finder cache. |
ShoppingOrder |
fetchByPPTxnId(String ppTxnId)
Returns the shopping order where ppTxnId = ? or returns null if it could not be found. |
ShoppingOrder |
fetchByPPTxnId(String ppTxnId,
boolean retrieveFromCache)
Returns the shopping order where ppTxnId = ? or returns null if it could not be found, optionally using the finder cache. |
ShoppingOrder |
fetchByPrimaryKey(long orderId)
Returns the shopping order with the primary key or returns null if it could not be found. |
int |
filterCountByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus)
Returns the number of shopping orders that the user has permission to view where groupId = ? and userId = ? and ppPaymentStatus = ?. |
int |
filterCountByGroupId(long groupId)
Returns the number of shopping orders that the user has permission to view where groupId = ?. |
ShoppingOrder[] |
filterFindByG_U_PPPS_PrevAndNext(long orderId,
long groupId,
long userId,
String ppPaymentStatus,
OrderByComparator orderByComparator)
Returns the shopping orders before and after the current shopping order in the ordered set of shopping orders that the user has permission to view where groupId = ? and userId = ? and ppPaymentStatus = ?. |
List<ShoppingOrder> |
filterFindByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus)
Returns all the shopping orders that the user has permission to view where groupId = ? and userId = ? and ppPaymentStatus = ?. |
List<ShoppingOrder> |
filterFindByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus,
int start,
int end)
Returns a range of all the shopping orders that the user has permission to view where groupId = ? and userId = ? and ppPaymentStatus = ?. |
List<ShoppingOrder> |
filterFindByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the shopping orders that the user has permissions to view where groupId = ? and userId = ? and ppPaymentStatus = ?. |
ShoppingOrder[] |
filterFindByGroupId_PrevAndNext(long orderId,
long groupId,
OrderByComparator orderByComparator)
Returns the shopping orders before and after the current shopping order in the ordered set of shopping orders that the user has permission to view where groupId = ?. |
List<ShoppingOrder> |
filterFindByGroupId(long groupId)
Returns all the shopping orders that the user has permission to view where groupId = ?. |
List<ShoppingOrder> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the shopping orders that the user has permission to view where groupId = ?. |
List<ShoppingOrder> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the shopping orders that the user has permissions to view where groupId = ?. |
List<ShoppingOrder> |
findAll()
Returns all the shopping orders. |
List<ShoppingOrder> |
findAll(int start,
int end)
Returns a range of all the shopping orders. |
List<ShoppingOrder> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the shopping orders. |
ShoppingOrder |
findByG_U_PPPS_First(long groupId,
long userId,
String ppPaymentStatus,
OrderByComparator orderByComparator)
Returns the first shopping order in the ordered set where groupId = ? and userId = ? and ppPaymentStatus = ?. |
ShoppingOrder |
findByG_U_PPPS_Last(long groupId,
long userId,
String ppPaymentStatus,
OrderByComparator orderByComparator)
Returns the last shopping order in the ordered set where groupId = ? and userId = ? and ppPaymentStatus = ?. |
ShoppingOrder[] |
findByG_U_PPPS_PrevAndNext(long orderId,
long groupId,
long userId,
String ppPaymentStatus,
OrderByComparator orderByComparator)
Returns the shopping orders before and after the current shopping order in the ordered set where groupId = ? and userId = ? and ppPaymentStatus = ?. |
List<ShoppingOrder> |
findByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus)
Returns all the shopping orders where groupId = ? and userId = ? and ppPaymentStatus = ?. |
List<ShoppingOrder> |
findByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus,
int start,
int end)
Returns a range of all the shopping orders where groupId = ? and userId = ? and ppPaymentStatus = ?. |
List<ShoppingOrder> |
findByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the shopping orders where groupId = ? and userId = ? and ppPaymentStatus = ?. |
ShoppingOrder |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first shopping order in the ordered set where groupId = ?. |
ShoppingOrder |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last shopping order in the ordered set where groupId = ?. |
ShoppingOrder[] |
findByGroupId_PrevAndNext(long orderId,
long groupId,
OrderByComparator orderByComparator)
Returns the shopping orders before and after the current shopping order in the ordered set where groupId = ?. |
List<ShoppingOrder> |
findByGroupId(long groupId)
Returns all the shopping orders where groupId = ?. |
List<ShoppingOrder> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the shopping orders where groupId = ?. |
List<ShoppingOrder> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the shopping orders where groupId = ?. |
ShoppingOrder |
findByNumber(String number)
Returns the shopping order where number = ? or throws a NoSuchOrderException if it could not be found. |
ShoppingOrder |
findByPPTxnId(String ppTxnId)
Returns the shopping order where ppTxnId = ? or throws a NoSuchOrderException if it could not be found. |
ShoppingOrder |
findByPrimaryKey(long orderId)
Returns the shopping order with the primary key or throws a NoSuchOrderException if it could not be found. |
ShoppingOrder |
remove(long orderId)
Removes the shopping order with the primary key from the database. |
void |
removeAll()
Removes all the shopping orders from the database. |
void |
removeByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus)
Removes all the shopping orders where groupId = ? and userId = ? and ppPaymentStatus = ? from the database. |
void |
removeByGroupId(long groupId)
Removes all the shopping orders where groupId = ? from the database. |
ShoppingOrder |
removeByNumber(String number)
Removes the shopping order where number = ? from the database. |
ShoppingOrder |
removeByPPTxnId(String ppTxnId)
Removes the shopping order where ppTxnId = ? from the database. |
ShoppingOrder |
updateImpl(ShoppingOrder shoppingOrder)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update |
Method Detail |
---|
List<ShoppingOrder> findByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredList<ShoppingOrder> findByGroupId(long groupId, int start, int end) throws SystemException
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 ShoppingOrderModelImpl
. 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 shopping ordersend
- the upper bound of the range of shopping orders (not inclusive)
SystemException
- if a system exception occurredList<ShoppingOrder> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 ShoppingOrderModelImpl
. 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 shopping ordersend
- the upper bound of the range of shopping orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredShoppingOrder findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchOrderException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchOrderException
- if a matching shopping order could not be found
SystemException
- if a system exception occurredShoppingOrder fetchByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching shopping order could not be found
SystemException
- if a system exception occurredShoppingOrder findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchOrderException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchOrderException
- if a matching shopping order could not be found
SystemException
- if a system exception occurredShoppingOrder fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching shopping order could not be found
SystemException
- if a system exception occurredShoppingOrder[] findByGroupId_PrevAndNext(long orderId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchOrderException
orderId
- the primary key of the current shopping ordergroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchOrderException
- if a shopping order with the primary key could not be found
SystemException
- if a system exception occurredList<ShoppingOrder> filterFindByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredList<ShoppingOrder> filterFindByGroupId(long groupId, int start, int end) throws SystemException
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 ShoppingOrderModelImpl
. 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 shopping ordersend
- the upper bound of the range of shopping orders (not inclusive)
SystemException
- if a system exception occurredList<ShoppingOrder> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 ShoppingOrderModelImpl
. 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 shopping ordersend
- the upper bound of the range of shopping orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredShoppingOrder[] filterFindByGroupId_PrevAndNext(long orderId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchOrderException
orderId
- the primary key of the current shopping ordergroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchOrderException
- if a shopping order with the primary key could not be found
SystemException
- if a system exception occurredvoid removeByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredint countByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredint filterCountByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredShoppingOrder findByNumber(String number) throws SystemException, NoSuchOrderException
NoSuchOrderException
if it could not be found.
number
- the number
NoSuchOrderException
- if a matching shopping order could not be found
SystemException
- if a system exception occurredShoppingOrder fetchByNumber(String number) throws SystemException
null
if it could not be found. Uses the finder cache.
number
- the number
null
if a matching shopping order could not be found
SystemException
- if a system exception occurredShoppingOrder fetchByNumber(String number, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
number
- the numberretrieveFromCache
- whether to use the finder cache
null
if a matching shopping order could not be found
SystemException
- if a system exception occurredShoppingOrder removeByNumber(String number) throws SystemException, NoSuchOrderException
number
- the number
SystemException
- if a system exception occurred
NoSuchOrderException
int countByNumber(String number) throws SystemException
number
- the number
SystemException
- if a system exception occurredShoppingOrder findByPPTxnId(String ppTxnId) throws SystemException, NoSuchOrderException
NoSuchOrderException
if it could not be found.
ppTxnId
- the pp txn ID
NoSuchOrderException
- if a matching shopping order could not be found
SystemException
- if a system exception occurredShoppingOrder fetchByPPTxnId(String ppTxnId) throws SystemException
null
if it could not be found. Uses the finder cache.
ppTxnId
- the pp txn ID
null
if a matching shopping order could not be found
SystemException
- if a system exception occurredShoppingOrder fetchByPPTxnId(String ppTxnId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
ppTxnId
- the pp txn IDretrieveFromCache
- whether to use the finder cache
null
if a matching shopping order could not be found
SystemException
- if a system exception occurredShoppingOrder removeByPPTxnId(String ppTxnId) throws SystemException, NoSuchOrderException
ppTxnId
- the pp txn ID
SystemException
- if a system exception occurred
NoSuchOrderException
int countByPPTxnId(String ppTxnId) throws SystemException
ppTxnId
- the pp txn ID
SystemException
- if a system exception occurredList<ShoppingOrder> findByG_U_PPPS(long groupId, long userId, String ppPaymentStatus) throws SystemException
groupId
- the group IDuserId
- the user IDppPaymentStatus
- the pp payment status
SystemException
- if a system exception occurredList<ShoppingOrder> findByG_U_PPPS(long groupId, long userId, String ppPaymentStatus, int start, int end) throws SystemException
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 ShoppingOrderModelImpl
. 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 IDuserId
- the user IDppPaymentStatus
- the pp payment statusstart
- the lower bound of the range of shopping ordersend
- the upper bound of the range of shopping orders (not inclusive)
SystemException
- if a system exception occurredList<ShoppingOrder> findByG_U_PPPS(long groupId, long userId, String ppPaymentStatus, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 ShoppingOrderModelImpl
. 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 IDuserId
- the user IDppPaymentStatus
- the pp payment statusstart
- the lower bound of the range of shopping ordersend
- the upper bound of the range of shopping orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredShoppingOrder findByG_U_PPPS_First(long groupId, long userId, String ppPaymentStatus, OrderByComparator orderByComparator) throws SystemException, NoSuchOrderException
groupId
- the group IDuserId
- the user IDppPaymentStatus
- the pp payment statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchOrderException
- if a matching shopping order could not be found
SystemException
- if a system exception occurredShoppingOrder fetchByG_U_PPPS_First(long groupId, long userId, String ppPaymentStatus, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDuserId
- the user IDppPaymentStatus
- the pp payment statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching shopping order could not be found
SystemException
- if a system exception occurredShoppingOrder findByG_U_PPPS_Last(long groupId, long userId, String ppPaymentStatus, OrderByComparator orderByComparator) throws SystemException, NoSuchOrderException
groupId
- the group IDuserId
- the user IDppPaymentStatus
- the pp payment statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchOrderException
- if a matching shopping order could not be found
SystemException
- if a system exception occurredShoppingOrder fetchByG_U_PPPS_Last(long groupId, long userId, String ppPaymentStatus, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDuserId
- the user IDppPaymentStatus
- the pp payment statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching shopping order could not be found
SystemException
- if a system exception occurredShoppingOrder[] findByG_U_PPPS_PrevAndNext(long orderId, long groupId, long userId, String ppPaymentStatus, OrderByComparator orderByComparator) throws SystemException, NoSuchOrderException
orderId
- the primary key of the current shopping ordergroupId
- the group IDuserId
- the user IDppPaymentStatus
- the pp payment statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchOrderException
- if a shopping order with the primary key could not be found
SystemException
- if a system exception occurredList<ShoppingOrder> filterFindByG_U_PPPS(long groupId, long userId, String ppPaymentStatus) throws SystemException
groupId
- the group IDuserId
- the user IDppPaymentStatus
- the pp payment status
SystemException
- if a system exception occurredList<ShoppingOrder> filterFindByG_U_PPPS(long groupId, long userId, String ppPaymentStatus, int start, int end) throws SystemException
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 ShoppingOrderModelImpl
. 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 IDuserId
- the user IDppPaymentStatus
- the pp payment statusstart
- the lower bound of the range of shopping ordersend
- the upper bound of the range of shopping orders (not inclusive)
SystemException
- if a system exception occurredList<ShoppingOrder> filterFindByG_U_PPPS(long groupId, long userId, String ppPaymentStatus, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 ShoppingOrderModelImpl
. 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 IDuserId
- the user IDppPaymentStatus
- the pp payment statusstart
- the lower bound of the range of shopping ordersend
- the upper bound of the range of shopping orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredShoppingOrder[] filterFindByG_U_PPPS_PrevAndNext(long orderId, long groupId, long userId, String ppPaymentStatus, OrderByComparator orderByComparator) throws SystemException, NoSuchOrderException
orderId
- the primary key of the current shopping ordergroupId
- the group IDuserId
- the user IDppPaymentStatus
- the pp payment statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchOrderException
- if a shopping order with the primary key could not be found
SystemException
- if a system exception occurredvoid removeByG_U_PPPS(long groupId, long userId, String ppPaymentStatus) throws SystemException
groupId
- the group IDuserId
- the user IDppPaymentStatus
- the pp payment status
SystemException
- if a system exception occurredint countByG_U_PPPS(long groupId, long userId, String ppPaymentStatus) throws SystemException
groupId
- the group IDuserId
- the user IDppPaymentStatus
- the pp payment status
SystemException
- if a system exception occurredint filterCountByG_U_PPPS(long groupId, long userId, String ppPaymentStatus) throws SystemException
groupId
- the group IDuserId
- the user IDppPaymentStatus
- the pp payment status
SystemException
- if a system exception occurredvoid cacheResult(ShoppingOrder shoppingOrder)
shoppingOrder
- the shopping ordervoid cacheResult(List<ShoppingOrder> shoppingOrders)
shoppingOrders
- the shopping ordersShoppingOrder create(long orderId)
orderId
- the primary key for the new shopping order
ShoppingOrder remove(long orderId) throws SystemException, NoSuchOrderException
orderId
- the primary key of the shopping order
NoSuchOrderException
- if a shopping order with the primary key could not be found
SystemException
- if a system exception occurredShoppingOrder updateImpl(ShoppingOrder shoppingOrder) throws SystemException
SystemException
ShoppingOrder findByPrimaryKey(long orderId) throws SystemException, NoSuchOrderException
NoSuchOrderException
if it could not be found.
orderId
- the primary key of the shopping order
NoSuchOrderException
- if a shopping order with the primary key could not be found
SystemException
- if a system exception occurredShoppingOrder fetchByPrimaryKey(long orderId) throws SystemException
null
if it could not be found.
orderId
- the primary key of the shopping order
null
if a shopping order with the primary key could not be found
SystemException
- if a system exception occurredList<ShoppingOrder> findAll() throws SystemException
SystemException
- if a system exception occurredList<ShoppingOrder> findAll(int start, int end) throws SystemException
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 ShoppingOrderModelImpl
. 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 shopping ordersend
- the upper bound of the range of shopping orders (not inclusive)
SystemException
- if a system exception occurredList<ShoppingOrder> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
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 ShoppingOrderModelImpl
. 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 shopping ordersend
- the upper bound of the range of shopping orders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredvoid removeAll() throws SystemException
SystemException
- if a system exception occurredint countAll() throws SystemException
SystemException
- if a system exception occurred
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |