@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface ShoppingItemService extends BaseService
ShoppingItemServiceUtil,
com.liferay.portlet.shopping.service.base.ShoppingItemServiceBaseImpl,
com.liferay.portlet.shopping.service.impl.ShoppingItemServiceImpl| Modifier and Type | Method and Description |
|---|---|
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) |
void |
deleteItem(long itemId) |
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
int |
getCategoriesItemsCount(long groupId,
java.util.List<java.lang.Long> categoryIds) |
ShoppingItem |
getItem(long itemId) |
java.util.List<ShoppingItem> |
getItems(long groupId,
long categoryId) |
java.util.List<ShoppingItem> |
getItems(long groupId,
long categoryId,
int start,
int end,
OrderByComparator<ShoppingItem> obc) |
int |
getItemsCount(long groupId,
long categoryId) |
ShoppingItem[] |
getItemsPrevAndNext(long itemId,
OrderByComparator<ShoppingItem> obc) |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
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) |
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
PortalExceptionvoid deleteItem(long itemId)
throws PortalException
PortalExceptionjava.lang.String getBeanIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesItemsCount(long groupId, java.util.List<java.lang.Long> categoryIds)
@Transactional(propagation=SUPPORTS, readOnly=true) ShoppingItem getItem(long itemId) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<ShoppingItem> getItems(long groupId, long categoryId)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<ShoppingItem> getItems(long groupId, long categoryId, int start, int end, OrderByComparator<ShoppingItem> obc)
@Transactional(propagation=SUPPORTS, readOnly=true) int getItemsCount(long groupId, long categoryId)
@Transactional(propagation=SUPPORTS, readOnly=true) ShoppingItem[] getItemsPrevAndNext(long itemId, OrderByComparator<ShoppingItem> obc) throws PortalException
PortalExceptionvoid setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanShoppingItem 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
PortalException