Liferay 6.1.2-ce-ga3

com.liferay.portlet.shopping.service
Interface ShoppingItemService

All Superinterfaces:
BaseService
All Known Implementing Classes:
ShoppingItemServiceWrapper

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

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, com.liferay.portlet.shopping.service.base.ShoppingItemServiceBaseImpl, com.liferay.portlet.shopping.service.impl.ShoppingItemServiceImpl

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)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 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)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 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

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

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.2-ce-ga3