com.liferay.portlet.shopping.service
Class ShoppingItemServiceUtil
java.lang.Object
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.
Never modify this class directly. Add custom service methods to ShoppingItemServiceImpl
and rerun ServiceBuilder to regenerate this class.
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 is generated.
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 ShoppingItem |
getItem(long itemId)
|
static ShoppingItemService |
getService()
|
void |
setService(ShoppingItemService service)
|
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 |
ShoppingItemServiceUtil
public ShoppingItemServiceUtil()
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
getItem
public static ShoppingItem getItem(long itemId)
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)