public class ShoppingItemServiceImpl extends ShoppingItemServiceBaseImpl
| Modifier and Type | Field and Description |
|---|---|
protected ShoppingCategoryPermission |
shoppingCategoryPermission |
protected ShoppingItemPermission |
shoppingItemPermission |
counterLocalService, imageLocalService, imagePersistence, imageService, resourceLocalService, shoppingCategoryFinder, shoppingCategoryLocalService, shoppingCategoryPersistence, shoppingCategoryService, shoppingItemFieldLocalService, shoppingItemFieldPersistence, shoppingItemFinder, shoppingItemLocalService, shoppingItemPersistence, shoppingItemPriceLocalService, shoppingItemPricePersistence, shoppingItemService, userLocalService, userPersistence, userService| Constructor and Description |
|---|
ShoppingItemServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.shopping.model.ShoppingItem |
addItem(long groupId,
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<com.liferay.shopping.model.ShoppingItemField> itemFields,
java.util.List<com.liferay.shopping.model.ShoppingItemPrice> itemPrices,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
deleteItem(long itemId) |
int |
getCategoriesItemsCount(long groupId,
java.util.List<java.lang.Long> categoryIds) |
com.liferay.shopping.model.ShoppingItem |
getItem(long itemId) |
java.util.List<com.liferay.shopping.model.ShoppingItem> |
getItems(long groupId,
long categoryId) |
java.util.List<com.liferay.shopping.model.ShoppingItem> |
getItems(long groupId,
long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.shopping.model.ShoppingItem> obc) |
int |
getItemsCount(long groupId,
long categoryId) |
com.liferay.shopping.model.ShoppingItem[] |
getItemsPrevAndNext(long itemId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.shopping.model.ShoppingItem> obc) |
com.liferay.shopping.model.ShoppingItem |
updateItem(long itemId,
long groupId,
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<com.liferay.shopping.model.ShoppingItemField> itemFields,
java.util.List<com.liferay.shopping.model.ShoppingItemPrice> itemPrices,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
afterPropertiesSet, destroy, getCounterLocalService, getImageLocalService, getImagePersistence, getImageService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getResourceLocalService, getShoppingCategoryFinder, getShoppingCategoryLocalService, getShoppingCategoryPersistence, getShoppingCategoryService, getShoppingItemFieldLocalService, getShoppingItemFieldPersistence, getShoppingItemFinder, getShoppingItemLocalService, getShoppingItemPersistence, getShoppingItemPriceLocalService, getShoppingItemPricePersistence, getShoppingItemService, getUserLocalService, getUserPersistence, getUserService, runSQL, setCounterLocalService, setImageLocalService, setImagePersistence, setImageService, setResourceLocalService, setShoppingCategoryFinder, setShoppingCategoryLocalService, setShoppingCategoryPersistence, setShoppingCategoryService, setShoppingItemFieldLocalService, setShoppingItemFieldPersistence, setShoppingItemFinder, setShoppingItemLocalService, setShoppingItemPersistence, setShoppingItemPriceLocalService, setShoppingItemPricePersistence, setShoppingItemService, setUserLocalService, setUserPersistence, setUserService@ServiceReference(type=ShoppingCategoryPermission.class) protected ShoppingCategoryPermission shoppingCategoryPermission
@ServiceReference(type=ShoppingItemPermission.class) protected ShoppingItemPermission shoppingItemPermission
public com.liferay.shopping.model.ShoppingItem addItem(long groupId,
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<com.liferay.shopping.model.ShoppingItemField> itemFields,
java.util.List<com.liferay.shopping.model.ShoppingItemPrice> itemPrices,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void deleteItem(long itemId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic int getCategoriesItemsCount(long groupId,
java.util.List<java.lang.Long> categoryIds)
public com.liferay.shopping.model.ShoppingItem getItem(long itemId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<com.liferay.shopping.model.ShoppingItem> getItems(long groupId,
long categoryId)
public java.util.List<com.liferay.shopping.model.ShoppingItem> getItems(long groupId,
long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.shopping.model.ShoppingItem> obc)
public int getItemsCount(long groupId,
long categoryId)
public com.liferay.shopping.model.ShoppingItem[] getItemsPrevAndNext(long itemId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.shopping.model.ShoppingItem> obc)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.shopping.model.ShoppingItem updateItem(long itemId,
long groupId,
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<com.liferay.shopping.model.ShoppingItemField> itemFields,
java.util.List<com.liferay.shopping.model.ShoppingItemPrice> itemPrices,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException