com.liferay.portlet.messageboards.service.impl
Class MBCategoryServiceImpl

java.lang.Object
  extended bycom.liferay.portal.service.impl.PrincipalBean
      extended bycom.liferay.portlet.messageboards.service.impl.MBCategoryServiceImpl
All Implemented Interfaces:
MBCategoryService

public class MBCategoryServiceImpl
extends PrincipalBean
implements MBCategoryService

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
MBCategoryServiceImpl()
           
 
Method Summary
 MBCategory addCategory(java.lang.String plid, java.lang.String parentCategoryId, java.lang.String name, java.lang.String description, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void deleteCategory(java.lang.String categoryId)
           
 MBCategory getCategory(java.lang.String categoryId)
           
 MBCategory updateCategory(java.lang.String categoryId, java.lang.String parentCategoryId, java.lang.String name, java.lang.String description)
           
 
Methods inherited from class com.liferay.portal.service.impl.PrincipalBean
getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBCategoryServiceImpl

public MBCategoryServiceImpl()
Method Detail

addCategory

public MBCategory addCategory(java.lang.String plid,
                              java.lang.String parentCategoryId,
                              java.lang.String name,
                              java.lang.String description,
                              boolean addCommunityPermissions,
                              boolean addGuestPermissions)
                       throws PortalException,
                              SystemException
Specified by:
addCategory in interface MBCategoryService
Throws:
PortalException
SystemException

deleteCategory

public void deleteCategory(java.lang.String categoryId)
                    throws PortalException,
                           SystemException
Specified by:
deleteCategory in interface MBCategoryService
Throws:
PortalException
SystemException

getCategory

public MBCategory getCategory(java.lang.String categoryId)
                       throws PortalException,
                              SystemException
Specified by:
getCategory in interface MBCategoryService
Throws:
PortalException
SystemException

updateCategory

public MBCategory updateCategory(java.lang.String categoryId,
                                 java.lang.String parentCategoryId,
                                 java.lang.String name,
                                 java.lang.String description)
                          throws PortalException,
                                 SystemException
Specified by:
updateCategory in interface MBCategoryService
Throws:
PortalException
SystemException