Liferay 7.0-ce-m6

com.liferay.portlet.shopping.service
Class ShoppingItemServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.shopping.service.ShoppingItemServiceWrapper
All Implemented Interfaces:
BaseService, ServiceWrapper<ShoppingItemService>, ShoppingItemService

@ProviderType
public class ShoppingItemServiceWrapper
extends Object
implements ShoppingItemService, ServiceWrapper<ShoppingItemService>

Provides a wrapper for ShoppingItemService.

See Also:
ShoppingItemService

Constructor Summary
ShoppingItemServiceWrapper(ShoppingItemService shoppingItemService)
           
 
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)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 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)
           
 ShoppingItemService getWrappedService()
           
 ShoppingItemService getWrappedShoppingItemService()
          Deprecated. As of 6.1.0, replaced by getWrappedService()
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedService(ShoppingItemService shoppingItemService)
           
 void setWrappedShoppingItemService(ShoppingItemService shoppingItemService)
          Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.shopping.service.ShoppingItemService)
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShoppingItemServiceWrapper

public ShoppingItemServiceWrapper(ShoppingItemService shoppingItemService)
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
Specified by:
addItem in interface ShoppingItemService
Throws:
PortalException

deleteItem

public void deleteItem(long itemId)
                throws PortalException
Specified by:
deleteItem in interface ShoppingItemService
Throws:
PortalException

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface ShoppingItemService
Returns:
the Spring bean ID for this bean

getCategoriesItemsCount

public int getCategoriesItemsCount(long groupId,
                                   List<Long> categoryIds)
Specified by:
getCategoriesItemsCount in interface ShoppingItemService

getItem

public ShoppingItem getItem(long itemId)
                     throws PortalException
Specified by:
getItem in interface ShoppingItemService
Throws:
PortalException

getItems

public List<ShoppingItem> getItems(long groupId,
                                   long categoryId)
Specified by:
getItems in interface ShoppingItemService

getItems

public List<ShoppingItem> getItems(long groupId,
                                   long categoryId,
                                   int start,
                                   int end,
                                   OrderByComparator<ShoppingItem> obc)
Specified by:
getItems in interface ShoppingItemService

getItemsCount

public int getItemsCount(long groupId,
                         long categoryId)
Specified by:
getItemsCount in interface ShoppingItemService

getItemsPrevAndNext

public ShoppingItem[] getItemsPrevAndNext(long itemId,
                                          OrderByComparator<ShoppingItem> obc)
                                   throws PortalException
Specified by:
getItemsPrevAndNext in interface ShoppingItemService
Throws:
PortalException

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface ShoppingItemService
Parameters:
beanIdentifier - the Spring bean ID for this bean

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
Specified by:
updateItem in interface ShoppingItemService
Throws:
PortalException

getWrappedShoppingItemService

@Deprecated
public ShoppingItemService getWrappedShoppingItemService()
Deprecated. As of 6.1.0, replaced by getWrappedService()


setWrappedShoppingItemService

@Deprecated
public void setWrappedShoppingItemService(ShoppingItemService shoppingItemService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.shopping.service.ShoppingItemService)


getWrappedService

public ShoppingItemService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<ShoppingItemService>

setWrappedService

public void setWrappedService(ShoppingItemService shoppingItemService)
Specified by:
setWrappedService in interface ServiceWrapper<ShoppingItemService>

Liferay 7.0-ce-m6