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

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

public class ShoppingOrderItemUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
ShoppingOrderItemUtil()
           
 
Method Summary
static int countAll()
           
static int countByOrderId(long orderId)
           
static ShoppingOrderItem create(long orderItemId)
           
static ShoppingOrderItem fetchByPrimaryKey(long orderItemId)
           
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 ShoppingOrderItem findByOrderId_First(long orderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static ShoppingOrderItem findByOrderId_Last(long orderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static ShoppingOrderItem[] findByOrderId_PrevAndNext(long orderItemId, long orderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List findByOrderId(long orderId)
           
static java.util.List findByOrderId(long orderId, int begin, int end)
           
static java.util.List findByOrderId(long orderId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static ShoppingOrderItem findByPrimaryKey(long orderItemId)
           
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 ShoppingOrderItemPersistence getPersistence()
           
static ShoppingOrderItem remove(long orderItemId)
           
static ShoppingOrderItem remove(ShoppingOrderItem shoppingOrderItem)
           
static void removeAll()
           
static void removeByOrderId(long orderId)
           
 void setPersistence(ShoppingOrderItemPersistence persistence)
           
static ShoppingOrderItem update(ShoppingOrderItem shoppingOrderItem)
           
static ShoppingOrderItem update(ShoppingOrderItem shoppingOrderItem, boolean merge)
           
static ShoppingOrderItem updateImpl(ShoppingOrderItem shoppingOrderItem, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShoppingOrderItemUtil

public ShoppingOrderItemUtil()
Method Detail

create

public static ShoppingOrderItem create(long orderItemId)

remove

public static ShoppingOrderItem remove(long orderItemId)
                                throws com.liferay.portal.SystemException,
                                       NoSuchOrderItemException
Throws:
com.liferay.portal.SystemException
NoSuchOrderItemException

remove

public static ShoppingOrderItem remove(ShoppingOrderItem shoppingOrderItem)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public static ShoppingOrderItem update(ShoppingOrderItem shoppingOrderItem)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public static ShoppingOrderItem update(ShoppingOrderItem shoppingOrderItem,
                                       boolean merge)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateImpl

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

findByPrimaryKey

public static ShoppingOrderItem findByPrimaryKey(long orderItemId)
                                          throws com.liferay.portal.SystemException,
                                                 NoSuchOrderItemException
Throws:
com.liferay.portal.SystemException
NoSuchOrderItemException

fetchByPrimaryKey

public static ShoppingOrderItem fetchByPrimaryKey(long orderItemId)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByOrderId

public static java.util.List findByOrderId(long orderId)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByOrderId

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

findByOrderId

public static java.util.List findByOrderId(long orderId,
                                           int begin,
                                           int end,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByOrderId_First

public static ShoppingOrderItem findByOrderId_First(long orderId,
                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.SystemException,
                                                    NoSuchOrderItemException
Throws:
com.liferay.portal.SystemException
NoSuchOrderItemException

findByOrderId_Last

public static ShoppingOrderItem findByOrderId_Last(long orderId,
                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                            throws com.liferay.portal.SystemException,
                                                   NoSuchOrderItemException
Throws:
com.liferay.portal.SystemException
NoSuchOrderItemException

findByOrderId_PrevAndNext

public static ShoppingOrderItem[] findByOrderId_PrevAndNext(long orderItemId,
                                                            long orderId,
                                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                                     throws com.liferay.portal.SystemException,
                                                            NoSuchOrderItemException
Throws:
com.liferay.portal.SystemException
NoSuchOrderItemException

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

removeByOrderId

public static void removeByOrderId(long orderId)
                            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

countByOrderId

public static int countByOrderId(long orderId)
                          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 ShoppingOrderItemPersistence getPersistence()

setPersistence

public void setPersistence(ShoppingOrderItemPersistence persistence)