@ProviderType
public class ShoppingItemServiceUtil
extends java.lang.Object
com.liferay.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.shopping.service.base.ShoppingItemServiceBaseImpl,
com.liferay.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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteItem(long itemId) |
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,
com.liferay.portal.kernel.util.OrderByComparator<ShoppingItem> obc) |
static int |
getItemsCount(long groupId,
long categoryId) |
static ShoppingItem[] |
getItemsPrevAndNext(long itemId,
com.liferay.portal.kernel.util.OrderByComparator<ShoppingItem> obc) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static ShoppingItemService |
getService() |
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,
com.liferay.portal.kernel.service.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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static ShoppingItem getItem(long itemId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic 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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static ShoppingItem[] getItemsPrevAndNext(long itemId, com.liferay.portal.kernel.util.OrderByComparator<ShoppingItem> obc) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getCategoriesItemsCount(long groupId,
java.util.List<java.lang.Long> categoryIds)
public static int getItemsCount(long groupId,
long categoryId)
public static java.lang.String getOSGiServiceIdentifier()
public 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, com.liferay.portal.kernel.util.OrderByComparator<ShoppingItem> obc)
public static void deleteItem(long itemId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static ShoppingItemService getService()