@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface ShoppingCategoryService
extends com.liferay.portal.kernel.service.BaseService
ShoppingCategoryServiceUtil,
com.liferay.shopping.service.base.ShoppingCategoryServiceBaseImpl,
com.liferay.shopping.service.impl.ShoppingCategoryServiceImpl| Modifier and Type | Method and Description |
|---|---|
ShoppingCategory |
addCategory(long parentCategoryId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.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) |
java.util.List<java.lang.Object> |
getCategoriesAndItems(long groupId,
long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<?> obc) |
int |
getCategoriesAndItemsCount(long groupId,
long categoryId) |
int |
getCategoriesCount(long groupId,
long parentCategoryId) |
ShoppingCategory |
getCategory(long categoryId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
ShoppingCategory addCategory(long parentCategoryId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid deleteCategory(long categoryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@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)
java.util.List<java.lang.Object> getCategoriesAndItems(long groupId,
long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<?> obc)
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCategoriesAndItemsCount(long groupId,
long categoryId)
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCategoriesCount(long groupId,
long parentCategoryId)
@Transactional(propagation=SUPPORTS,
readOnly=true)
ShoppingCategory getCategory(long categoryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionjava.lang.String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS,
readOnly=true)
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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException