com.liferay.portal.service
Class PortletServiceUtil
java.lang.Object
com.liferay.portal.service.PortletServiceUtil
@ProviderType
public class PortletServiceUtil
- extends Object
Provides the remote service utility for Portlet. This utility wraps
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.
- See Also:
PortletService,
PortletServiceBaseImpl,
com.liferay.portal.service.impl.PortletServiceImpl
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletServiceUtil
public PortletServiceUtil()
getOSGiServiceIdentifier
public static String getOSGiServiceIdentifier()
- Returns the OSGi service identifier.
- Returns:
- the OSGi service identifier
getWARPortlets
public static JSONArray getWARPortlets()
updatePortlet
public static Portlet updatePortlet(long companyId,
String portletId,
String roles,
boolean active)
throws PortalException
- Throws:
PortalException
getService
public static PortletService getService()