@ProviderType public class PortletServiceUtil extends Object
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.PortletService,
PortletServiceBaseImpl,
PortletServiceImpl| Constructor and Description |
|---|
PortletServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public static String getOSGiServiceIdentifier()
public static JSONArray getWARPortlets()
public static Portlet updatePortlet(long companyId, String portletId, String roles, boolean active) throws PortalException
PortalExceptionpublic static PortletService getService()