Liferay 7.0-ce-m6

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, resourceLocalService, shoppingCategoryLocalService, shoppingCategoryPersistence, shoppingCategoryService, shoppingItemFieldLocalService, shoppingItemFieldPersistence, shoppingItemFinder, shoppingItemLocalService, shoppingItemPersistence, shoppingItemPriceLocalService, shoppingItemPricePersistence, shoppingItemService, 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
 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<ShoppingItem> obc)
           
 int getItemsCount(long groupId, long categoryId)
           
 ShoppingItem[] getItemsPrevAndNext(long itemId, OrderByComparator<ShoppingItem> 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, getResourceLocalService, getShoppingCategoryLocalService, getShoppingCategoryPersistence, getShoppingCategoryService, getShoppingItemFieldLocalService, getShoppingItemFieldPersistence, getShoppingItemFinder, getShoppingItemLocalService, getShoppingItemPersistence, getShoppingItemPriceLocalService, getShoppingItemPricePersistence, getShoppingItemService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setCounterLocalService, setImageLocalService, setImagePersistence, setImageService, setResourceLocalService, setShoppingCategoryLocalService, setShoppingCategoryPersistence, setShoppingCategoryService, setShoppingItemFieldLocalService, setShoppingItemFieldPersistence, setShoppingItemFinder, setShoppingItemLocalService, setShoppingItemPersistence, setShoppingItemPriceLocalService, setShoppingItemPricePersistence, setShoppingItemService, 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

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
Throws:
PortalException

deleteItem

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

getCategoriesItemsCount

public int getCategoriesItemsCount(long groupId,
                                   List<Long> categoryIds)

getItem

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

getItems

public List<ShoppingItem> getItems(long groupId,
                                   long categoryId)

getItems

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

getItemsCount

public int getItemsCount(long groupId,
                         long categoryId)

getItemsPrevAndNext

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

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
Throws:
PortalException

Liferay 7.0-ce-m6