com.liferay.portlet.shopping.service
Class ShoppingItemServiceUtil

java.lang.Object
  extended by com.liferay.portlet.shopping.service.ShoppingItemServiceUtil

public class ShoppingItemServiceUtil
extends java.lang.Object

The utility for the shopping item remote service. This utility wraps com.liferay.portlet.shopping.service.impl.ShoppingItemServiceImpl and is the primary access point for service operations in application layer code running on a remote server.

Never modify this class directly. Add custom service methods to com.liferay.portlet.shopping.service.impl.ShoppingItemServiceImpl and rerun ServiceBuilder to regenerate this class.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

Author:
Brian Wing Shun Chan
See Also:
ShoppingItemService, com.liferay.portlet.shopping.service.base.ShoppingItemServiceBaseImpl, com.liferay.portlet.shopping.service.impl.ShoppingItemServiceImpl
Generated:

Constructor Summary
ShoppingItemServiceUtil()
           
 
Method Summary
static void addBookItems(long groupId, long categoryId, java.lang.String[] isbns)
           
static ShoppingItem addItem(long groupId, long categoryId, java.lang.String sku, java.lang.String name, java.lang.String description, java.lang.String properties, java.lang.String fieldsQuantities, boolean requiresShipping, int stockQuantity, boolean featured, java.lang.Boolean sale, boolean smallImage, java.lang.String smallImageURL, java.io.File smallFile, boolean mediumImage, java.lang.String mediumImageURL, java.io.File mediumFile, boolean largeImage, java.lang.String largeImageURL, java.io.File largeFile, java.util.List<ShoppingItemField> itemFields, java.util.List<ShoppingItemPrice> itemPrices, ServiceContext serviceContext)
           
static void deleteItem(long itemId)
           
static ShoppingItem getItem(long itemId)
           
static ShoppingItemService getService()
           
 void setService(ShoppingItemService service)
           
static ShoppingItem updateItem(long itemId, long groupId, long categoryId, java.lang.String sku, java.lang.String name, java.lang.String description, java.lang.String properties, java.lang.String fieldsQuantities, boolean requiresShipping, int stockQuantity, boolean featured, java.lang.Boolean sale, boolean smallImage, java.lang.String smallImageURL, java.io.File smallFile, boolean mediumImage, java.lang.String mediumImageURL, java.io.File mediumFile, boolean largeImage, java.lang.String largeImageURL, java.io.File largeFile, java.util.List<ShoppingItemField> itemFields, java.util.List<ShoppingItemPrice> itemPrices, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShoppingItemServiceUtil

public ShoppingItemServiceUtil()
Method Detail

addBookItems

public static void addBookItems(long groupId,
                                long categoryId,
                                java.lang.String[] isbns)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

addItem

public static ShoppingItem addItem(long groupId,
                                   long categoryId,
                                   java.lang.String sku,
                                   java.lang.String name,
                                   java.lang.String description,
                                   java.lang.String properties,
                                   java.lang.String fieldsQuantities,
                                   boolean requiresShipping,
                                   int stockQuantity,
                                   boolean featured,
                                   java.lang.Boolean sale,
                                   boolean smallImage,
                                   java.lang.String smallImageURL,
                                   java.io.File smallFile,
                                   boolean mediumImage,
                                   java.lang.String mediumImageURL,
                                   java.io.File mediumFile,
                                   boolean largeImage,
                                   java.lang.String largeImageURL,
                                   java.io.File largeFile,
                                   java.util.List<ShoppingItemField> itemFields,
                                   java.util.List<ShoppingItemPrice> itemPrices,
                                   ServiceContext serviceContext)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

deleteItem

public static void deleteItem(long itemId)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getItem

public static ShoppingItem getItem(long itemId)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

updateItem

public static ShoppingItem updateItem(long itemId,
                                      long groupId,
                                      long categoryId,
                                      java.lang.String sku,
                                      java.lang.String name,
                                      java.lang.String description,
                                      java.lang.String properties,
                                      java.lang.String fieldsQuantities,
                                      boolean requiresShipping,
                                      int stockQuantity,
                                      boolean featured,
                                      java.lang.Boolean sale,
                                      boolean smallImage,
                                      java.lang.String smallImageURL,
                                      java.io.File smallFile,
                                      boolean mediumImage,
                                      java.lang.String mediumImageURL,
                                      java.io.File mediumFile,
                                      boolean largeImage,
                                      java.lang.String largeImageURL,
                                      java.io.File largeFile,
                                      java.util.List<ShoppingItemField> itemFields,
                                      java.util.List<ShoppingItemPrice> itemPrices,
                                      ServiceContext serviceContext)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

getService

public static ShoppingItemService getService()

setService

public void setService(ShoppingItemService service)