|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ProviderType @AccessControlled @JSONWebService @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface ShoppingCategoryService
Provides the remote service interface for ShoppingCategory. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
ShoppingCategoryServiceUtil
,
ShoppingCategoryServiceBaseImpl
,
ShoppingCategoryServiceImpl
Method Summary | |
---|---|
ShoppingCategory |
addCategory(long parentCategoryId,
String name,
String description,
ServiceContext serviceContext)
|
void |
deleteCategory(long categoryId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
List<ShoppingCategory> |
getCategories(long groupId)
|
List<ShoppingCategory> |
getCategories(long groupId,
long parentCategoryId,
int start,
int end)
|
int |
getCategoriesCount(long groupId,
long parentCategoryId)
|
ShoppingCategory |
getCategory(long categoryId)
|
void |
getSubcategoryIds(List<Long> categoryIds,
long groupId,
long categoryId)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
ShoppingCategory |
updateCategory(long categoryId,
long parentCategoryId,
String name,
String description,
boolean mergeWithParentCategory,
ServiceContext serviceContext)
|
Method Detail |
---|
String getBeanIdentifier()
void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanShoppingCategory addCategory(long parentCategoryId, String name, String description, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
void deleteCategory(long categoryId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<ShoppingCategory> getCategories(long groupId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) 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
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) void getSubcategoryIds(List<Long> categoryIds, long groupId, long categoryId) throws SystemException
SystemException
ShoppingCategory updateCategory(long categoryId, long parentCategoryId, String name, String description, boolean mergeWithParentCategory, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |