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

All Known Implementing Classes:
ShoppingOrderItemPersistenceImpl

public interface ShoppingOrderItemPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByOrderId(long orderId)
           
 com.liferay.portlet.shopping.model.ShoppingOrderItem create(long orderItemId)
           
 com.liferay.portlet.shopping.model.ShoppingOrderItem fetchByPrimaryKey(long orderItemId)
           
 java.util.List findAll()
           
 java.util.List findAll(int begin, int end)
           
 java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.shopping.model.ShoppingOrderItem findByOrderId_First(long orderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.shopping.model.ShoppingOrderItem findByOrderId_Last(long orderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.shopping.model.ShoppingOrderItem[] findByOrderId_PrevAndNext(long orderItemId, long orderId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByOrderId(long orderId)
           
 java.util.List findByOrderId(long orderId, int begin, int end)
           
 java.util.List findByOrderId(long orderId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.shopping.model.ShoppingOrderItem findByPrimaryKey(long orderItemId)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 com.liferay.portlet.shopping.model.ShoppingOrderItem remove(long orderItemId)
           
 com.liferay.portlet.shopping.model.ShoppingOrderItem remove(com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem)
           
 void removeAll()
           
 void removeByOrderId(long orderId)
           
 com.liferay.portlet.shopping.model.ShoppingOrderItem update(com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem)
           
 com.liferay.portlet.shopping.model.ShoppingOrderItem update(com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem, boolean merge)
           
 

Method Detail

create

public com.liferay.portlet.shopping.model.ShoppingOrderItem create(long orderItemId)

remove

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

remove

public com.liferay.portlet.shopping.model.ShoppingOrderItem remove(com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem)
                                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.shopping.model.ShoppingOrderItem update(com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem)
                                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

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

findByPrimaryKey

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

fetchByPrimaryKey

public com.liferay.portlet.shopping.model.ShoppingOrderItem fetchByPrimaryKey(long orderItemId)
                                                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByOrderId

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

findByOrderId

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

findByOrderId

public 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 com.liferay.portlet.shopping.model.ShoppingOrderItem findByOrderId_First(long orderId,
                                                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                         throws com.liferay.portal.SystemException,
                                                                                com.liferay.portlet.shopping.NoSuchOrderItemException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.shopping.NoSuchOrderItemException

findByOrderId_Last

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

findByOrderId_PrevAndNext

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

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public 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 java.util.List findAll()
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public 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 void removeByOrderId(long orderId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

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

countByOrderId

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

countAll

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