|
Liferay 6.0.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ShoppingOrderPersistence
The persistence interface for the shopping order service.
Never modify or reference this interface directly. Always use ShoppingOrderUtil to access the shopping order persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface.
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()
Counts all the shopping orders. |
int |
countByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus)
Counts all the shopping orders where groupId = ? and userId = ? and ppPaymentStatus = ?. |
int |
countByGroupId(long groupId)
Counts all the shopping orders where groupId = ?. |
int |
countByNumber(String number)
Counts all the shopping orders where number = ?. |
int |
countByPPTxnId(String ppTxnId)
Counts all the shopping orders where ppTxnId = ?. |
ShoppingOrder |
create(long orderId)
Creates a new shopping order with the primary key. |
ShoppingOrder |
fetchByNumber(String number)
Finds the shopping order where number = ? or returns null if it could not be found. |
ShoppingOrder |
fetchByNumber(String number,
boolean retrieveFromCache)
Finds the shopping order where number = ? or returns null if it could not be found, optionally using the finder cache. |
ShoppingOrder |
fetchByPPTxnId(String ppTxnId)
Finds the shopping order where ppTxnId = ? or returns null if it could not be found. |
ShoppingOrder |
fetchByPPTxnId(String ppTxnId,
boolean retrieveFromCache)
Finds the shopping order where ppTxnId = ? or returns null if it could not be found, optionally using the finder cache. |
ShoppingOrder |
fetchByPrimaryKey(long orderId)
Finds 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)
Filters by the user's permissions and counts all the shopping orders where groupId = ? and userId = ? and ppPaymentStatus = ?. |
int |
filterCountByGroupId(long groupId)
Filters by the user's permissions and counts all the shopping orders where groupId = ?. |
List<ShoppingOrder> |
filterFindByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus)
Filters by the user's permissions and finds all the shopping orders where groupId = ? and userId = ? and ppPaymentStatus = ?. |
List<ShoppingOrder> |
filterFindByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus,
int start,
int end)
Filters by the user's permissions and finds a range of all the shopping orders where groupId = ? and userId = ? and ppPaymentStatus = ?. |
List<ShoppingOrder> |
filterFindByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the shopping orders where groupId = ? and userId = ? and ppPaymentStatus = ?. |
List<ShoppingOrder> |
filterFindByGroupId(long groupId)
Filters by the user's permissions and finds all the shopping orders where groupId = ?. |
List<ShoppingOrder> |
filterFindByGroupId(long groupId,
int start,
int end)
Filters by the user's permissions and finds a range of all the shopping orders where groupId = ?. |
List<ShoppingOrder> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the shopping orders where groupId = ?. |
List<ShoppingOrder> |
findAll()
Finds all the shopping orders. |
List<ShoppingOrder> |
findAll(int start,
int end)
Finds a range of all the shopping orders. |
List<ShoppingOrder> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the shopping orders. |
ShoppingOrder |
findByG_U_PPPS_First(long groupId,
long userId,
String ppPaymentStatus,
OrderByComparator orderByComparator)
Finds 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)
Finds 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)
Finds 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)
Finds 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)
Finds 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)
Finds an ordered range of all the shopping orders where groupId = ? and userId = ? and ppPaymentStatus = ?. |
ShoppingOrder |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Finds the first shopping order in the ordered set where groupId = ?. |
ShoppingOrder |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Finds the last shopping order in the ordered set where groupId = ?. |
ShoppingOrder[] |
findByGroupId_PrevAndNext(long orderId,
long groupId,
OrderByComparator orderByComparator)
Finds the shopping orders before and after the current shopping order in the ordered set where groupId = ?. |
List<ShoppingOrder> |
findByGroupId(long groupId)
Finds all the shopping orders where groupId = ?. |
List<ShoppingOrder> |
findByGroupId(long groupId,
int start,
int end)
Finds a range of all the shopping orders where groupId = ?. |
List<ShoppingOrder> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the shopping orders where groupId = ?. |
ShoppingOrder |
findByNumber(String number)
Finds the shopping order where number = ? or throws a NoSuchOrderException if it could not be found. |
ShoppingOrder |
findByPPTxnId(String ppTxnId)
Finds the shopping order where ppTxnId = ? or throws a NoSuchOrderException if it could not be found. |
ShoppingOrder |
findByPrimaryKey(long orderId)
Finds 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. |
void |
removeByNumber(String number)
Removes the shopping order where number = ? from the database. |
void |
removeByPPTxnId(String ppTxnId)
Removes the shopping order where ppTxnId = ? from the database. |
ShoppingOrder |
updateImpl(ShoppingOrder shoppingOrder,
boolean merge)
|
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update, update |
| Method Detail |
|---|
void cacheResult(ShoppingOrder shoppingOrder)
shoppingOrder - the shopping order to cachevoid cacheResult(List<ShoppingOrder> shoppingOrders)
shoppingOrders - the shopping orders to cacheShoppingOrder 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 to remove
NoSuchOrderException - if a shopping order with the primary key could not be found
SystemException - if a system exception occurred
ShoppingOrder updateImpl(ShoppingOrder shoppingOrder,
boolean merge)
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 to find
NoSuchOrderException - if a shopping order with the primary key could not be found
SystemException - if a system exception occurred
ShoppingOrder fetchByPrimaryKey(long orderId)
throws SystemException
null if it could not be found.
orderId - the primary key of the shopping order to find
null if a shopping order with the primary key could not be found
SystemException - if a system exception occurred
List<ShoppingOrder> findByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
List<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.
groupId - the group id to search withstart - the lower bound of the range of shopping orders to returnend - the upper bound of the range of shopping orders to return (not inclusive)
SystemException - if a system exception occurred
List<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.
groupId - the group id to search withstart - the lower bound of the range of shopping orders to returnend - the upper bound of the range of shopping orders to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
ShoppingOrder findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchOrderException
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.
groupId - the group id to search withorderByComparator - the comparator to order the set by
NoSuchOrderException - if a matching shopping order could not be found
SystemException - if a system exception occurred
ShoppingOrder findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchOrderException
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.
groupId - the group id to search withorderByComparator - the comparator to order the set by
NoSuchOrderException - if a matching shopping order could not be found
SystemException - if a system exception occurred
ShoppingOrder[] findByGroupId_PrevAndNext(long orderId,
long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchOrderException
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.
orderId - the primary key of the current shopping ordergroupId - the group id to search withorderByComparator - the comparator to order the set by
NoSuchOrderException - if a shopping order with the primary key could not be found
SystemException - if a system exception occurred
List<ShoppingOrder> filterFindByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
List<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.
groupId - the group id to search withstart - the lower bound of the range of shopping orders to returnend - the upper bound of the range of shopping orders to return (not inclusive)
SystemException - if a system exception occurred
List<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.
groupId - the group id to search withstart - the lower bound of the range of shopping orders to returnend - the upper bound of the range of shopping orders to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
ShoppingOrder findByNumber(String number)
throws SystemException,
NoSuchOrderException
NoSuchOrderException if it could not be found.
number - the number to search with
NoSuchOrderException - if a matching shopping order could not be found
SystemException - if a system exception occurred
ShoppingOrder fetchByNumber(String number)
throws SystemException
null if it could not be found. Uses the finder cache.
number - the number to search with
null if a matching shopping order could not be found
SystemException - if a system exception occurred
ShoppingOrder fetchByNumber(String number,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
number - the number to search with
null if a matching shopping order could not be found
SystemException - if a system exception occurred
ShoppingOrder findByPPTxnId(String ppTxnId)
throws SystemException,
NoSuchOrderException
NoSuchOrderException if it could not be found.
ppTxnId - the pp txn id to search with
NoSuchOrderException - if a matching shopping order could not be found
SystemException - if a system exception occurred
ShoppingOrder fetchByPPTxnId(String ppTxnId)
throws SystemException
null if it could not be found. Uses the finder cache.
ppTxnId - the pp txn id to search with
null if a matching shopping order could not be found
SystemException - if a system exception occurred
ShoppingOrder fetchByPPTxnId(String ppTxnId,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
ppTxnId - the pp txn id to search with
null if a matching shopping order could not be found
SystemException - if a system exception occurred
List<ShoppingOrder> findByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus)
throws SystemException
groupId - the group id to search withuserId - the user id to search withppPaymentStatus - the pp payment status to search with
SystemException - if a system exception occurred
List<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.
groupId - the group id to search withuserId - the user id to search withppPaymentStatus - the pp payment status to search withstart - the lower bound of the range of shopping orders to returnend - the upper bound of the range of shopping orders to return (not inclusive)
SystemException - if a system exception occurred
List<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.
groupId - the group id to search withuserId - the user id to search withppPaymentStatus - the pp payment status to search withstart - the lower bound of the range of shopping orders to returnend - the upper bound of the range of shopping orders to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
ShoppingOrder findByG_U_PPPS_First(long groupId,
long userId,
String ppPaymentStatus,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchOrderException
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.
groupId - the group id to search withuserId - the user id to search withppPaymentStatus - the pp payment status to search withorderByComparator - the comparator to order the set by
NoSuchOrderException - if a matching shopping order could not be found
SystemException - if a system exception occurred
ShoppingOrder findByG_U_PPPS_Last(long groupId,
long userId,
String ppPaymentStatus,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchOrderException
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.
groupId - the group id to search withuserId - the user id to search withppPaymentStatus - the pp payment status to search withorderByComparator - the comparator to order the set by
NoSuchOrderException - if a matching shopping order could not be found
SystemException - if a system exception occurred
ShoppingOrder[] findByG_U_PPPS_PrevAndNext(long orderId,
long groupId,
long userId,
String ppPaymentStatus,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchOrderException
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.
orderId - the primary key of the current shopping ordergroupId - the group id to search withuserId - the user id to search withppPaymentStatus - the pp payment status to search withorderByComparator - the comparator to order the set by
NoSuchOrderException - if a shopping order with the primary key could not be found
SystemException - if a system exception occurred
List<ShoppingOrder> filterFindByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus)
throws SystemException
groupId - the group id to search withuserId - the user id to search withppPaymentStatus - the pp payment status to search with
SystemException - if a system exception occurred
List<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.
groupId - the group id to search withuserId - the user id to search withppPaymentStatus - the pp payment status to search withstart - the lower bound of the range of shopping orders to returnend - the upper bound of the range of shopping orders to return (not inclusive)
SystemException - if a system exception occurred
List<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.
groupId - the group id to search withuserId - the user id to search withppPaymentStatus - the pp payment status to search withstart - the lower bound of the range of shopping orders to returnend - the upper bound of the range of shopping orders to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
List<ShoppingOrder> findAll()
throws SystemException
SystemException - if a system exception occurred
List<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.
start - the lower bound of the range of shopping orders to returnend - the upper bound of the range of shopping orders to return (not inclusive)
SystemException - if a system exception occurred
List<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.
start - the lower bound of the range of shopping orders to returnend - the upper bound of the range of shopping orders to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
void removeByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
void removeByNumber(String number)
throws SystemException,
NoSuchOrderException
number - the number to search with
SystemException - if a system exception occurred
NoSuchOrderException
void removeByPPTxnId(String ppTxnId)
throws SystemException,
NoSuchOrderException
ppTxnId - the pp txn id to search with
SystemException - if a system exception occurred
NoSuchOrderException
void removeByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus)
throws SystemException
groupId - the group id to search withuserId - the user id to search withppPaymentStatus - the pp payment status to search with
SystemException - if a system exception occurred
void removeAll()
throws SystemException
SystemException - if a system exception occurred
int countByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
int filterCountByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
int countByNumber(String number)
throws SystemException
number - the number to search with
SystemException - if a system exception occurred
int countByPPTxnId(String ppTxnId)
throws SystemException
ppTxnId - the pp txn id to search with
SystemException - if a system exception occurred
int countByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus)
throws SystemException
groupId - the group id to search withuserId - the user id to search withppPaymentStatus - the pp payment status to search with
SystemException - if a system exception occurred
int filterCountByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus)
throws SystemException
groupId - the group id to search withuserId - the user id to search withppPaymentStatus - the pp payment status to search with
SystemException - if a system exception occurred
int countAll()
throws SystemException
SystemException - if a system exception occurred
|
Liferay 6.0.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||