@ProviderType @AccessControlled @JSONWebService @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface ShoppingCategoryService extends BaseService
ShoppingCategoryServiceUtil,
com.liferay.portlet.shopping.service.base.ShoppingCategoryServiceBaseImpl,
com.liferay.portlet.shopping.service.impl.ShoppingCategoryServiceImpl| Modifier and Type | Method and Description |
|---|---|
ShoppingCategory |
addCategory(long parentCategoryId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext) |
void |
deleteCategory(long categoryId) |
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
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) |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
ShoppingCategory |
updateCategory(long categoryId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentCategory,
ServiceContext serviceContext) |
java.lang.String getBeanIdentifier()
void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanShoppingCategory addCategory(long parentCategoryId, java.lang.String name, java.lang.String description, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionvoid deleteCategory(long categoryId)
throws PortalException,
SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<ShoppingCategory> getCategories(long groupId) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<ShoppingCategory> getCategories(long groupId, long parentCategoryId, int start, int end) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesCount(long groupId, long parentCategoryId) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) ShoppingCategory getCategory(long categoryId) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) void getSubcategoryIds(java.util.List<java.lang.Long> categoryIds, long groupId, long categoryId) throws SystemException
SystemExceptionShoppingCategory updateCategory(long categoryId, long parentCategoryId, java.lang.String name, java.lang.String description, boolean mergeWithParentCategory, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemException