@ProviderType
public class PortletServiceUtil
extends java.lang.Object
com.liferay.portal.service.impl.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,
com.liferay.portal.service.impl.PortletServiceImpl| Constructor and Description |
|---|
PortletServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
static PortletService |
getService() |
static JSONArray |
getWARPortlets() |
static void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(PortletService service)
Deprecated.
As of 6.2.0
|
static Portlet |
updatePortlet(long companyId,
java.lang.String portletId,
java.lang.String roles,
boolean active) |
public static java.lang.String getBeanIdentifier()
public static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static JSONArray getWARPortlets()
public static Portlet updatePortlet(long companyId, java.lang.String portletId, java.lang.String roles, boolean active) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static PortletService getService()
public void setService(PortletService service)