@ProviderType @AccessControlled @JSONWebService @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 |
|---|---|
void |
addBookItems(long groupId,
long categoryId,
java.lang.String[] isbns) |
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 obc) |
int |
getItemsCount(long groupId,
long categoryId) |
ShoppingItem[] |
getItemsPrevAndNext(long itemId,
OrderByComparator 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) |
java.lang.String getBeanIdentifier()
void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanvoid addBookItems(long groupId,
long categoryId,
java.lang.String[] isbns)
throws PortalException,
SystemException
PortalExceptionSystemExceptionShoppingItem 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, SystemException
PortalExceptionSystemExceptionvoid deleteItem(long itemId)
throws PortalException,
SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesItemsCount(long groupId, java.util.List<java.lang.Long> categoryIds) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) ShoppingItem getItem(long itemId) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<ShoppingItem> getItems(long groupId, long categoryId) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.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
PortalExceptionSystemExceptionShoppingItem 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, SystemException
PortalExceptionSystemException