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 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
Generated:

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 dynamicQuery(DynamicQuery dynamicQuery)
           
static java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
static long dynamicQueryCount(DynamicQuery dynamicQuery)
           
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)
           
static PortletItem updatePortletItem(PortletItem portletItem, boolean merge)
           
 
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 SystemException
Throws:
SystemException

createPortletItem

public static PortletItem createPortletItem(long portletItemId)

deletePortletItem

public static void deletePortletItem(long portletItemId)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

deletePortletItem

public static void deletePortletItem(PortletItem portletItem)
                              throws SystemException
Throws:
SystemException

dynamicQuery

public static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                                   throws SystemException
Throws:
SystemException

dynamicQuery

public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                          int start,
                                          int end)
                                   throws SystemException
Throws:
SystemException

dynamicQuery

public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Throws:
SystemException

dynamicQueryCount

public static long dynamicQueryCount(DynamicQuery dynamicQuery)
                              throws SystemException
Throws:
SystemException

getPortletItem

public static PortletItem getPortletItem(long portletItemId)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

getPortletItems

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

getPortletItemsCount

public static int getPortletItemsCount()
                                throws SystemException
Throws:
SystemException

updatePortletItem

public static PortletItem updatePortletItem(PortletItem portletItem)
                                     throws SystemException
Throws:
SystemException

updatePortletItem

public static PortletItem updatePortletItem(PortletItem portletItem,
                                            boolean merge)
                                     throws SystemException
Throws:
SystemException

addPortletItem

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

getPortletItem

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

getPortletItems

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

getPortletItems

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

updatePortletItem

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

getService

public static PortletItemLocalService getService()

setService

public void setService(PortletItemLocalService service)