@AccessControlled @JSONWebService @ProviderType @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) |
ShoppingCategory addCategory(long parentCategoryId, java.lang.String name, java.lang.String description, ServiceContext serviceContext) throws PortalException
PortalExceptionvoid deleteCategory(long categoryId)
throws PortalException
PortalExceptionjava.lang.String getBeanIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<ShoppingCategory> getCategories(long groupId)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<ShoppingCategory> getCategories(long groupId, long parentCategoryId, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesCount(long groupId, long parentCategoryId)
@Transactional(propagation=SUPPORTS, readOnly=true) ShoppingCategory getCategory(long categoryId) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) void getSubcategoryIds(java.util.List<java.lang.Long> categoryIds, long groupId, long categoryId)
void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanShoppingCategory updateCategory(long categoryId, long parentCategoryId, java.lang.String name, java.lang.String description, boolean mergeWithParentCategory, ServiceContext serviceContext) throws PortalException
PortalException