com.liferay.portal.service
Class PortletItemLocalServiceUtil

java.lang.Object
  extended by com.liferay.portal.service.PortletItemLocalServiceUtil

public class PortletItemLocalServiceUtil
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.portal.service.PortletItemLocalService 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.portal.service.PortletItemLocalServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
PortletItemLocalService, PortletItemLocalServiceFactory

Constructor Summary
PortletItemLocalServiceUtil()
           
 
Method Summary
static PortletItem addPortletItem(long userId, long groupId, java.lang.String name, java.lang.String portletId, java.lang.String className)
           
static PortletItem addPortletItem(PortletItem portletItem)
           
static void deletePortletItem(long portletItemId)
           
static void deletePortletItem(PortletItem portletItem)
           
static java.util.List<PortletItem> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List<PortletItem> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static PortletItem getPortletItem(long portletItemId)
           
static PortletItem getPortletItem(long groupId, java.lang.String name, java.lang.String portletId, java.lang.String className)
           
static java.util.List<PortletItem> getPortletItems(long groupId, java.lang.String className)
           
static java.util.List<PortletItem> getPortletItems(long groupId, java.lang.String portletId, java.lang.String className)
           
static PortletItem updatePortletItem(long userId, long groupId, java.lang.String name, java.lang.String portletId, java.lang.String className)
           
static PortletItem updatePortletItem(PortletItem portletItem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletItemLocalServiceUtil

public PortletItemLocalServiceUtil()
Method Detail

addPortletItem

public static PortletItem addPortletItem(PortletItem portletItem)
                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deletePortletItem

public static void deletePortletItem(long portletItemId)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deletePortletItem

public static void deletePortletItem(PortletItem portletItem)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<PortletItem> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<PortletItem> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                                       int begin,
                                                       int end)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updatePortletItem

public static PortletItem updatePortletItem(PortletItem portletItem)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addPortletItem

public static PortletItem addPortletItem(long userId,
                                         long groupId,
                                         java.lang.String name,
                                         java.lang.String portletId,
                                         java.lang.String className)
                                  throws com.liferay.portal.PortalException,
                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortletItem

public static PortletItem getPortletItem(long portletItemId)
                                  throws com.liferay.portal.PortalException,
                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortletItem

public static PortletItem getPortletItem(long groupId,
                                         java.lang.String name,
                                         java.lang.String portletId,
                                         java.lang.String className)
                                  throws com.liferay.portal.PortalException,
                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortletItems

public static java.util.List<PortletItem> getPortletItems(long groupId,
                                                          java.lang.String className)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPortletItems

public static java.util.List<PortletItem> getPortletItems(long groupId,
                                                          java.lang.String portletId,
                                                          java.lang.String className)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updatePortletItem

public static PortletItem updatePortletItem(long userId,
                                            long groupId,
                                            java.lang.String name,
                                            java.lang.String portletId,
                                            java.lang.String className)
                                     throws com.liferay.portal.PortalException,
                                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException