Class PortletPreferencesServiceUtil
Object
com.liferay.portal.kernel.service.PortletPreferencesServiceUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddeleteArchivedPreferences(long portletItemId) static StringReturns the OSGi service identifier.static PortletPreferencesServicestatic voidrestoreArchivedPreferences(long groupId, Layout layout, String portletId, long portletItemId, PortletPreferences jxPortletPreferences) static voidrestoreArchivedPreferences(long groupId, Layout layout, String portletId, PortletItem portletItem, PortletPreferences jxPortletPreferences) static voidrestoreArchivedPreferences(long groupId, String name, Layout layout, String portletId, PortletPreferences jxPortletPreferences) static voidsetService(PortletPreferencesService service) static voidupdateArchivePreferences(long userId, long groupId, String name, String portletId, PortletPreferences jxPortletPreferences)
-
Constructor Details
-
PortletPreferencesServiceUtil
public PortletPreferencesServiceUtil()
-
-
Method Details
-
deleteArchivedPreferences
- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
restoreArchivedPreferences
public static void restoreArchivedPreferences(long groupId, Layout layout, String portletId, long portletItemId, PortletPreferences jxPortletPreferences) throws PortalException - Throws:
PortalException
-
restoreArchivedPreferences
public static void restoreArchivedPreferences(long groupId, Layout layout, String portletId, PortletItem portletItem, PortletPreferences jxPortletPreferences) throws PortalException - Throws:
PortalException
-
restoreArchivedPreferences
public static void restoreArchivedPreferences(long groupId, String name, Layout layout, String portletId, PortletPreferences jxPortletPreferences) throws PortalException - Throws:
PortalException
-
updateArchivePreferences
public static void updateArchivePreferences(long userId, long groupId, String name, String portletId, PortletPreferences jxPortletPreferences) throws PortalException - Throws:
PortalException
-
getService
-
setService
-