com.liferay.portlet.shopping.service
Class ShoppingItemServiceUtil
java.lang.Object
com.liferay.portlet.shopping.service.ShoppingItemServiceUtil
public class ShoppingItemServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
com.liferay.portlet.shopping.service.ShoppingItemService
bean. The static methods of this class calls the same methods of the bean
instance. It's convenient to be able to just write one line to call a method
on a bean instead of writing a lookup call and a method call.
- Author:
- Brian Wing Shun Chan
- See Also:
ShoppingItemService
Method Summary |
static void |
addBookItems(long categoryId,
java.lang.String[] isbns)
|
static 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,
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 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,
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 categoryId,
java.lang.String[] isbns)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addItem
public static 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,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteItem
public static void deleteItem(long itemId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getItem
public static ShoppingItem getItem(long itemId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateItem
public static 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,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getService
public static ShoppingItemService getService()
setService
public void setService(ShoppingItemService service)