com.liferay.portlet.shopping.service
Class ShoppingItemLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.shopping.service.ShoppingItemLocalServiceWrapper
All Implemented Interfaces:
ShoppingItemLocalService

public class ShoppingItemLocalServiceWrapper
extends java.lang.Object
implements ShoppingItemLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for ShoppingItemLocalService.

Author:
Brian Wing Shun Chan
See Also:
ShoppingItemLocalService
Generated:

Constructor Summary
ShoppingItemLocalServiceWrapper(ShoppingItemLocalService shoppingItemLocalService)
           
 
Method Summary
 void addBookItems(long userId, long categoryId, java.lang.String[] isbns)
           
 ShoppingItem addItem(long userId, 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<ShoppingItemField> itemFields, java.util.List<ShoppingItemPrice> itemPrices, ServiceContext serviceContext)
           
 void addItemResources(long itemId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addItemResources(long itemId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addItemResources(ShoppingCategory category, ShoppingItem item, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addItemResources(ShoppingCategory category, ShoppingItem item, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 ShoppingItem addShoppingItem(ShoppingItem shoppingItem)
           
 ShoppingItem createShoppingItem(long itemId)
           
 void deleteItem(long itemId)
           
 void deleteItem(ShoppingItem item)
           
 void deleteItems(long categoryId)
           
 void deleteShoppingItem(long itemId)
           
 void deleteShoppingItem(ShoppingItem shoppingItem)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 int getCategoriesItemsCount(java.util.List<java.lang.Long> categoryIds)
           
 java.util.List<ShoppingItem> getFeaturedItems(long groupId, long categoryId, int numOfItems)
           
 ShoppingItem getItem(long itemId)
           
 ShoppingItem getItem(long companyId, java.lang.String sku)
           
 ShoppingItem getItemByLargeImageId(long largeImageId)
           
 ShoppingItem getItemByMediumImageId(long mediumImageId)
           
 ShoppingItem getItemBySmallImageId(long smallImageId)
           
 java.util.List<ShoppingItem> getItems(long categoryId)
           
 java.util.List<ShoppingItem> getItems(long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getItemsCount(long categoryId)
           
 ShoppingItem[] getItemsPrevAndNext(long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<ShoppingItem> getSaleItems(long groupId, long categoryId, int numOfItems)
           
 ShoppingItem getShoppingItem(long itemId)
           
 java.util.List<ShoppingItem> getShoppingItems(int start, int end)
           
 int getShoppingItemsCount()
           
 ShoppingItemLocalService getWrappedShoppingItemLocalService()
           
 java.util.List<ShoppingItem> search(long groupId, long[] categoryIds, java.lang.String keywords, int start, int end)
           
 int searchCount(long groupId, long[] categoryIds, java.lang.String keywords)
           
 ShoppingItem updateItem(long userId, 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<ShoppingItemField> itemFields, java.util.List<ShoppingItemPrice> itemPrices, ServiceContext serviceContext)
           
 ShoppingItem updateShoppingItem(ShoppingItem shoppingItem)
           
 ShoppingItem updateShoppingItem(ShoppingItem shoppingItem, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShoppingItemLocalServiceWrapper

public ShoppingItemLocalServiceWrapper(ShoppingItemLocalService shoppingItemLocalService)
Method Detail

addShoppingItem

public ShoppingItem addShoppingItem(ShoppingItem shoppingItem)
                             throws com.liferay.portal.SystemException
Specified by:
addShoppingItem in interface ShoppingItemLocalService
Throws:
com.liferay.portal.SystemException

createShoppingItem

public ShoppingItem createShoppingItem(long itemId)
Specified by:
createShoppingItem in interface ShoppingItemLocalService

deleteShoppingItem

public void deleteShoppingItem(long itemId)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Specified by:
deleteShoppingItem in interface ShoppingItemLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteShoppingItem

public void deleteShoppingItem(ShoppingItem shoppingItem)
                        throws com.liferay.portal.SystemException
Specified by:
deleteShoppingItem in interface ShoppingItemLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface ShoppingItemLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface ShoppingItemLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface ShoppingItemLocalService
Throws:
com.liferay.portal.SystemException

dynamicQueryCount

public int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                      throws com.liferay.portal.SystemException
Specified by:
dynamicQueryCount in interface ShoppingItemLocalService
Throws:
com.liferay.portal.SystemException

getShoppingItem

public ShoppingItem getShoppingItem(long itemId)
                             throws com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException
Specified by:
getShoppingItem in interface ShoppingItemLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getShoppingItems

public java.util.List<ShoppingItem> getShoppingItems(int start,
                                                     int end)
                                              throws com.liferay.portal.SystemException
Specified by:
getShoppingItems in interface ShoppingItemLocalService
Throws:
com.liferay.portal.SystemException

getShoppingItemsCount

public int getShoppingItemsCount()
                          throws com.liferay.portal.SystemException
Specified by:
getShoppingItemsCount in interface ShoppingItemLocalService
Throws:
com.liferay.portal.SystemException

updateShoppingItem

public ShoppingItem updateShoppingItem(ShoppingItem shoppingItem)
                                throws com.liferay.portal.SystemException
Specified by:
updateShoppingItem in interface ShoppingItemLocalService
Throws:
com.liferay.portal.SystemException

updateShoppingItem

public ShoppingItem updateShoppingItem(ShoppingItem shoppingItem,
                                       boolean merge)
                                throws com.liferay.portal.SystemException
Specified by:
updateShoppingItem in interface ShoppingItemLocalService
Throws:
com.liferay.portal.SystemException

addBookItems

public void addBookItems(long userId,
                         long categoryId,
                         java.lang.String[] isbns)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Specified by:
addBookItems in interface ShoppingItemLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addItem

public ShoppingItem addItem(long userId,
                            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<ShoppingItemField> itemFields,
                            java.util.List<ShoppingItemPrice> itemPrices,
                            ServiceContext serviceContext)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Specified by:
addItem in interface ShoppingItemLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addItemResources

public void addItemResources(long itemId,
                             boolean addCommunityPermissions,
                             boolean addGuestPermissions)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Specified by:
addItemResources in interface ShoppingItemLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addItemResources

public void addItemResources(long itemId,
                             java.lang.String[] communityPermissions,
                             java.lang.String[] guestPermissions)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Specified by:
addItemResources in interface ShoppingItemLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addItemResources

public void addItemResources(ShoppingCategory category,
                             ShoppingItem item,
                             boolean addCommunityPermissions,
                             boolean addGuestPermissions)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Specified by:
addItemResources in interface ShoppingItemLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addItemResources

public void addItemResources(ShoppingCategory category,
                             ShoppingItem item,
                             java.lang.String[] communityPermissions,
                             java.lang.String[] guestPermissions)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Specified by:
addItemResources in interface ShoppingItemLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteItem

public void deleteItem(long itemId)
                throws com.liferay.portal.PortalException,
                       com.liferay.portal.SystemException
Specified by:
deleteItem in interface ShoppingItemLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteItem

public void deleteItem(ShoppingItem item)
                throws com.liferay.portal.PortalException,
                       com.liferay.portal.SystemException
Specified by:
deleteItem in interface ShoppingItemLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteItems

public void deleteItems(long categoryId)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Specified by:
deleteItems in interface ShoppingItemLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getCategoriesItemsCount

public int getCategoriesItemsCount(java.util.List<java.lang.Long> categoryIds)
                            throws com.liferay.portal.SystemException
Specified by:
getCategoriesItemsCount in interface ShoppingItemLocalService
Throws:
com.liferay.portal.SystemException

getFeaturedItems

public java.util.List<ShoppingItem> getFeaturedItems(long groupId,
                                                     long categoryId,
                                                     int numOfItems)
                                              throws com.liferay.portal.SystemException
Specified by:
getFeaturedItems in interface ShoppingItemLocalService
Throws:
com.liferay.portal.SystemException

getItem

public ShoppingItem getItem(long itemId)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Specified by:
getItem in interface ShoppingItemLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getItem

public ShoppingItem getItem(long companyId,
                            java.lang.String sku)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Specified by:
getItem in interface ShoppingItemLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getItemByLargeImageId

public ShoppingItem getItemByLargeImageId(long largeImageId)
                                   throws com.liferay.portal.PortalException,
                                          com.liferay.portal.SystemException
Specified by:
getItemByLargeImageId in interface ShoppingItemLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getItemByMediumImageId

public ShoppingItem getItemByMediumImageId(long mediumImageId)
                                    throws com.liferay.portal.PortalException,
                                           com.liferay.portal.SystemException
Specified by:
getItemByMediumImageId in interface ShoppingItemLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getItemBySmallImageId

public ShoppingItem getItemBySmallImageId(long smallImageId)
                                   throws com.liferay.portal.PortalException,
                                          com.liferay.portal.SystemException
Specified by:
getItemBySmallImageId in interface ShoppingItemLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getItems

public java.util.List<ShoppingItem> getItems(long categoryId)
                                      throws com.liferay.portal.SystemException
Specified by:
getItems in interface ShoppingItemLocalService
Throws:
com.liferay.portal.SystemException

getItems

public java.util.List<ShoppingItem> getItems(long categoryId,
                                             int start,
                                             int end,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws com.liferay.portal.SystemException
Specified by:
getItems in interface ShoppingItemLocalService
Throws:
com.liferay.portal.SystemException

getItemsCount

public int getItemsCount(long categoryId)
                  throws com.liferay.portal.SystemException
Specified by:
getItemsCount in interface ShoppingItemLocalService
Throws:
com.liferay.portal.SystemException

getItemsPrevAndNext

public ShoppingItem[] getItemsPrevAndNext(long itemId,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.PortalException,
                                          com.liferay.portal.SystemException
Specified by:
getItemsPrevAndNext in interface ShoppingItemLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getSaleItems

public java.util.List<ShoppingItem> getSaleItems(long groupId,
                                                 long categoryId,
                                                 int numOfItems)
                                          throws com.liferay.portal.SystemException
Specified by:
getSaleItems in interface ShoppingItemLocalService
Throws:
com.liferay.portal.SystemException

search

public java.util.List<ShoppingItem> search(long groupId,
                                           long[] categoryIds,
                                           java.lang.String keywords,
                                           int start,
                                           int end)
                                    throws com.liferay.portal.SystemException
Specified by:
search in interface ShoppingItemLocalService
Throws:
com.liferay.portal.SystemException

searchCount

public int searchCount(long groupId,
                       long[] categoryIds,
                       java.lang.String keywords)
                throws com.liferay.portal.SystemException
Specified by:
searchCount in interface ShoppingItemLocalService
Throws:
com.liferay.portal.SystemException

updateItem

public ShoppingItem updateItem(long userId,
                               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<ShoppingItemField> itemFields,
                               java.util.List<ShoppingItemPrice> itemPrices,
                               ServiceContext serviceContext)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Specified by:
updateItem in interface ShoppingItemLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getWrappedShoppingItemLocalService

public ShoppingItemLocalService getWrappedShoppingItemLocalService()