com.liferay.portlet.shopping.service
Interface ShoppingCategoryService
- All Known Implementing Classes:
- ShoppingCategoryServiceBaseImpl, ShoppingCategoryServiceImpl, ShoppingCategoryServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface ShoppingCategoryService
This interface defines the service. The default implementation is
ShoppingCategoryServiceImpl.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
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.
- See Also:
ShoppingCategoryServiceUtil- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
addCategory
ShoppingCategory addCategory(long parentCategoryId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteCategory
void deleteCategory(long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCategory
@Transactional(propagation=SUPPORTS,
readOnly=true)
ShoppingCategory getCategory(long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateCategory
ShoppingCategory updateCategory(long categoryId,
long parentCategoryId,
String name,
String description,
boolean mergeWithParentCategory,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException