001
014
015 package com.liferay.portal.service;
016
017 import com.liferay.portal.kernel.annotation.Isolation;
018 import com.liferay.portal.kernel.annotation.Transactional;
019 import com.liferay.portal.kernel.exception.PortalException;
020 import com.liferay.portal.kernel.exception.SystemException;
021
022
039 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
040 PortalException.class, SystemException.class})
041 public interface PortletPreferencesService {
042 public void deleteArchivedPreferences(long portletItemId)
043 throws com.liferay.portal.kernel.exception.PortalException,
044 com.liferay.portal.kernel.exception.SystemException;
045
046 public void restoreArchivedPreferences(long groupId, java.lang.String name,
047 java.lang.String portletId, javax.portlet.PortletPreferences preferences)
048 throws com.liferay.portal.kernel.exception.PortalException,
049 com.liferay.portal.kernel.exception.SystemException;
050
051 public void updateArchivePreferences(long userId, long groupId,
052 java.lang.String name, java.lang.String portletId,
053 javax.portlet.PortletPreferences preferences)
054 throws com.liferay.portal.kernel.exception.PortalException,
055 com.liferay.portal.kernel.exception.SystemException;
056 }