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, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ShoppingOrderItem findByOrderId_First(long orderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ShoppingOrderItem findByOrderId_Last(long orderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ShoppingOrderItem[] findByOrderId_PrevAndNext(long orderItemId, long orderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, 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 com.liferay.portal.kernel.exception.SystemException,
                                NoSuchOrderItemException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchOrderItemException

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByOrderId

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

findByOrderId

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

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

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

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

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

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

findAll

java.util.List<ShoppingOrderItem> findAll(int start,
                                          int end)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

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

void removeByOrderId(long orderId)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAll

void removeAll()
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByOrderId

int countByOrderId(long orderId)
                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countAll

int countAll()
             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException