com.liferay.portlet.shopping.service
Interface ShoppingCategoryService
- All Known Implementing Classes:
- ShoppingCategoryServiceWrapper
@JSONWebService
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface ShoppingCategoryService
The interface for the shopping category remote service.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
- Author:
- Brian Wing Shun Chan
- See Also:
ShoppingCategoryServiceUtil,
com.liferay.portlet.shopping.service.base.ShoppingCategoryServiceBaseImpl,
com.liferay.portlet.shopping.service.impl.ShoppingCategoryServiceImpl- Generated:
|
Method Summary |
ShoppingCategory |
addCategory(long parentCategoryId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
|
void |
deleteCategory(long categoryId)
|
java.util.List<ShoppingCategory> |
getCategories(long groupId)
|
java.util.List<ShoppingCategory> |
getCategories(long groupId,
long parentCategoryId,
int start,
int end)
|
int |
getCategoriesCount(long groupId,
long parentCategoryId)
|
ShoppingCategory |
getCategory(long categoryId)
|
void |
getSubcategoryIds(java.util.List<java.lang.Long> categoryIds,
long groupId,
long categoryId)
|
ShoppingCategory |
updateCategory(long categoryId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentCategory,
ServiceContext serviceContext)
|
addCategory
ShoppingCategory addCategory(long parentCategoryId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteCategory
void deleteCategory(long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCategories
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ShoppingCategory> getCategories(long groupId)
throws SystemException
- Throws:
SystemException
getCategories
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ShoppingCategory> getCategories(long groupId,
long parentCategoryId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getCategoriesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCategoriesCount(long groupId,
long parentCategoryId)
throws SystemException
- Throws:
SystemException
getCategory
@Transactional(propagation=SUPPORTS,
readOnly=true)
ShoppingCategory getCategory(long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getSubcategoryIds
@Transactional(propagation=SUPPORTS,
readOnly=true)
void getSubcategoryIds(java.util.List<java.lang.Long> categoryIds,
long groupId,
long categoryId)
throws SystemException
- Throws:
SystemException
updateCategory
ShoppingCategory updateCategory(long categoryId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentCategory,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException