com.liferay.portlet.shopping.service.persistence
Interface ShoppingOrderItemPersistence

All Superinterfaces:
BasePersistence<ShoppingOrderItem>

public interface ShoppingOrderItemPersistence
extends BasePersistence<ShoppingOrderItem>

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

Method Summary
 void cacheResult(java.util.List<ShoppingOrderItem> shoppingOrderItems)
           
 void cacheResult(ShoppingOrderItem shoppingOrderItem)
           
 int countAll()
           
 int countByOrderId(long orderId)
           
 ShoppingOrderItem create(long orderItemId)
           
 ShoppingOrderItem fetchByPrimaryKey(long orderItemId)
           
 java.util.List<ShoppingOrderItem> findAll()
           
 java.util.List<ShoppingOrderItem> findAll(int start, int end)
           
 java.util.List<ShoppingOrderItem> findAll(int start, int end, OrderByComparator orderByComparator)
           
 ShoppingOrderItem findByOrderId_First(long orderId, OrderByComparator orderByComparator)
           
 ShoppingOrderItem findByOrderId_Last(long orderId, OrderByComparator orderByComparator)
           
 ShoppingOrderItem[] findByOrderId_PrevAndNext(long orderItemId, long orderId, OrderByComparator orderByComparator)
           
 java.util.List<ShoppingOrderItem> findByOrderId(long orderId)
           
 java.util.List<ShoppingOrderItem> findByOrderId(long orderId, int start, int end)
           
 java.util.List<ShoppingOrderItem> findByOrderId(long orderId, int start, int end, OrderByComparator orderByComparator)
           
 ShoppingOrderItem findByPrimaryKey(long orderItemId)
           
 ShoppingOrderItem remove(long orderItemId)
           
 void removeAll()
           
 void removeByOrderId(long orderId)
           
 ShoppingOrderItem updateImpl(ShoppingOrderItem shoppingOrderItem, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(ShoppingOrderItem shoppingOrderItem)

cacheResult

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

create

ShoppingOrderItem create(long orderItemId)

remove

ShoppingOrderItem remove(long orderItemId)
                         throws SystemException,
                                NoSuchOrderItemException
Throws:
SystemException
NoSuchOrderItemException

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

ShoppingOrderItem fetchByPrimaryKey(long orderItemId)
                                    throws SystemException
Throws:
SystemException

findByOrderId

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

findByOrderId

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

findByOrderId

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

findByOrderId_First

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

findByOrderId_Last

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

findByOrderId_PrevAndNext

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

findAll

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

findAll

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

findAll

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

removeByOrderId

void removeByOrderId(long orderId)
                     throws SystemException
Throws:
SystemException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByOrderId

int countByOrderId(long orderId)
                   throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException