com.liferay.portlet.blogs.service
Class BlogsCategoryServiceUtil

java.lang.Object
  extended bycom.liferay.portlet.blogs.service.BlogsCategoryServiceUtil

public class BlogsCategoryServiceUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class provides static methods for the com.liferay.portlet.blogs.service.BlogsCategoryService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

com.liferay.portlet.blogs.service.BlogsCategoryServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
BlogsCategoryService, BlogsCategoryServiceFactory

Constructor Summary
BlogsCategoryServiceUtil()
           
 
Method Summary
static BlogsCategory addCategory(long parentCategoryId, java.lang.String name, java.lang.String description, boolean addCommunityPermissions, boolean addGuestPermissions)
           
static BlogsCategory addCategory(long parentCategoryId, java.lang.String name, java.lang.String description, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
static void deleteCategory(long categoryId)
           
static BlogsCategory getCategory(long categoryId)
           
static BlogsCategory updateCategory(long categoryId, long parentCategoryId, java.lang.String name, java.lang.String description)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlogsCategoryServiceUtil

public BlogsCategoryServiceUtil()
Method Detail

addCategory

public static 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,
                                        java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

addCategory

public static 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,
                                        java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

deleteCategory

public static void deleteCategory(long categoryId)
                           throws com.liferay.portal.PortalException,
                                  com.liferay.portal.SystemException,
                                  java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getCategory

public static BlogsCategory getCategory(long categoryId)
                                 throws com.liferay.portal.PortalException,
                                        com.liferay.portal.SystemException,
                                        java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateCategory

public static BlogsCategory updateCategory(long categoryId,
                                           long parentCategoryId,
                                           java.lang.String name,
                                           java.lang.String description)
                                    throws com.liferay.portal.PortalException,
                                           com.liferay.portal.SystemException,
                                           java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException