com.liferay.portlet.shopping.service
Interface ShoppingOrderItemLocalService


@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface ShoppingOrderItemLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.shopping.service.impl.ShoppingOrderItemLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
ShoppingOrderItemLocalServiceUtil

Method Summary
 ShoppingOrderItem addShoppingOrderItem(ShoppingOrderItem shoppingOrderItem)
           
 ShoppingOrderItem createShoppingOrderItem(long orderItemId)
           
 void deleteShoppingOrderItem(long orderItemId)
           
 void deleteShoppingOrderItem(ShoppingOrderItem shoppingOrderItem)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List<ShoppingOrderItem> getOrderItems(long orderId)
           
 ShoppingOrderItem getShoppingOrderItem(long orderItemId)
           
 java.util.List<ShoppingOrderItem> getShoppingOrderItems(int start, int end)
           
 int getShoppingOrderItemsCount()
           
 ShoppingOrderItem updateShoppingOrderItem(ShoppingOrderItem shoppingOrderItem)
           
 

Method Detail

addShoppingOrderItem

ShoppingOrderItem addShoppingOrderItem(ShoppingOrderItem shoppingOrderItem)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

createShoppingOrderItem

ShoppingOrderItem createShoppingOrderItem(long orderItemId)

deleteShoppingOrderItem

void deleteShoppingOrderItem(long orderItemId)
                             throws com.liferay.portal.SystemException,
                                    com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteShoppingOrderItem

void deleteShoppingOrderItem(ShoppingOrderItem shoppingOrderItem)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getShoppingOrderItem

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ShoppingOrderItem getShoppingOrderItem(long orderItemId)
                                       throws com.liferay.portal.SystemException,
                                              com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getShoppingOrderItems

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<ShoppingOrderItem> getShoppingOrderItems(int start,
                                                                      int end)
                                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getShoppingOrderItemsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getShoppingOrderItemsCount()
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateShoppingOrderItem

ShoppingOrderItem updateShoppingOrderItem(ShoppingOrderItem shoppingOrderItem)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getOrderItems

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<ShoppingOrderItem> getOrderItems(long orderId)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException