@ProviderType
public class ShoppingItemServiceUtil
extends java.lang.Object
com.liferay.portlet.shopping.service.impl.ShoppingItemServiceImpl and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.ShoppingItemService,
com.liferay.portlet.shopping.service.base.ShoppingItemServiceBaseImpl,
com.liferay.portlet.shopping.service.impl.ShoppingItemServiceImpl| Constructor and Description |
|---|
ShoppingItemServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addBookItems(long groupId,
long categoryId,
java.lang.String[] isbns) |
static ShoppingItem |
addItem(long groupId,
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 java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
static int |
getCategoriesItemsCount(long groupId,
java.util.List<java.lang.Long> categoryIds) |
static ShoppingItem |
getItem(long itemId) |
static java.util.List<ShoppingItem> |
getItems(long groupId,
long categoryId) |
static java.util.List<ShoppingItem> |
getItems(long groupId,
long categoryId,
int start,
int end,
OrderByComparator obc) |
static int |
getItemsCount(long groupId,
long categoryId) |
static ShoppingItem[] |
getItemsPrevAndNext(long itemId,
OrderByComparator obc) |
static ShoppingItemService |
getService() |
static void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(ShoppingItemService service)
Deprecated.
As of 6.2.0
|
static ShoppingItem |
updateItem(long itemId,
long groupId,
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) |
public static java.lang.String getBeanIdentifier()
public static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static void addBookItems(long groupId,
long categoryId,
java.lang.String[] isbns)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static ShoppingItem addItem(long groupId, 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 PortalException, SystemException
PortalExceptionSystemExceptionpublic static void deleteItem(long itemId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static int getCategoriesItemsCount(long groupId,
java.util.List<java.lang.Long> categoryIds)
throws SystemException
SystemExceptionpublic static ShoppingItem getItem(long itemId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<ShoppingItem> getItems(long groupId, long categoryId) throws SystemException
SystemExceptionpublic static java.util.List<ShoppingItem> getItems(long groupId, long categoryId, int start, int end, OrderByComparator obc) throws SystemException
SystemExceptionpublic static int getItemsCount(long groupId,
long categoryId)
throws SystemException
SystemExceptionpublic static ShoppingItem[] getItemsPrevAndNext(long itemId, OrderByComparator obc) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static ShoppingItem updateItem(long itemId, long groupId, 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 PortalException, SystemException
PortalExceptionSystemExceptionpublic static ShoppingItemService getService()
public void setService(ShoppingItemService service)