|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ProviderType @AccessControlled @JSONWebService @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface ShoppingItemService
Provides the remote service interface for ShoppingItem. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
ShoppingItemServiceUtil
,
com.liferay.portlet.shopping.service.base.ShoppingItemServiceBaseImpl
,
com.liferay.portlet.shopping.service.impl.ShoppingItemServiceImpl
Method Summary | |
---|---|
void |
addBookItems(long groupId,
long categoryId,
String[] isbns)
|
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)
|
void |
deleteItem(long itemId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
int |
getCategoriesItemsCount(long groupId,
List<Long> categoryIds)
|
ShoppingItem |
getItem(long itemId)
|
List<ShoppingItem> |
getItems(long groupId,
long categoryId)
|
List<ShoppingItem> |
getItems(long groupId,
long categoryId,
int start,
int end,
OrderByComparator obc)
|
int |
getItemsCount(long groupId,
long categoryId)
|
ShoppingItem[] |
getItemsPrevAndNext(long itemId,
OrderByComparator obc)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
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)
|
Method Detail |
---|
String getBeanIdentifier()
void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanvoid addBookItems(long groupId, long categoryId, String[] isbns) throws PortalException, SystemException
PortalException
SystemException
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
void deleteItem(long itemId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesItemsCount(long groupId, List<Long> categoryIds) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) ShoppingItem getItem(long itemId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<ShoppingItem> getItems(long groupId, long categoryId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<ShoppingItem> getItems(long groupId, long categoryId, int start, int end, OrderByComparator obc) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getItemsCount(long groupId, long categoryId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) ShoppingItem[] getItemsPrevAndNext(long itemId, OrderByComparator obc) throws PortalException, SystemException
PortalException
SystemException
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
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |