com.liferay.portlet.shopping.service
Class ShoppingItemLocalServiceWrapper
java.lang.Object
com.liferay.portlet.shopping.service.ShoppingItemLocalServiceWrapper
- All Implemented Interfaces:
- ShoppingItemLocalService
public class ShoppingItemLocalServiceWrapper
- extends Object
- implements ShoppingItemLocalService
This class is a wrapper for ShoppingItemLocalService.
- See Also:
ShoppingItemLocalService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
void |
addBookItems(long userId,
long groupId,
long categoryId,
String[] isbns)
|
ShoppingItem |
addItem(long userId,
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 |
addItemResources(long itemId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addItemResources(long itemId,
String[] communityPermissions,
String[] guestPermissions)
|
void |
addItemResources(ShoppingItem item,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addItemResources(ShoppingItem item,
String[] communityPermissions,
String[] guestPermissions)
|
ShoppingItem |
addShoppingItem(ShoppingItem shoppingItem)
|
ShoppingItem |
createShoppingItem(long itemId)
|
void |
deleteItem(long itemId)
|
void |
deleteItem(ShoppingItem item)
|
void |
deleteItems(long groupId,
long categoryId)
|
void |
deleteShoppingItem(long itemId)
|
void |
deleteShoppingItem(ShoppingItem shoppingItem)
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
|
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
int |
getCategoriesItemsCount(long groupId,
List<Long> categoryIds)
|
List<ShoppingItem> |
getFeaturedItems(long groupId,
long categoryId,
int numOfItems)
|
ShoppingItem |
getItem(long itemId)
|
ShoppingItem |
getItem(long companyId,
String sku)
|
ShoppingItem |
getItemByLargeImageId(long largeImageId)
|
ShoppingItem |
getItemByMediumImageId(long mediumImageId)
|
ShoppingItem |
getItemBySmallImageId(long smallImageId)
|
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)
|
List<ShoppingItem> |
getSaleItems(long groupId,
long categoryId,
int numOfItems)
|
ShoppingItem |
getShoppingItem(long itemId)
|
List<ShoppingItem> |
getShoppingItems(int start,
int end)
|
int |
getShoppingItemsCount()
|
ShoppingItemLocalService |
getWrappedShoppingItemLocalService()
|
List<ShoppingItem> |
search(long groupId,
long[] categoryIds,
String keywords,
int start,
int end)
|
int |
searchCount(long groupId,
long[] categoryIds,
String keywords)
|
ShoppingItem |
updateItem(long userId,
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)
|
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 |
ShoppingItemLocalServiceWrapper
public ShoppingItemLocalServiceWrapper(ShoppingItemLocalService shoppingItemLocalService)
addShoppingItem
public ShoppingItem addShoppingItem(ShoppingItem shoppingItem)
throws SystemException
- Specified by:
addShoppingItem in interface ShoppingItemLocalService
- Throws:
SystemException
createShoppingItem
public ShoppingItem createShoppingItem(long itemId)
- Specified by:
createShoppingItem in interface ShoppingItemLocalService
deleteShoppingItem
public void deleteShoppingItem(long itemId)
throws PortalException,
SystemException
- Specified by:
deleteShoppingItem in interface ShoppingItemLocalService
- Throws:
PortalException
SystemException
deleteShoppingItem
public void deleteShoppingItem(ShoppingItem shoppingItem)
throws SystemException
- Specified by:
deleteShoppingItem in interface ShoppingItemLocalService
- Throws:
SystemException
dynamicQuery
public List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Specified by:
dynamicQuery in interface ShoppingItemLocalService
- Throws:
SystemException
dynamicQuery
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Specified by:
dynamicQuery in interface ShoppingItemLocalService
- Throws:
SystemException
dynamicQuery
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Specified by:
dynamicQuery in interface ShoppingItemLocalService
- Throws:
SystemException
dynamicQueryCount
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Specified by:
dynamicQueryCount in interface ShoppingItemLocalService
- Throws:
SystemException
getShoppingItem
public ShoppingItem getShoppingItem(long itemId)
throws PortalException,
SystemException
- Specified by:
getShoppingItem in interface ShoppingItemLocalService
- Throws:
PortalException
SystemException
getShoppingItems
public List<ShoppingItem> getShoppingItems(int start,
int end)
throws SystemException
- Specified by:
getShoppingItems in interface ShoppingItemLocalService
- Throws:
SystemException
getShoppingItemsCount
public int getShoppingItemsCount()
throws SystemException
- Specified by:
getShoppingItemsCount in interface ShoppingItemLocalService
- Throws:
SystemException
updateShoppingItem
public ShoppingItem updateShoppingItem(ShoppingItem shoppingItem)
throws SystemException
- Specified by:
updateShoppingItem in interface ShoppingItemLocalService
- Throws:
SystemException
updateShoppingItem
public ShoppingItem updateShoppingItem(ShoppingItem shoppingItem,
boolean merge)
throws SystemException
- Specified by:
updateShoppingItem in interface ShoppingItemLocalService
- Throws:
SystemException
addBookItems
public void addBookItems(long userId,
long groupId,
long categoryId,
String[] isbns)
throws PortalException,
SystemException
- Specified by:
addBookItems in interface ShoppingItemLocalService
- Throws:
PortalException
SystemException
addItem
public ShoppingItem addItem(long userId,
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
- Specified by:
addItem in interface ShoppingItemLocalService
- Throws:
PortalException
SystemException
addItemResources
public void addItemResources(long itemId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Specified by:
addItemResources in interface ShoppingItemLocalService
- Throws:
PortalException
SystemException
addItemResources
public void addItemResources(long itemId,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Specified by:
addItemResources in interface ShoppingItemLocalService
- Throws:
PortalException
SystemException
addItemResources
public void addItemResources(ShoppingItem item,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Specified by:
addItemResources in interface ShoppingItemLocalService
- Throws:
PortalException
SystemException
addItemResources
public void addItemResources(ShoppingItem item,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Specified by:
addItemResources in interface ShoppingItemLocalService
- Throws:
PortalException
SystemException
deleteItem
public void deleteItem(long itemId)
throws PortalException,
SystemException
- Specified by:
deleteItem in interface ShoppingItemLocalService
- Throws:
PortalException
SystemException
deleteItem
public void deleteItem(ShoppingItem item)
throws PortalException,
SystemException
- Specified by:
deleteItem in interface ShoppingItemLocalService
- Throws:
PortalException
SystemException
deleteItems
public void deleteItems(long groupId,
long categoryId)
throws PortalException,
SystemException
- Specified by:
deleteItems in interface ShoppingItemLocalService
- Throws:
PortalException
SystemException
getCategoriesItemsCount
public int getCategoriesItemsCount(long groupId,
List<Long> categoryIds)
throws SystemException
- Specified by:
getCategoriesItemsCount in interface ShoppingItemLocalService
- Throws:
SystemException
getFeaturedItems
public List<ShoppingItem> getFeaturedItems(long groupId,
long categoryId,
int numOfItems)
throws SystemException
- Specified by:
getFeaturedItems in interface ShoppingItemLocalService
- Throws:
SystemException
getItem
public ShoppingItem getItem(long itemId)
throws PortalException,
SystemException
- Specified by:
getItem in interface ShoppingItemLocalService
- Throws:
PortalException
SystemException
getItem
public ShoppingItem getItem(long companyId,
String sku)
throws PortalException,
SystemException
- Specified by:
getItem in interface ShoppingItemLocalService
- Throws:
PortalException
SystemException
getItemByLargeImageId
public ShoppingItem getItemByLargeImageId(long largeImageId)
throws PortalException,
SystemException
- Specified by:
getItemByLargeImageId in interface ShoppingItemLocalService
- Throws:
PortalException
SystemException
getItemByMediumImageId
public ShoppingItem getItemByMediumImageId(long mediumImageId)
throws PortalException,
SystemException
- Specified by:
getItemByMediumImageId in interface ShoppingItemLocalService
- Throws:
PortalException
SystemException
getItemBySmallImageId
public ShoppingItem getItemBySmallImageId(long smallImageId)
throws PortalException,
SystemException
- Specified by:
getItemBySmallImageId in interface ShoppingItemLocalService
- Throws:
PortalException
SystemException
getItems
public List<ShoppingItem> getItems(long groupId,
long categoryId)
throws SystemException
- Specified by:
getItems in interface ShoppingItemLocalService
- Throws:
SystemException
getItems
public List<ShoppingItem> getItems(long groupId,
long categoryId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Specified by:
getItems in interface ShoppingItemLocalService
- Throws:
SystemException
getItemsCount
public int getItemsCount(long groupId,
long categoryId)
throws SystemException
- Specified by:
getItemsCount in interface ShoppingItemLocalService
- Throws:
SystemException
getItemsPrevAndNext
public ShoppingItem[] getItemsPrevAndNext(long itemId,
OrderByComparator obc)
throws PortalException,
SystemException
- Specified by:
getItemsPrevAndNext in interface ShoppingItemLocalService
- Throws:
PortalException
SystemException
getSaleItems
public List<ShoppingItem> getSaleItems(long groupId,
long categoryId,
int numOfItems)
throws SystemException
- Specified by:
getSaleItems in interface ShoppingItemLocalService
- Throws:
SystemException
search
public List<ShoppingItem> search(long groupId,
long[] categoryIds,
String keywords,
int start,
int end)
throws SystemException
- Specified by:
search in interface ShoppingItemLocalService
- Throws:
SystemException
searchCount
public int searchCount(long groupId,
long[] categoryIds,
String keywords)
throws SystemException
- Specified by:
searchCount in interface ShoppingItemLocalService
- Throws:
SystemException
updateItem
public ShoppingItem updateItem(long userId,
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
- Specified by:
updateItem in interface ShoppingItemLocalService
- Throws:
PortalException
SystemException
getWrappedShoppingItemLocalService
public ShoppingItemLocalService getWrappedShoppingItemLocalService()