public class PortletPreferencesServiceUtil
extends Object
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.PortletPreferencesService
Constructor and Description |
---|
PortletPreferencesServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
deleteArchivedPreferences(long portletItemId)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static PortletPreferencesService |
getService() |
static void |
restoreArchivedPreferences(long groupId,
Layout layout,
String portletId,
long portletItemId,
PortletPreferences jxPortletPreferences) |
static void |
restoreArchivedPreferences(long groupId,
Layout layout,
String portletId,
PortletItem portletItem,
PortletPreferences jxPortletPreferences) |
static void |
restoreArchivedPreferences(long groupId,
String name,
Layout layout,
String portletId,
PortletPreferences jxPortletPreferences) |
static void |
updateArchivePreferences(long userId,
long groupId,
String name,
String portletId,
PortletPreferences jxPortletPreferences) |
public static void deleteArchivedPreferences(long portletItemId) throws PortalException
PortletPreferencesServiceUtil
to access the portlet preferences remote service. Add custom service methods to com.liferay.portal.service.impl.PortletPreferencesServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.PortalException
public static String getOSGiServiceIdentifier()
public static void restoreArchivedPreferences(long groupId, Layout layout, String portletId, long portletItemId, PortletPreferences jxPortletPreferences) throws PortalException
PortalException
public static void restoreArchivedPreferences(long groupId, Layout layout, String portletId, PortletItem portletItem, PortletPreferences jxPortletPreferences) throws PortalException
PortalException
public static void restoreArchivedPreferences(long groupId, String name, Layout layout, String portletId, PortletPreferences jxPortletPreferences) throws PortalException
PortalException
public static void updateArchivePreferences(long userId, long groupId, String name, String portletId, PortletPreferences jxPortletPreferences) throws PortalException
PortalException
public static PortletPreferencesService getService()