com.liferay.portlet.shopping.service.persistence
Class ShoppingOrderUtil

java.lang.Object
  extended by 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:

Constructor Summary
ShoppingOrderUtil()
           
 
Method Summary
static void cacheResult(java.util.List<ShoppingOrder> shoppingOrders)
           
static void cacheResult(ShoppingOrder shoppingOrder)
           
static void clearCache()
           
static void clearCache(ShoppingOrder shoppingOrder)
           
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)
           
 int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
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 orderByComparator)
           
static ShoppingOrder findByG_U_PPPS_First(long groupId, long userId, java.lang.String ppPaymentStatus, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static ShoppingOrder findByG_U_PPPS_Last(long groupId, long userId, java.lang.String ppPaymentStatus, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static ShoppingOrder[] findByG_U_PPPS_PrevAndNext(long orderId, long groupId, long userId, java.lang.String ppPaymentStatus, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
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 orderByComparator)
           
static ShoppingOrder findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static ShoppingOrder findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static ShoppingOrder[] findByGroupId_PrevAndNext(long orderId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
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 orderByComparator)
           
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)
          Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean).
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
 

Constructor Detail

ShoppingOrderUtil

public ShoppingOrderUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(ShoppingOrder shoppingOrder)
See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(ShoppingOrder)

countWithDynamicQuery

public int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.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.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

public static ShoppingOrder remove(ShoppingOrder shoppingOrder)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static ShoppingOrder update(ShoppingOrder shoppingOrder,
                                   boolean merge)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.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.SystemException,
                                   NoSuchOrderException
Throws:
com.liferay.portal.SystemException
NoSuchOrderException

update

public static ShoppingOrder update(ShoppingOrder shoppingOrder)
                            throws com.liferay.portal.SystemException
Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

public static ShoppingOrder updateImpl(ShoppingOrder shoppingOrder,
                                       boolean merge)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public static ShoppingOrder findByPrimaryKey(long orderId)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchOrderException
Throws:
com.liferay.portal.SystemException
NoSuchOrderException

fetchByPrimaryKey

public static ShoppingOrder fetchByPrimaryKey(long orderId)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

public static java.util.List<ShoppingOrder> findByGroupId(long groupId)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

public static java.util.List<ShoppingOrder> findByGroupId(long groupId,
                                                          int start,
                                                          int end)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

public static java.util.List<ShoppingOrder> findByGroupId(long groupId,
                                                          int start,
                                                          int end,
                                                          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId_First

public static ShoppingOrder findByGroupId_First(long groupId,
                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                         throws com.liferay.portal.SystemException,
                                                NoSuchOrderException
Throws:
com.liferay.portal.SystemException
NoSuchOrderException

findByGroupId_Last

public static ShoppingOrder findByGroupId_Last(long groupId,
                                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                        throws com.liferay.portal.SystemException,
                                               NoSuchOrderException
Throws:
com.liferay.portal.SystemException
NoSuchOrderException

findByGroupId_PrevAndNext

public static ShoppingOrder[] findByGroupId_PrevAndNext(long orderId,
                                                        long groupId,
                                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                 throws com.liferay.portal.SystemException,
                                                        NoSuchOrderException
Throws:
com.liferay.portal.SystemException
NoSuchOrderException

findByNumber

public static ShoppingOrder findByNumber(java.lang.String number)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchOrderException
Throws:
com.liferay.portal.SystemException
NoSuchOrderException

fetchByNumber

public static ShoppingOrder fetchByNumber(java.lang.String number)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByNumber

public static ShoppingOrder fetchByNumber(java.lang.String number,
                                          boolean retrieveFromCache)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPPTxnId

public static ShoppingOrder findByPPTxnId(java.lang.String ppTxnId)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchOrderException
Throws:
com.liferay.portal.SystemException
NoSuchOrderException

fetchByPPTxnId

public static ShoppingOrder fetchByPPTxnId(java.lang.String ppTxnId)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByPPTxnId

public static ShoppingOrder fetchByPPTxnId(java.lang.String ppTxnId,
                                           boolean retrieveFromCache)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.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.SystemException
Throws:
com.liferay.portal.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.SystemException
Throws:
com.liferay.portal.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 orderByComparator)
                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.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 orderByComparator)
                                          throws com.liferay.portal.SystemException,
                                                 NoSuchOrderException
Throws:
com.liferay.portal.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 orderByComparator)
                                         throws com.liferay.portal.SystemException,
                                                NoSuchOrderException
Throws:
com.liferay.portal.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 orderByComparator)
                                                  throws com.liferay.portal.SystemException,
                                                         NoSuchOrderException
Throws:
com.liferay.portal.SystemException
NoSuchOrderException

findAll

public static java.util.List<ShoppingOrder> findAll()
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List<ShoppingOrder> findAll(int start,
                                                    int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List<ShoppingOrder> findAll(int start,
                                                    int end,
                                                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByGroupId

public static void removeByGroupId(long groupId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByNumber

public static void removeByNumber(java.lang.String number)
                           throws com.liferay.portal.SystemException,
                                  NoSuchOrderException
Throws:
com.liferay.portal.SystemException
NoSuchOrderException

removeByPPTxnId

public static void removeByPPTxnId(java.lang.String ppTxnId)
                            throws com.liferay.portal.SystemException,
                                   NoSuchOrderException
Throws:
com.liferay.portal.SystemException
NoSuchOrderException

removeByG_U_PPPS

public static void removeByG_U_PPPS(long groupId,
                                    long userId,
                                    java.lang.String ppPaymentStatus)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

public static void removeAll()
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByGroupId

public static int countByGroupId(long groupId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByNumber

public static int countByNumber(java.lang.String number)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByPPTxnId

public static int countByPPTxnId(java.lang.String ppTxnId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_U_PPPS

public static int countByG_U_PPPS(long groupId,
                                  long userId,
                                  java.lang.String ppPaymentStatus)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

public static int countAll()
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPersistence

public static ShoppingOrderPersistence getPersistence()

setPersistence

public void setPersistence(ShoppingOrderPersistence persistence)