public class ShoppingItemServiceImpl extends ShoppingItemServiceBaseImpl
counterLocalService, imageLocalService, imagePersistence, imageService, resourceLocalService, 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| Constructor and Description |
|---|
ShoppingItemServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBookItems(long groupId,
long categoryId,
java.lang.String[] isbns) |
com.liferay.portlet.shopping.model.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<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
com.liferay.portal.service.ServiceContext serviceContext) |
void |
deleteItem(long itemId) |
int |
getCategoriesItemsCount(long groupId,
java.util.List<java.lang.Long> categoryIds) |
com.liferay.portlet.shopping.model.ShoppingItem |
getItem(long itemId) |
java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> |
getItems(long groupId,
long categoryId) |
java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> |
getItems(long groupId,
long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
int |
getItemsCount(long groupId,
long categoryId) |
com.liferay.portlet.shopping.model.ShoppingItem[] |
getItemsPrevAndNext(long itemId,
com.liferay.portal.kernel.util.OrderByComparator obc) |
com.liferay.portlet.shopping.model.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<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
com.liferay.portal.service.ServiceContext serviceContext) |
afterPropertiesSet, destroy, getBeanIdentifier, getCounterLocalService, getImageLocalService, getImagePersistence, getImageService, getModelClass, getModelClassName, getResourceLocalService, 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, setBeanIdentifier, setCounterLocalService, setImageLocalService, setImagePersistence, setImageService, setResourceLocalService, 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, setUserServicepublic void addBookItems(long groupId,
long categoryId,
java.lang.String[] isbns)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.shopping.model.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<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void deleteItem(long itemId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic int getCategoriesItemsCount(long groupId,
java.util.List<java.lang.Long> categoryIds)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.shopping.model.ShoppingItem getItem(long itemId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getItems(long groupId,
long categoryId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> getItems(long groupId,
long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getItemsCount(long groupId,
long categoryId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.shopping.model.ShoppingItem[] getItemsPrevAndNext(long itemId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.shopping.model.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<com.liferay.portlet.shopping.model.ShoppingItemField> itemFields,
java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> itemPrices,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException