com.liferay.portlet.shopping.service.impl
Class ShoppingItemServiceImpl
java.lang.Object
com.liferay.portal.service.base.PrincipalBean
com.liferay.portlet.shopping.service.base.ShoppingItemServiceBaseImpl
com.liferay.portlet.shopping.service.impl.ShoppingItemServiceImpl
- All Implemented Interfaces:
- com.liferay.portlet.shopping.service.ShoppingItemService
public class ShoppingItemServiceImpl
- extends ShoppingItemServiceBaseImpl
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from class com.liferay.portlet.shopping.service.base.ShoppingItemServiceBaseImpl |
counterLocalService, counterService, imageLocalService, imagePersistence, resourceFinder, resourceLocalService, resourcePersistence, resourceService, shoppingCartLocalService, shoppingCartPersistence, shoppingCategoryLocalService, shoppingCategoryPersistence, shoppingCategoryService, shoppingCouponFinder, shoppingCouponLocalService, shoppingCouponPersistence, shoppingCouponService, shoppingItemFieldLocalService, shoppingItemFieldPersistence, shoppingItemFinder, shoppingItemLocalService, shoppingItemPersistence, shoppingItemPriceLocalService, shoppingItemPricePersistence, shoppingItemService, shoppingOrderFinder, shoppingOrderItemLocalService, shoppingOrderItemPersistence, shoppingOrderLocalService, shoppingOrderPersistence, shoppingOrderService, userFinder, userLocalService, userPersistence, userService |
Fields inherited from class com.liferay.portal.service.base.PrincipalBean |
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS |
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<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> 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<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> 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<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices)
|
Methods inherited from class com.liferay.portlet.shopping.service.base.ShoppingItemServiceBaseImpl |
getCounterLocalService, getCounterService, getImageLocalService, getImagePersistence, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getShoppingCartLocalService, getShoppingCartPersistence, getShoppingCategoryLocalService, getShoppingCategoryPersistence, getShoppingCategoryService, getShoppingCouponFinder, getShoppingCouponLocalService, getShoppingCouponPersistence, getShoppingCouponService, getShoppingItemFieldLocalService, getShoppingItemFieldPersistence, getShoppingItemFinder, getShoppingItemLocalService, getShoppingItemPersistence, getShoppingItemPriceLocalService, getShoppingItemPricePersistence, getShoppingItemService, getShoppingOrderFinder, getShoppingOrderItemLocalService, getShoppingOrderItemPersistence, getShoppingOrderLocalService, getShoppingOrderPersistence, getShoppingOrderService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setCounterLocalService, setCounterService, setImageLocalService, setImagePersistence, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setShoppingCartLocalService, setShoppingCartPersistence, setShoppingCategoryLocalService, setShoppingCategoryPersistence, setShoppingCategoryService, setShoppingCouponFinder, setShoppingCouponLocalService, setShoppingCouponPersistence, setShoppingCouponService, setShoppingItemFieldLocalService, setShoppingItemFieldPersistence, setShoppingItemFinder, setShoppingItemLocalService, setShoppingItemPersistence, setShoppingItemPriceLocalService, setShoppingItemPricePersistence, setShoppingItemService, setShoppingOrderFinder, setShoppingOrderItemLocalService, setShoppingOrderItemPersistence, setShoppingOrderLocalService, setShoppingOrderPersistence, setShoppingOrderService, setUserFinder, setUserLocalService, setUserPersistence, setUserService |
Methods inherited from class com.liferay.portal.service.base.PrincipalBean |
getGuestOrUserId, getPermissionChecker, getUser, getUserId |
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
- 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<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- 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<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteItem
public void deleteItem(long itemId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- 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
- 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<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException