Liferay 6.2.0

com.liferay.portal.service
Interface PortletPreferencesService

All Superinterfaces:
BaseService
All Known Implementing Classes:
PortletPreferencesServiceWrapper

@ProviderType
@AccessControlled
@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface PortletPreferencesService
extends BaseService

Provides the remote service interface for PortletPreferences. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
PortletPreferencesServiceUtil, PortletPreferencesServiceBaseImpl, com.liferay.portal.service.impl.PortletPreferencesServiceImpl

Method Summary
abstract  void deleteArchivedPreferences(long portletItemId)
           
abstract  String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
abstract  void restoreArchivedPreferences(long groupId, Layout layout, String portletId, long portletItemId, PortletPreferences preferences)
           
abstract  void restoreArchivedPreferences(long groupId, Layout layout, String portletId, PortletItem portletItem, PortletPreferences preferences)
           
abstract  void restoreArchivedPreferences(long groupId, String name, Layout layout, String portletId, PortletPreferences preferences)
           
abstract  void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
abstract  void updateArchivePreferences(long userId, long groupId, String name, String portletId, PortletPreferences preferences)
           
 

Method Detail

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

deleteArchivedPreferences

void deleteArchivedPreferences(long portletItemId)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

restoreArchivedPreferences

void restoreArchivedPreferences(long groupId,
                                Layout layout,
                                String portletId,
                                long portletItemId,
                                PortletPreferences preferences)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

restoreArchivedPreferences

void restoreArchivedPreferences(long groupId,
                                Layout layout,
                                String portletId,
                                PortletItem portletItem,
                                PortletPreferences preferences)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

restoreArchivedPreferences

void restoreArchivedPreferences(long groupId,
                                String name,
                                Layout layout,
                                String portletId,
                                PortletPreferences preferences)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

updateArchivePreferences

void updateArchivePreferences(long userId,
                              long groupId,
                              String name,
                              String portletId,
                              PortletPreferences preferences)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

Liferay 6.2.0