@ProviderType
public class PortletPreferencesServiceUtil
extends Object
PortletPreferencesServiceImpl
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.PortletPreferencesService
,
PortletPreferencesServiceBaseImpl
,
PortletPreferencesServiceImpl
Constructor and Description |
---|
PortletPreferencesServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
deleteArchivedPreferences(long portletItemId) |
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static PortletPreferencesService |
getService() |
static void |
restoreArchivedPreferences(long groupId,
Layout layout,
String portletId,
long portletItemId,
PortletPreferences preferences) |
static void |
restoreArchivedPreferences(long groupId,
Layout layout,
String portletId,
PortletItem portletItem,
PortletPreferences preferences) |
static void |
restoreArchivedPreferences(long groupId,
String name,
Layout layout,
String portletId,
PortletPreferences preferences) |
static void |
updateArchivePreferences(long userId,
long groupId,
String name,
String portletId,
PortletPreferences preferences) |
public static void deleteArchivedPreferences(long portletItemId) throws PortalException
PortalException
public static String getOSGiServiceIdentifier()
public static void restoreArchivedPreferences(long groupId, Layout layout, String portletId, long portletItemId, PortletPreferences preferences) throws PortalException
PortalException
public static void restoreArchivedPreferences(long groupId, Layout layout, String portletId, PortletItem portletItem, PortletPreferences preferences) throws PortalException
PortalException
public static void restoreArchivedPreferences(long groupId, String name, Layout layout, String portletId, PortletPreferences preferences) throws PortalException
PortalException
public static void updateArchivePreferences(long userId, long groupId, String name, String portletId, PortletPreferences preferences) throws PortalException
PortalException
public static PortletPreferencesService getService()