|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.shopping.service.ShoppingItemServiceUtil
@ProviderType public class ShoppingItemServiceUtil
Provides the remote service utility for ShoppingItem. This utility wraps
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 Summary | |
---|---|
ShoppingItemServiceUtil()
|
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 String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
static int |
getCategoriesItemsCount(long groupId,
List<Long> categoryIds)
|
static ShoppingItem |
getItem(long itemId)
|
static List<ShoppingItem> |
getItems(long groupId,
long categoryId)
|
static 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(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,
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 |
Constructor Detail |
---|
public ShoppingItemServiceUtil()
Method Detail |
---|
public static String getBeanIdentifier()
public static void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanpublic static void addBookItems(long groupId, long categoryId, String[] isbns) throws PortalException, SystemException
PortalException
SystemException
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
PortalException
SystemException
public static void deleteItem(long itemId) throws PortalException, SystemException
PortalException
SystemException
public static int getCategoriesItemsCount(long groupId, List<Long> categoryIds) throws SystemException
SystemException
public static ShoppingItem getItem(long itemId) throws PortalException, SystemException
PortalException
SystemException
public static List<ShoppingItem> getItems(long groupId, long categoryId) throws SystemException
SystemException
public static List<ShoppingItem> getItems(long groupId, long categoryId, int start, int end, OrderByComparator obc) throws SystemException
SystemException
public static int getItemsCount(long groupId, long categoryId) throws SystemException
SystemException
public static ShoppingItem[] getItemsPrevAndNext(long itemId, OrderByComparator obc) throws PortalException, SystemException
PortalException
SystemException
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
PortalException
SystemException
public static ShoppingItemService getService()
public void setService(ShoppingItemService service)
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |