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.

Author:
Brian Wing Shun Chan
See Also:
PortletItemLocalService

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 PortletItem createPortletItem(long portletItemId)
           
static void deletePortletItem(long portletItemId)
           
static void deletePortletItem(PortletItem portletItem)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, 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(int start, int end)
           
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 int getPortletItemsCount()
           
static PortletItemLocalService getService()
           
 void setService(PortletItemLocalService service)
           
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

createPortletItem

public static PortletItem createPortletItem(long portletItemId)

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.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                            int start,
                                                            int end)
                                                     throws com.liferay.portal.SystemException
Throws:
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

getPortletItems

public static java.util.List<PortletItem> getPortletItems(int start,
                                                          int end)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPortletItemsCount

public static int getPortletItemsCount()
                                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 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

getService

public static PortletItemLocalService getService()

setService

public void setService(PortletItemLocalService service)