public class PortletServiceUtil
extends java.lang.Object
com.liferay.portal.service.impl.PortletServiceImpl
and is an
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.PortletService
Constructor and Description |
---|
PortletServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static PortletService |
getService() |
static JSONArray |
getWARPortlets() |
static boolean |
hasPortlet(long companyId,
java.lang.String portletId) |
static void |
setService(PortletService service) |
static Portlet |
updatePortlet(long companyId,
java.lang.String portletId,
java.lang.String roles,
boolean active) |
public static java.lang.String getOSGiServiceIdentifier()
public static JSONArray getWARPortlets()
public static boolean hasPortlet(long companyId, java.lang.String portletId)
public static Portlet updatePortlet(long companyId, java.lang.String portletId, java.lang.String roles, boolean active) throws PortalException
PortalException
public static PortletService getService()
public static void setService(PortletService service)