|
Liferay 6.2.0 | |||||||||
| 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 ShoppingItemServiceProvides 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 | |
|---|---|
abstract void |
addBookItems(long groupId,
long categoryId,
String[] isbns)
|
abstract 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)
|
abstract void |
deleteItem(long itemId)
|
abstract String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
abstract int |
getCategoriesItemsCount(long groupId,
List<Long> categoryIds)
|
abstract ShoppingItem |
getItem(long itemId)
|
abstract List<ShoppingItem> |
getItems(long groupId,
long categoryId)
|
abstract List<ShoppingItem> |
getItems(long groupId,
long categoryId,
int start,
int end,
OrderByComparator obc)
|
abstract int |
getItemsCount(long groupId,
long categoryId)
|
abstract ShoppingItem[] |
getItemsPrevAndNext(long itemId,
OrderByComparator obc)
|
abstract void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
abstract 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 bean
void 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.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||