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:
com.liferay.portlet.messageboards.service.MBCategoryService

public class MBCategoryServiceImpl
extends PrincipalBean
implements com.liferay.portlet.messageboards.service.MBCategoryService

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portal.service.impl.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
MBCategoryServiceImpl()
           
 
Method Summary
 com.liferay.portlet.messageboards.model.MBCategory addCategory(long plid, long parentCategoryId, java.lang.String name, java.lang.String description, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 com.liferay.portlet.messageboards.model.MBCategory addCategory(long plid, long parentCategoryId, java.lang.String name, java.lang.String description, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void deleteCategory(long categoryId)
           
 com.liferay.portlet.messageboards.model.MBCategory getCategory(long categoryId)
           
 void subscribeCategory(long categoryId)
           
 void unsubscribeCategory(long categoryId)
           
 com.liferay.portlet.messageboards.model.MBCategory updateCategory(long categoryId, long parentCategoryId, java.lang.String name, java.lang.String description, boolean mergeWithParentCategory)
           
 
Methods inherited from class com.liferay.portal.service.impl.PrincipalBean
getGuestOrUserId, 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 com.liferay.portlet.messageboards.model.MBCategory addCategory(long plid,
                                                                      long parentCategoryId,
                                                                      java.lang.String name,
                                                                      java.lang.String description,
                                                                      boolean addCommunityPermissions,
                                                                      boolean addGuestPermissions)
                                                               throws com.liferay.portal.PortalException,
                                                                      com.liferay.portal.SystemException
Specified by:
addCategory in interface com.liferay.portlet.messageboards.service.MBCategoryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addCategory

public com.liferay.portlet.messageboards.model.MBCategory addCategory(long plid,
                                                                      long parentCategoryId,
                                                                      java.lang.String name,
                                                                      java.lang.String description,
                                                                      java.lang.String[] communityPermissions,
                                                                      java.lang.String[] guestPermissions)
                                                               throws com.liferay.portal.PortalException,
                                                                      com.liferay.portal.SystemException
Specified by:
addCategory in interface com.liferay.portlet.messageboards.service.MBCategoryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteCategory

public void deleteCategory(long categoryId)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Specified by:
deleteCategory in interface com.liferay.portlet.messageboards.service.MBCategoryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getCategory

public com.liferay.portlet.messageboards.model.MBCategory getCategory(long categoryId)
                                                               throws com.liferay.portal.PortalException,
                                                                      com.liferay.portal.SystemException
Specified by:
getCategory in interface com.liferay.portlet.messageboards.service.MBCategoryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

subscribeCategory

public void subscribeCategory(long categoryId)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Specified by:
subscribeCategory in interface com.liferay.portlet.messageboards.service.MBCategoryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

unsubscribeCategory

public void unsubscribeCategory(long categoryId)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException
Specified by:
unsubscribeCategory in interface com.liferay.portlet.messageboards.service.MBCategoryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateCategory

public com.liferay.portlet.messageboards.model.MBCategory updateCategory(long categoryId,
                                                                         long parentCategoryId,
                                                                         java.lang.String name,
                                                                         java.lang.String description,
                                                                         boolean mergeWithParentCategory)
                                                                  throws com.liferay.portal.PortalException,
                                                                         com.liferay.portal.SystemException
Specified by:
updateCategory in interface com.liferay.portlet.messageboards.service.MBCategoryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException