com.liferay.portlet.shopping.service.persistence
Class ShoppingOrderUtil
java.lang.Object
com.liferay.portlet.shopping.service.persistence.ShoppingOrderUtil
public class ShoppingOrderUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
ShoppingOrderPersistence
,
ShoppingOrderPersistenceImpl
- Generated:
Method Summary |
static void |
cacheResult(java.util.List<ShoppingOrder> shoppingOrders)
|
static void |
cacheResult(ShoppingOrder shoppingOrder)
|
static void |
clearCache()
|
static int |
countAll()
|
static int |
countByG_U_PPPS(long groupId,
long userId,
java.lang.String ppPaymentStatus)
|
static int |
countByGroupId(long groupId)
|
static int |
countByNumber(java.lang.String number)
|
static int |
countByPPTxnId(java.lang.String ppTxnId)
|
static ShoppingOrder |
create(long orderId)
|
static ShoppingOrder |
fetchByNumber(java.lang.String number)
|
static ShoppingOrder |
fetchByNumber(java.lang.String number,
boolean retrieveFromCache)
|
static ShoppingOrder |
fetchByPPTxnId(java.lang.String ppTxnId)
|
static ShoppingOrder |
fetchByPPTxnId(java.lang.String ppTxnId,
boolean retrieveFromCache)
|
static ShoppingOrder |
fetchByPrimaryKey(long orderId)
|
static java.util.List<ShoppingOrder> |
findAll()
|
static java.util.List<ShoppingOrder> |
findAll(int start,
int end)
|
static java.util.List<ShoppingOrder> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ShoppingOrder |
findByG_U_PPPS_First(long groupId,
long userId,
java.lang.String ppPaymentStatus,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ShoppingOrder |
findByG_U_PPPS_Last(long groupId,
long userId,
java.lang.String ppPaymentStatus,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ShoppingOrder[] |
findByG_U_PPPS_PrevAndNext(long orderId,
long groupId,
long userId,
java.lang.String ppPaymentStatus,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<ShoppingOrder> |
findByG_U_PPPS(long groupId,
long userId,
java.lang.String ppPaymentStatus)
|
static java.util.List<ShoppingOrder> |
findByG_U_PPPS(long groupId,
long userId,
java.lang.String ppPaymentStatus,
int start,
int end)
|
static java.util.List<ShoppingOrder> |
findByG_U_PPPS(long groupId,
long userId,
java.lang.String ppPaymentStatus,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ShoppingOrder |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ShoppingOrder |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ShoppingOrder[] |
findByGroupId_PrevAndNext(long orderId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<ShoppingOrder> |
findByGroupId(long groupId)
|
static java.util.List<ShoppingOrder> |
findByGroupId(long groupId,
int start,
int end)
|
static java.util.List<ShoppingOrder> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ShoppingOrder |
findByNumber(java.lang.String number)
|
static ShoppingOrder |
findByPPTxnId(java.lang.String ppTxnId)
|
static ShoppingOrder |
findByPrimaryKey(long orderId)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static ShoppingOrderPersistence |
getPersistence()
|
static ShoppingOrder |
remove(long orderId)
|
static ShoppingOrder |
remove(ShoppingOrder shoppingOrder)
|
static void |
removeAll()
|
static void |
removeByG_U_PPPS(long groupId,
long userId,
java.lang.String ppPaymentStatus)
|
static void |
removeByGroupId(long groupId)
|
static void |
removeByNumber(java.lang.String number)
|
static void |
removeByPPTxnId(java.lang.String ppTxnId)
|
void |
setPersistence(ShoppingOrderPersistence persistence)
|
static ShoppingOrder |
update(ShoppingOrder shoppingOrder,
boolean merge)
|
static ShoppingOrder |
updateImpl(ShoppingOrder shoppingOrder,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShoppingOrderUtil
public ShoppingOrderUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static ShoppingOrder remove(ShoppingOrder shoppingOrder)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static ShoppingOrder update(ShoppingOrder shoppingOrder,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(ShoppingOrder shoppingOrder)
cacheResult
public static void cacheResult(java.util.List<ShoppingOrder> shoppingOrders)
create
public static ShoppingOrder create(long orderId)
remove
public static ShoppingOrder remove(long orderId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchOrderException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchOrderException
updateImpl
public static ShoppingOrder updateImpl(ShoppingOrder shoppingOrder,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByPrimaryKey
public static ShoppingOrder findByPrimaryKey(long orderId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchOrderException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchOrderException
fetchByPrimaryKey
public static ShoppingOrder fetchByPrimaryKey(long orderId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByGroupId
public static java.util.List<ShoppingOrder> findByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByGroupId
public static java.util.List<ShoppingOrder> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByGroupId
public static java.util.List<ShoppingOrder> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByGroupId_First
public static ShoppingOrder findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchOrderException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchOrderException
findByGroupId_Last
public static ShoppingOrder findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchOrderException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchOrderException
findByGroupId_PrevAndNext
public static ShoppingOrder[] findByGroupId_PrevAndNext(long orderId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchOrderException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchOrderException
findByNumber
public static ShoppingOrder findByNumber(java.lang.String number)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchOrderException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchOrderException
fetchByNumber
public static ShoppingOrder fetchByNumber(java.lang.String number)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByNumber
public static ShoppingOrder fetchByNumber(java.lang.String number,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByPPTxnId
public static ShoppingOrder findByPPTxnId(java.lang.String ppTxnId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchOrderException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchOrderException
fetchByPPTxnId
public static ShoppingOrder fetchByPPTxnId(java.lang.String ppTxnId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByPPTxnId
public static ShoppingOrder fetchByPPTxnId(java.lang.String ppTxnId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByG_U_PPPS
public static java.util.List<ShoppingOrder> findByG_U_PPPS(long groupId,
long userId,
java.lang.String ppPaymentStatus)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByG_U_PPPS
public static java.util.List<ShoppingOrder> findByG_U_PPPS(long groupId,
long userId,
java.lang.String ppPaymentStatus,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByG_U_PPPS
public static java.util.List<ShoppingOrder> findByG_U_PPPS(long groupId,
long userId,
java.lang.String ppPaymentStatus,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByG_U_PPPS_First
public static ShoppingOrder findByG_U_PPPS_First(long groupId,
long userId,
java.lang.String ppPaymentStatus,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchOrderException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchOrderException
findByG_U_PPPS_Last
public static ShoppingOrder findByG_U_PPPS_Last(long groupId,
long userId,
java.lang.String ppPaymentStatus,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchOrderException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchOrderException
findByG_U_PPPS_PrevAndNext
public static ShoppingOrder[] findByG_U_PPPS_PrevAndNext(long orderId,
long groupId,
long userId,
java.lang.String ppPaymentStatus,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchOrderException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchOrderException
findAll
public static java.util.List<ShoppingOrder> findAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<ShoppingOrder> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<ShoppingOrder> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByGroupId
public static void removeByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByNumber
public static void removeByNumber(java.lang.String number)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchOrderException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchOrderException
removeByPPTxnId
public static void removeByPPTxnId(java.lang.String ppTxnId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchOrderException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchOrderException
removeByG_U_PPPS
public static void removeByG_U_PPPS(long groupId,
long userId,
java.lang.String ppPaymentStatus)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByGroupId
public static int countByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByNumber
public static int countByNumber(java.lang.String number)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByPPTxnId
public static int countByPPTxnId(java.lang.String ppTxnId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByG_U_PPPS
public static int countByG_U_PPPS(long groupId,
long userId,
java.lang.String ppPaymentStatus)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countAll
public static int countAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getPersistence
public static ShoppingOrderPersistence getPersistence()
setPersistence
public void setPersistence(ShoppingOrderPersistence persistence)