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

java.lang.Object
  extended bycom.liferay.portlet.shopping.service.persistence.ShoppingOrderUtil

public class ShoppingOrderUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
ShoppingOrderUtil()
           
 
Method Summary
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 ShoppingOrder create(long orderId)
           
static ShoppingOrder fetchByNumber(java.lang.String number)
           
static ShoppingOrder fetchByPrimaryKey(long orderId)
           
static java.util.List findAll()
           
static java.util.List findAll(int begin, int end)
           
static java.util.List findAll(int begin, 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 findByG_U_PPPS(long groupId, long userId, java.lang.String ppPaymentStatus)
           
static java.util.List findByG_U_PPPS(long groupId, long userId, java.lang.String ppPaymentStatus, int begin, int end)
           
static java.util.List findByG_U_PPPS(long groupId, long userId, java.lang.String ppPaymentStatus, int begin, 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 findByGroupId(long groupId)
           
static java.util.List findByGroupId(long groupId, int begin, int end)
           
static java.util.List findByGroupId(long groupId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static ShoppingOrder findByNumber(java.lang.String number)
           
static ShoppingOrder findByPrimaryKey(long orderId)
           
static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, 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)
           
 void setPersistence(ShoppingOrderPersistence persistence)
           
static ShoppingOrder update(ShoppingOrder shoppingOrder)
           
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

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

remove

public static ShoppingOrder remove(ShoppingOrder shoppingOrder)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public static ShoppingOrder update(ShoppingOrder shoppingOrder)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

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

findByGroupId

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

findByGroupId

public static java.util.List findByGroupId(long groupId,
                                           int begin,
                                           int end,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                    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 obc)
                                         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 obc)
                                        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 obc)
                                                 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

findByG_U_PPPS

public static java.util.List 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 findByG_U_PPPS(long groupId,
                                            long userId,
                                            java.lang.String ppPaymentStatus,
                                            int begin,
                                            int end)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_U_PPPS

public static java.util.List findByG_U_PPPS(long groupId,
                                            long userId,
                                            java.lang.String ppPaymentStatus,
                                            int begin,
                                            int end,
                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                     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 obc)
                                          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 obc)
                                         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 obc)
                                                  throws com.liferay.portal.SystemException,
                                                         NoSuchOrderException
Throws:
com.liferay.portal.SystemException
NoSuchOrderException

findWithDynamicQuery

public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                                  int begin,
                                                  int end)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

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

findAll

public static java.util.List findAll(int begin,
                                     int end)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List findAll(int begin,
                                     int end,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                              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

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

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)