Liferay 6.1.2-ce-ga3

com.liferay.portlet.shopping.service
Class ShoppingItemServiceUtil

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

public class ShoppingItemServiceUtil
extends Object

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

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.

See Also:
ShoppingItemService, ShoppingItemServiceBaseImpl, ShoppingItemServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
ShoppingItemServiceUtil()
           
 
Method Summary
static void addBookItems(long groupId, long categoryId, String[] isbns)
           
static ShoppingItem addItem(long groupId, long categoryId, String sku, String name, String description, String properties, String fieldsQuantities, boolean requiresShipping, int stockQuantity, boolean featured, Boolean sale, boolean smallImage, String smallImageURL, File smallFile, boolean mediumImage, String mediumImageURL, File mediumFile, boolean largeImage, String largeImageURL, File largeFile, List<ShoppingItemField> itemFields, List<ShoppingItemPrice> itemPrices, ServiceContext serviceContext)
           
static void deleteItem(long itemId)
           
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static int getCategoriesItemsCount(long groupId, List<Long> categoryIds)
           
static ShoppingItem getItem(long itemId)
           
static List<ShoppingItem> getItems(long groupId, long categoryId)
           
static List<ShoppingItem> getItems(long groupId, long categoryId, int start, int end, OrderByComparator obc)
           
static int getItemsCount(long groupId, long categoryId)
           
static ShoppingItem[] getItemsPrevAndNext(long itemId, OrderByComparator obc)
           
static ShoppingItemService getService()
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(ShoppingItemService service)
          Deprecated.  
static ShoppingItem updateItem(long itemId, long groupId, long categoryId, String sku, String name, String description, String properties, String fieldsQuantities, boolean requiresShipping, int stockQuantity, boolean featured, Boolean sale, boolean smallImage, String smallImageURL, File smallFile, boolean mediumImage, String mediumImageURL, File mediumFile, boolean largeImage, String largeImageURL, File largeFile, List<ShoppingItemField> itemFields, 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

getBeanIdentifier

public static String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

public static void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

addBookItems

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

addItem

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

deleteItem

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

getCategoriesItemsCount

public static int getCategoriesItemsCount(long groupId,
                                          List<Long> categoryIds)
                                   throws SystemException
Throws:
SystemException

getItem

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

getItems

public static List<ShoppingItem> getItems(long groupId,
                                          long categoryId)
                                   throws SystemException
Throws:
SystemException

getItems

public static List<ShoppingItem> getItems(long groupId,
                                          long categoryId,
                                          int start,
                                          int end,
                                          OrderByComparator obc)
                                   throws SystemException
Throws:
SystemException

getItemsCount

public static int getItemsCount(long groupId,
                                long categoryId)
                         throws SystemException
Throws:
SystemException

getItemsPrevAndNext

public static ShoppingItem[] getItemsPrevAndNext(long itemId,
                                                 OrderByComparator obc)
                                          throws PortalException,
                                                 SystemException
Throws:
PortalException
SystemException

updateItem

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

getService

public static ShoppingItemService getService()

setService

public void setService(ShoppingItemService service)
Deprecated. 


Liferay 6.1.2-ce-ga3