@ProviderType
public class PortletPreferencesServiceUtil
extends java.lang.Object
com.liferay.portal.service.impl.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,
com.liferay.portal.service.impl.PortletPreferencesServiceImpl| Constructor and Description |
|---|
PortletPreferencesServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteArchivedPreferences(long portletItemId) |
static java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
static PortletPreferencesService |
getService() |
static void |
restoreArchivedPreferences(long groupId,
Layout layout,
java.lang.String portletId,
long portletItemId,
javax.portlet.PortletPreferences preferences) |
static void |
restoreArchivedPreferences(long groupId,
Layout layout,
java.lang.String portletId,
PortletItem portletItem,
javax.portlet.PortletPreferences preferences) |
static void |
restoreArchivedPreferences(long groupId,
java.lang.String name,
Layout layout,
java.lang.String portletId,
javax.portlet.PortletPreferences preferences) |
static void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(PortletPreferencesService service)
Deprecated.
As of 6.2.0
|
static void |
updateArchivePreferences(long userId,
long groupId,
java.lang.String name,
java.lang.String portletId,
javax.portlet.PortletPreferences preferences) |
public static java.lang.String getBeanIdentifier()
public static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static void deleteArchivedPreferences(long portletItemId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void restoreArchivedPreferences(long groupId,
Layout layout,
java.lang.String portletId,
long portletItemId,
javax.portlet.PortletPreferences preferences)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void restoreArchivedPreferences(long groupId,
Layout layout,
java.lang.String portletId,
PortletItem portletItem,
javax.portlet.PortletPreferences preferences)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void restoreArchivedPreferences(long groupId,
java.lang.String name,
Layout layout,
java.lang.String portletId,
javax.portlet.PortletPreferences preferences)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void updateArchivePreferences(long userId,
long groupId,
java.lang.String name,
java.lang.String portletId,
javax.portlet.PortletPreferences preferences)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static PortletPreferencesService getService()
public void setService(PortletPreferencesService service)