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

java.lang.Object
  extended by com.liferay.portlet.shopping.service.persistence.ShoppingOrderItemUtil

public class ShoppingOrderItemUtil
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:
ShoppingOrderItemPersistence, ShoppingOrderItemPersistenceImpl
Generated:

Constructor Summary
ShoppingOrderItemUtil()
           
 
Method Summary
static void cacheResult(java.util.List<ShoppingOrderItem> shoppingOrderItems)
           
static void cacheResult(ShoppingOrderItem shoppingOrderItem)
           
static void clearCache()
           
static int countAll()
           
static int countByOrderId(long orderId)
           
static ShoppingOrderItem create(long orderItemId)
           
static ShoppingOrderItem fetchByPrimaryKey(long orderItemId)
           
static java.util.List<ShoppingOrderItem> findAll()
           
static java.util.List<ShoppingOrderItem> findAll(int start, int end)
           
static java.util.List<ShoppingOrderItem> findAll(int start, 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<ShoppingOrderItem> findByOrderId(long orderId)
           
static java.util.List<ShoppingOrderItem> findByOrderId(long orderId, int start, int end)
           
static java.util.List<ShoppingOrderItem> findByOrderId(long orderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static ShoppingOrderItem findByPrimaryKey(long orderItemId)
           
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 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, 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

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 ShoppingOrderItem remove(ShoppingOrderItem shoppingOrderItem)
                                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 ShoppingOrderItem update(ShoppingOrderItem shoppingOrderItem,
                                       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(ShoppingOrderItem shoppingOrderItem)

cacheResult

public static void cacheResult(java.util.List<ShoppingOrderItem> shoppingOrderItems)

create

public static ShoppingOrderItem create(long orderItemId)

remove

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

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByOrderId

public static java.util.List<ShoppingOrderItem> findByOrderId(long orderId)
                                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByOrderId

public static java.util.List<ShoppingOrderItem> findByOrderId(long orderId,
                                                              int start,
                                                              int end)
                                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByOrderId

public static java.util.List<ShoppingOrderItem> findByOrderId(long orderId,
                                                              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

findByOrderId_First

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

findByOrderId_Last

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

findByOrderId_PrevAndNext

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

findAll

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

findAll

public static java.util.List<ShoppingOrderItem> 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<ShoppingOrderItem> 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

removeByOrderId

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

countByOrderId

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

setPersistence

public void setPersistence(ShoppingOrderItemPersistence persistence)