Class PortletServiceUtil
Object
com.liferay.portal.kernel.service.PortletServiceUtil
Provides the remote service utility for Portlet. This utility wraps
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.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns the OSGi service identifier.static PortletServicestatic JSONArraystatic booleanhasPortlet(long companyId, String portletId) static voidsetService(PortletService service) static PortletupdatePortlet(long companyId, String portletId, String roles, boolean active)
-
Constructor Details
-
PortletServiceUtil
public PortletServiceUtil()
-
-
Method Details
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getWARPortlets
-
hasPortlet
-
updatePortlet
public static Portlet updatePortlet(long companyId, String portletId, String roles, boolean active) throws PortalException - Throws:
PortalException
-
getService
-
setService
-