Class PortletServiceUtil

Object
com.liferay.portal.kernel.service.PortletServiceUtil

public class PortletServiceUtil extends Object
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 Details

    • PortletServiceUtil

      public PortletServiceUtil()
  • Method Details

    • getOSGiServiceIdentifier

      public static String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • getWARPortlets

      public static JSONArray getWARPortlets()
    • hasPortlet

      public static boolean hasPortlet(long companyId, String portletId)
    • updatePortlet

      public static Portlet updatePortlet(long companyId, String portletId, String roles, boolean active) throws PortalException
      Throws:
      PortalException
    • getService

      public static PortletService getService()
    • setService

      public static void setService(PortletService service)