Liferay 6.1.10-ee-ga1

com.liferay.portlet.shopping.service
Interface ShoppingItemService

All Known Implementing Classes:
ShoppingItemServiceBaseImpl, ShoppingItemServiceImpl, ShoppingItemServiceWrapper

@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface ShoppingItemService

The interface for the shopping item remote service.

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:
ShoppingItemServiceUtil, ShoppingItemServiceBaseImpl, ShoppingItemServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 void addBookItems(long groupId, long categoryId, String[] isbns)
           
 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)
           
 void deleteItem(long itemId)
           
 int getCategoriesItemsCount(long groupId, List<Long> categoryIds)
           
 ShoppingItem getItem(long itemId)
           
 List<ShoppingItem> getItems(long groupId, long categoryId)
           
 List<ShoppingItem> getItems(long groupId, long categoryId, int start, int end, OrderByComparator obc)
           
 int getItemsCount(long groupId, long categoryId)
           
 ShoppingItem[] getItemsPrevAndNext(long itemId, OrderByComparator obc)
           
 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)
           
 

Method Detail

addBookItems

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

addItem

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

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

getCategoriesItemsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getCategoriesItemsCount(long groupId,
                                                                     List<Long> categoryIds)
                            throws SystemException
Throws:
SystemException

getItem

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ShoppingItem getItem(long itemId)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

getItems

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<ShoppingItem> getItems(long groupId,
                                                                     long categoryId)
                            throws SystemException
Throws:
SystemException

getItems

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<ShoppingItem> getItems(long groupId,
                                                                     long categoryId,
                                                                     int start,
                                                                     int end,
                                                                     OrderByComparator obc)
                            throws SystemException
Throws:
SystemException

getItemsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getItemsCount(long groupId,
                                                           long categoryId)
                  throws SystemException
Throws:
SystemException

getItemsPrevAndNext

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ShoppingItem[] getItemsPrevAndNext(long itemId,
                                                                            OrderByComparator obc)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

updateItem

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

Liferay 6.1.10-ee-ga1