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 void clearCache(ShoppingOrderItem shoppingOrderItem)
           
static int countAll()
           
static int countByOrderId(long orderId)
           
 long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
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, OrderByComparator orderByComparator)
           
static ShoppingOrderItem findByOrderId_First(long orderId, OrderByComparator orderByComparator)
           
static ShoppingOrderItem findByOrderId_Last(long orderId, OrderByComparator orderByComparator)
           
static ShoppingOrderItem[] findByOrderId_PrevAndNext(long orderItemId, long orderId, OrderByComparator orderByComparator)
           
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, OrderByComparator orderByComparator)
           
static ShoppingOrderItem findByPrimaryKey(long orderItemId)
           
static java.util.List<ShoppingOrderItem> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static java.util.List<ShoppingOrderItem> findWithDynamicQuery(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()

clearCache

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

countWithDynamicQuery

public long countWithDynamicQuery(DynamicQuery dynamicQuery)
                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<ShoppingOrderItem> findWithDynamicQuery(DynamicQuery dynamicQuery)
                                                              throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<ShoppingOrderItem> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                                     int start,
                                                                     int end)
                                                              throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

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

update

public static ShoppingOrderItem update(ShoppingOrderItem shoppingOrderItem,
                                       boolean merge)
                                throws SystemException
Throws:
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 SystemException,
                                       NoSuchOrderItemException
Throws:
SystemException
NoSuchOrderItemException

updateImpl

public static ShoppingOrderItem updateImpl(ShoppingOrderItem shoppingOrderItem,
                                           boolean merge)
                                    throws SystemException
Throws:
SystemException

findByPrimaryKey

public static ShoppingOrderItem findByPrimaryKey(long orderItemId)
                                          throws SystemException,
                                                 NoSuchOrderItemException
Throws:
SystemException
NoSuchOrderItemException

fetchByPrimaryKey

public static ShoppingOrderItem fetchByPrimaryKey(long orderItemId)
                                           throws SystemException
Throws:
SystemException

findByOrderId

public static java.util.List<ShoppingOrderItem> findByOrderId(long orderId)
                                                       throws SystemException
Throws:
SystemException

findByOrderId

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

findByOrderId

public static java.util.List<ShoppingOrderItem> findByOrderId(long orderId,
                                                              int start,
                                                              int end,
                                                              OrderByComparator orderByComparator)
                                                       throws SystemException
Throws:
SystemException

findByOrderId_First

public static ShoppingOrderItem findByOrderId_First(long orderId,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException,
                                                    NoSuchOrderItemException
Throws:
SystemException
NoSuchOrderItemException

findByOrderId_Last

public static ShoppingOrderItem findByOrderId_Last(long orderId,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   NoSuchOrderItemException
Throws:
SystemException
NoSuchOrderItemException

findByOrderId_PrevAndNext

public static ShoppingOrderItem[] findByOrderId_PrevAndNext(long orderItemId,
                                                            long orderId,
                                                            OrderByComparator orderByComparator)
                                                     throws SystemException,
                                                            NoSuchOrderItemException
Throws:
SystemException
NoSuchOrderItemException

findAll

public static java.util.List<ShoppingOrderItem> findAll()
                                                 throws SystemException
Throws:
SystemException

findAll

public static java.util.List<ShoppingOrderItem> findAll(int start,
                                                        int end)
                                                 throws SystemException
Throws:
SystemException

findAll

public static java.util.List<ShoppingOrderItem> findAll(int start,
                                                        int end,
                                                        OrderByComparator orderByComparator)
                                                 throws SystemException
Throws:
SystemException

removeByOrderId

public static void removeByOrderId(long orderId)
                            throws SystemException
Throws:
SystemException

removeAll

public static void removeAll()
                      throws SystemException
Throws:
SystemException

countByOrderId

public static int countByOrderId(long orderId)
                          throws SystemException
Throws:
SystemException

countAll

public static int countAll()
                    throws SystemException
Throws:
SystemException

getPersistence

public static ShoppingOrderItemPersistence getPersistence()

setPersistence

public void setPersistence(ShoppingOrderItemPersistence persistence)