com.liferay.portlet.shopping.service.impl
Class ShoppingItemServiceImpl
java.lang.Object
com.liferay.portal.service.impl.PrincipalBean
com.liferay.portlet.shopping.service.impl.ShoppingItemServiceImpl
- All Implemented Interfaces:
- com.liferay.portlet.shopping.service.ShoppingItemService
- public class ShoppingItemServiceImpl
- extends PrincipalBean
- implements com.liferay.portlet.shopping.service.ShoppingItemService
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
void |
addBookItems(long categoryId,
java.lang.String[] isbns)
|
com.liferay.portlet.shopping.model.ShoppingItem |
addItem(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 itemFields,
java.util.List itemPrices,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
com.liferay.portlet.shopping.model.ShoppingItem |
addItem(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 itemFields,
java.util.List itemPrices,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
deleteItem(long itemId)
|
com.liferay.portlet.shopping.model.ShoppingItem |
getItem(long itemId)
|
com.liferay.portlet.shopping.model.ShoppingItem |
updateItem(long itemId,
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 itemFields,
java.util.List itemPrices)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShoppingItemServiceImpl
public ShoppingItemServiceImpl()
addBookItems
public void addBookItems(long categoryId,
java.lang.String[] isbns)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addBookItems
in interface com.liferay.portlet.shopping.service.ShoppingItemService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addItem
public com.liferay.portlet.shopping.model.ShoppingItem addItem(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 itemFields,
java.util.List itemPrices,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addItem
in interface com.liferay.portlet.shopping.service.ShoppingItemService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addItem
public com.liferay.portlet.shopping.model.ShoppingItem addItem(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 itemFields,
java.util.List itemPrices,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addItem
in interface com.liferay.portlet.shopping.service.ShoppingItemService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteItem
public void deleteItem(long itemId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteItem
in interface com.liferay.portlet.shopping.service.ShoppingItemService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getItem
public com.liferay.portlet.shopping.model.ShoppingItem getItem(long itemId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getItem
in interface com.liferay.portlet.shopping.service.ShoppingItemService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateItem
public com.liferay.portlet.shopping.model.ShoppingItem updateItem(long itemId,
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 itemFields,
java.util.List itemPrices)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateItem
in interface com.liferay.portlet.shopping.service.ShoppingItemService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException