com.liferay.portlet.shopping.service.impl
Class ShoppingItemServiceImpl
java.lang.Object
com.liferay.portal.service.BaseServiceImpl
com.liferay.portlet.shopping.service.base.ShoppingItemServiceBaseImpl
com.liferay.portlet.shopping.service.impl.ShoppingItemServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseService, ShoppingItemService
public class ShoppingItemServiceImpl
- extends ShoppingItemServiceBaseImpl
| 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 |
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShoppingItemServiceImpl
public ShoppingItemServiceImpl()
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