Class PortletPreferencesServiceUtil

Object
com.liferay.portal.kernel.service.PortletPreferencesServiceUtil

public class PortletPreferencesServiceUtil extends Object
Provides the remote service utility for PortletPreferences. This utility wraps com.liferay.portal.service.impl.PortletPreferencesServiceImpl 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

    • PortletPreferencesServiceUtil

      public PortletPreferencesServiceUtil()
  • Method Details

    • deleteArchivedPreferences

      public static void deleteArchivedPreferences(long portletItemId) throws PortalException
      Throws:
      PortalException
    • getOSGiServiceIdentifier

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

      public static void restoreArchivedPreferences(long groupId, Layout layout, String portletId, long portletItemId, jakarta.portlet.PortletPreferences jxPortletPreferences) throws PortalException
      Throws:
      PortalException
    • restoreArchivedPreferences

      public static void restoreArchivedPreferences(long groupId, Layout layout, String portletId, PortletItem portletItem, jakarta.portlet.PortletPreferences jxPortletPreferences) throws PortalException
      Throws:
      PortalException
    • restoreArchivedPreferences

      public static void restoreArchivedPreferences(long groupId, String name, Layout layout, String portletId, jakarta.portlet.PortletPreferences jxPortletPreferences) throws PortalException
      Throws:
      PortalException
    • updateArchivePreferences

      public static void updateArchivePreferences(long userId, long groupId, String name, String portletId, jakarta.portlet.PortletPreferences jxPortletPreferences) throws PortalException
      Throws:
      PortalException
    • getService

      public static PortletPreferencesService getService()
    • setService

      public static void setService(PortletPreferencesService service)