Liferay 6.0.5

com.liferay.portlet.shopping.service
Interface ShoppingItemService

All Known Implementing Classes:
ShoppingItemServiceBaseImpl, ShoppingItemServiceImpl, ShoppingItemServiceWrapper

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

The interface for the shopping item remote service.

Never modify or reference this interface directly. Always use ShoppingItemServiceUtil to access the shopping item remote service. Add custom service methods to ShoppingItemServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

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 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)
           
 ShoppingItem getItem(long itemId)
           
 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

getItem

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ShoppingItem getItem(long itemId)
                     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.0.5