Liferay 6.0.4

com.liferay.portal.service
Class PortletItemLocalServiceUtil

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

public class PortletItemLocalServiceUtil
extends Object

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.

See Also:
PortletItemLocalService
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
PortletItemLocalServiceUtil()
           
 
Method Summary
static PortletItem addPortletItem(long userId, long groupId, String name, String portletId, String className)
           
static PortletItem addPortletItem(PortletItem portletItem)
           
static PortletItem createPortletItem(long portletItemId)
           
static void deletePortletItem(long portletItemId)
           
static void deletePortletItem(PortletItem portletItem)
           
static List dynamicQuery(DynamicQuery dynamicQuery)
           
static List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static 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, String name, String portletId, String className)
           
static List<PortletItem> getPortletItems(int start, int end)
           
static List<PortletItem> getPortletItems(long groupId, String className)
           
static List<PortletItem> getPortletItems(long groupId, String portletId, String className)
           
static int getPortletItemsCount()
           
static PortletItemLocalService getService()
           
 void setService(PortletItemLocalService service)
           
static PortletItem updatePortletItem(long userId, long groupId, String name, String portletId, 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 List dynamicQuery(DynamicQuery dynamicQuery)
                         throws SystemException
Throws:
SystemException

dynamicQuery

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

dynamicQuery

public static 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 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,
                                         String name,
                                         String portletId,
                                         String className)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

getPortletItem

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

getPortletItems

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

getPortletItems

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

updatePortletItem

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

getService

public static PortletItemLocalService getService()

setService

public void setService(PortletItemLocalService service)

Liferay 6.0.4