Liferay 6.2-ce-ga5

com.liferay.portlet.shopping.service
Interface ShoppingCategoryService

All Superinterfaces:
BaseService
All Known Implementing Classes:
ShoppingCategoryServiceBaseImpl, ShoppingCategoryServiceImpl, ShoppingCategoryServiceWrapper

@ProviderType
@AccessControlled
@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface ShoppingCategoryService
extends BaseService

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.

See Also:
ShoppingCategoryServiceUtil, ShoppingCategoryServiceBaseImpl, ShoppingCategoryServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

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

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

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

getCategories

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<ShoppingCategory> getCategories(long groupId)
                                     throws SystemException
Throws:
SystemException

getCategories

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<ShoppingCategory> getCategories(long groupId,
                                                                              long parentCategoryId,
                                                                              int start,
                                                                              int end)
                                     throws SystemException
Throws:
SystemException

getCategoriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getCategoriesCount(long groupId,
                                                                long parentCategoryId)
                       throws SystemException
Throws:
SystemException

getCategory

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ShoppingCategory getCategory(long categoryId)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

getSubcategoryIds

@Transactional(propagation=SUPPORTS,
               readOnly=true)
void getSubcategoryIds(List<Long> categoryIds,
                                                                long groupId,
                                                                long categoryId)
                       throws SystemException
Throws:
SystemException

updateCategory

ShoppingCategory updateCategory(long categoryId,
                                long parentCategoryId,
                                String name,
                                String description,
                                boolean mergeWithParentCategory,
                                ServiceContext serviceContext)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

Liferay 6.2-ce-ga5