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
The interface for the shopping category remote service.
Never modify or reference this interface directly. Always use ShoppingCategoryServiceUtil
to access the shopping category remote service. Add custom service methods to ShoppingCategoryServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.
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
,
ShoppingCategoryServiceBaseImpl
,
ShoppingCategoryServiceImpl
- 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