com.liferay.portlet.blogs.service.impl
Class BlogsCategoryServiceImpl

java.lang.Object
  extended bycom.liferay.portal.service.impl.PrincipalBean
      extended bycom.liferay.portlet.blogs.service.impl.BlogsCategoryServiceImpl
All Implemented Interfaces:
com.liferay.portlet.blogs.service.BlogsCategoryService

public class BlogsCategoryServiceImpl
extends PrincipalBean
implements com.liferay.portlet.blogs.service.BlogsCategoryService

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
BlogsCategoryServiceImpl()
           
 
Method Summary
 com.liferay.portlet.blogs.model.BlogsCategory addCategory(long parentCategoryId, java.lang.String name, java.lang.String description, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 com.liferay.portlet.blogs.model.BlogsCategory addCategory(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.blogs.model.BlogsCategory getCategory(long categoryId)
           
 com.liferay.portlet.blogs.model.BlogsCategory updateCategory(long categoryId, long parentCategoryId, java.lang.String name, java.lang.String description)
           
 
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

BlogsCategoryServiceImpl

public BlogsCategoryServiceImpl()
Method Detail

addCategory

public com.liferay.portlet.blogs.model.BlogsCategory addCategory(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.blogs.service.BlogsCategoryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addCategory

public com.liferay.portlet.blogs.model.BlogsCategory addCategory(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.blogs.service.BlogsCategoryService
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.blogs.service.BlogsCategoryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getCategory

public com.liferay.portlet.blogs.model.BlogsCategory getCategory(long categoryId)
                                                          throws com.liferay.portal.PortalException,
                                                                 com.liferay.portal.SystemException
Specified by:
getCategory in interface com.liferay.portlet.blogs.service.BlogsCategoryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateCategory

public com.liferay.portlet.blogs.model.BlogsCategory updateCategory(long categoryId,
                                                                    long parentCategoryId,
                                                                    java.lang.String name,
                                                                    java.lang.String description)
                                                             throws com.liferay.portal.PortalException,
                                                                    com.liferay.portal.SystemException
Specified by:
updateCategory in interface com.liferay.portlet.blogs.service.BlogsCategoryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException