com.liferay.portlet.shopping.service
Interface ShoppingItemService


public interface ShoppingItemService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.shopping.service.impl.ShoppingItemServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

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:
ShoppingItemServiceFactory, ShoppingItemServiceUtil

Method Summary
 void addBookItems(long categoryId, java.lang.String[] isbns)
           
 ShoppingItem addItem(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, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 ShoppingItem addItem(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, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void deleteItem(long itemId)
           
 ShoppingItem getItem(long itemId)
           
 ShoppingItem updateItem(long itemId, 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)
           
 

Method Detail

addBookItems

void addBookItems(long categoryId,
                  java.lang.String[] isbns)
                  throws java.rmi.RemoteException,
                         com.liferay.portal.SystemException,
                         com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addItem

ShoppingItem addItem(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,
                     boolean addCommunityPermissions,
                     boolean addGuestPermissions)
                     throws java.rmi.RemoteException,
                            com.liferay.portal.SystemException,
                            com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addItem

ShoppingItem addItem(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,
                     java.lang.String[] communityPermissions,
                     java.lang.String[] guestPermissions)
                     throws java.rmi.RemoteException,
                            com.liferay.portal.SystemException,
                            com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteItem

void deleteItem(long itemId)
                throws java.rmi.RemoteException,
                       com.liferay.portal.SystemException,
                       com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getItem

ShoppingItem getItem(long itemId)
                     throws java.rmi.RemoteException,
                            com.liferay.portal.SystemException,
                            com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updateItem

ShoppingItem updateItem(long itemId,
                        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)
                        throws java.rmi.RemoteException,
                               com.liferay.portal.SystemException,
                               com.liferay.portal.PortalException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException