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 String
Returns the OSGi service identifier.static PortletService
static JSONArray
static boolean
hasPortlet
(long companyId, String portletId) static void
setService
(PortletService service) static Portlet
updatePortlet
(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
-