com.liferay.portlet.shopping.service.impl
Class ShoppingCategoryServiceImpl
java.lang.Object
com.liferay.portal.service.BaseServiceImpl
com.liferay.portlet.shopping.service.base.ShoppingCategoryServiceBaseImpl
com.liferay.portlet.shopping.service.impl.ShoppingCategoryServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseService, ShoppingCategoryService
public class ShoppingCategoryServiceImpl
- extends ShoppingCategoryServiceBaseImpl
| Fields inherited from class com.liferay.portlet.shopping.service.base.ShoppingCategoryServiceBaseImpl |
counterLocalService, resourceLocalService, shoppingCategoryLocalService, shoppingCategoryPersistence, shoppingCategoryService, shoppingItemFinder, shoppingItemLocalService, shoppingItemPersistence, shoppingItemService, userFinder, userLocalService, userPersistence, userService |
|
Method Summary |
ShoppingCategory |
addCategory(long parentCategoryId,
String name,
String description,
ServiceContext serviceContext)
|
void |
deleteCategory(long categoryId)
|
List<ShoppingCategory> |
getCategories(long groupId)
|
List<ShoppingCategory> |
getCategories(long groupId,
long parentCategoryId,
int start,
int end)
|
int |
getCategoriesCount(long groupId,
long parentCategoryId)
|
ShoppingCategory |
getCategory(long categoryId)
|
void |
getSubcategoryIds(List<Long> categoryIds,
long groupId,
long categoryId)
|
ShoppingCategory |
updateCategory(long categoryId,
long parentCategoryId,
String name,
String description,
boolean mergeWithParentCategory,
ServiceContext serviceContext)
|
| Methods inherited from class com.liferay.portlet.shopping.service.base.ShoppingCategoryServiceBaseImpl |
afterPropertiesSet, destroy, getBeanIdentifier, getCounterLocalService, getModelClass, getModelClassName, getResourceLocalService, getShoppingCategoryLocalService, getShoppingCategoryPersistence, getShoppingCategoryService, getShoppingItemFinder, getShoppingItemLocalService, getShoppingItemPersistence, getShoppingItemService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setCounterLocalService, setResourceLocalService, setShoppingCategoryLocalService, setShoppingCategoryPersistence, setShoppingCategoryService, setShoppingItemFinder, setShoppingItemLocalService, setShoppingItemPersistence, setShoppingItemService, setUserFinder, setUserLocalService, setUserPersistence, setUserService |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShoppingCategoryServiceImpl
public ShoppingCategoryServiceImpl()
addCategory
public ShoppingCategory addCategory(long parentCategoryId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
deleteCategory
public void deleteCategory(long categoryId)
throws PortalException
- Throws:
PortalException
getCategories
public List<ShoppingCategory> getCategories(long groupId)
getCategories
public List<ShoppingCategory> getCategories(long groupId,
long parentCategoryId,
int start,
int end)
getCategoriesCount
public int getCategoriesCount(long groupId,
long parentCategoryId)
getCategory
public ShoppingCategory getCategory(long categoryId)
throws PortalException
- Throws:
PortalException
getSubcategoryIds
public void getSubcategoryIds(List<Long> categoryIds,
long groupId,
long categoryId)
updateCategory
public ShoppingCategory updateCategory(long categoryId,
long parentCategoryId,
String name,
String description,
boolean mergeWithParentCategory,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException