Liferay 6.1.2-ce-ga3

com.liferay.portlet.shopping.service.impl
Class ShoppingItemServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseServiceImpl
      extended by com.liferay.portlet.shopping.service.base.ShoppingItemServiceBaseImpl
          extended by com.liferay.portlet.shopping.service.impl.ShoppingItemServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseService, ShoppingItemService

public class ShoppingItemServiceImpl
extends ShoppingItemServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.shopping.service.base.ShoppingItemServiceBaseImpl
counterLocalService, imageLocalService, imagePersistence, imageService, 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.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
ShoppingItemServiceImpl()
           
 
Method Summary
 void addBookItems(long groupId, long categoryId, String[] isbns)
           
 ShoppingItem addItem(long groupId, long categoryId, String sku, String name, String description, String properties, String fieldsQuantities, boolean requiresShipping, int stockQuantity, boolean featured, Boolean sale, boolean smallImage, String smallImageURL, File smallFile, boolean mediumImage, String mediumImageURL, File mediumFile, boolean largeImage, String largeImageURL, File largeFile, List<ShoppingItemField> itemFields, List<ShoppingItemPrice> itemPrices, ServiceContext serviceContext)
           
 void deleteItem(long itemId)
           
 int getCategoriesItemsCount(long groupId, List<Long> categoryIds)
           
 ShoppingItem getItem(long itemId)
           
 List<ShoppingItem> getItems(long groupId, long categoryId)
           
 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)
           
 ShoppingItem updateItem(long itemId, long groupId, long categoryId, String sku, String name, String description, String properties, String fieldsQuantities, boolean requiresShipping, int stockQuantity, boolean featured, Boolean sale, boolean smallImage, String smallImageURL, File smallFile, boolean mediumImage, String mediumImageURL, File mediumFile, boolean largeImage, String largeImageURL, File largeFile, List<ShoppingItemField> itemFields, List<ShoppingItemPrice> itemPrices, ServiceContext serviceContext)
           
 
Methods inherited from class com.liferay.portlet.shopping.service.base.ShoppingItemServiceBaseImpl
afterPropertiesSet, destroy, getBeanIdentifier, getCounterLocalService, getImageLocalService, getImagePersistence, getImageService, getModelClass, getModelClassName, 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, setBeanIdentifier, setCounterLocalService, setImageLocalService, setImagePersistence, setImageService, 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.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShoppingItemServiceImpl

public ShoppingItemServiceImpl()
Method Detail

addBookItems

public void addBookItems(long groupId,
                         long categoryId,
                         String[] isbns)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

addItem

public ShoppingItem addItem(long groupId,
                            long categoryId,
                            String sku,
                            String name,
                            String description,
                            String properties,
                            String fieldsQuantities,
                            boolean requiresShipping,
                            int stockQuantity,
                            boolean featured,
                            Boolean sale,
                            boolean smallImage,
                            String smallImageURL,
                            File smallFile,
                            boolean mediumImage,
                            String mediumImageURL,
                            File mediumFile,
                            boolean largeImage,
                            String largeImageURL,
                            File largeFile,
                            List<ShoppingItemField> itemFields,
                            List<ShoppingItemPrice> itemPrices,
                            ServiceContext serviceContext)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

deleteItem

public void deleteItem(long itemId)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

getCategoriesItemsCount

public int getCategoriesItemsCount(long groupId,
                                   List<Long> categoryIds)
                            throws SystemException
Throws:
SystemException

getItem

public ShoppingItem getItem(long itemId)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

getItems

public List<ShoppingItem> getItems(long groupId,
                                   long categoryId)
                            throws SystemException
Throws:
SystemException

getItems

public List<ShoppingItem> getItems(long groupId,
                                   long categoryId,
                                   int start,
                                   int end,
                                   OrderByComparator obc)
                            throws SystemException
Throws:
SystemException

getItemsCount

public int getItemsCount(long groupId,
                         long categoryId)
                  throws SystemException
Throws:
SystemException

getItemsPrevAndNext

public ShoppingItem[] getItemsPrevAndNext(long itemId,
                                          OrderByComparator obc)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

updateItem

public ShoppingItem updateItem(long itemId,
                               long groupId,
                               long categoryId,
                               String sku,
                               String name,
                               String description,
                               String properties,
                               String fieldsQuantities,
                               boolean requiresShipping,
                               int stockQuantity,
                               boolean featured,
                               Boolean sale,
                               boolean smallImage,
                               String smallImageURL,
                               File smallFile,
                               boolean mediumImage,
                               String mediumImageURL,
                               File mediumFile,
                               boolean largeImage,
                               String largeImageURL,
                               File largeFile,
                               List<ShoppingItemField> itemFields,
                               List<ShoppingItemPrice> itemPrices,
                               ServiceContext serviceContext)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

Liferay 6.1.2-ce-ga3