@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 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<ShoppingItem> obc) |
static int |
getItemsCount(long groupId,
long categoryId) |
static ShoppingItem[] |
getItemsPrevAndNext(long itemId,
OrderByComparator<ShoppingItem> 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 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
PortalExceptionpublic static void deleteItem(long itemId)
throws PortalException
PortalExceptionpublic static java.lang.String getBeanIdentifier()
public static int getCategoriesItemsCount(long groupId,
java.util.List<java.lang.Long> categoryIds)
public static ShoppingItem getItem(long itemId) throws PortalException
PortalExceptionpublic static java.util.List<ShoppingItem> getItems(long groupId, long categoryId)
public static java.util.List<ShoppingItem> getItems(long groupId, long categoryId, int start, int end, OrderByComparator<ShoppingItem> obc)
public static int getItemsCount(long groupId,
long categoryId)
public static ShoppingItem[] getItemsPrevAndNext(long itemId, OrderByComparator<ShoppingItem> obc) throws PortalException
PortalExceptionpublic static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic 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
PortalExceptionpublic static ShoppingItemService getService()
@Deprecated public void setService(ShoppingItemService service)