Liferay 7.0-ce-b4

com.liferay.portal.service
Class PortletServiceUtil

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

@ProviderType
public class PortletServiceUtil
extends Object

Provides the remote service utility for Portlet. This utility wraps PortletServiceImpl and is the primary access point for service operations in application layer code running on a remote server. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
PortletService, PortletServiceBaseImpl, PortletServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
PortletServiceUtil()
           
 
Method Summary
static String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
static PortletService getService()
           
static JSONArray getWARPortlets()
           
static Portlet updatePortlet(long companyId, String portletId, String roles, boolean active)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletServiceUtil

public PortletServiceUtil()
Method Detail

getOSGiServiceIdentifier

public static String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

getWARPortlets

public static JSONArray getWARPortlets()

updatePortlet

public static Portlet updatePortlet(long companyId,
                                    String portletId,
                                    String roles,
                                    boolean active)
                             throws PortalException
Throws:
PortalException

getService

public static PortletService getService()

Liferay 7.0-ce-b4