001
014
015 package com.liferay.portal.service;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018 import com.liferay.portal.kernel.exception.SystemException;
019 import com.liferay.portal.kernel.jsonwebservice.JSONWebService;
020 import com.liferay.portal.kernel.transaction.Isolation;
021 import com.liferay.portal.kernel.transaction.Transactional;
022 import com.liferay.portal.security.ac.AccessControlled;
023
024
037 @AccessControlled
038 @JSONWebService
039 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
040 PortalException.class, SystemException.class})
041 public interface PortletPreferencesService extends BaseService {
042
047
048
053 public java.lang.String getBeanIdentifier();
054
055
060 public void setBeanIdentifier(java.lang.String beanIdentifier);
061
062 public void deleteArchivedPreferences(long portletItemId)
063 throws com.liferay.portal.kernel.exception.PortalException,
064 com.liferay.portal.kernel.exception.SystemException;
065
066 public void restoreArchivedPreferences(long groupId,
067 com.liferay.portal.model.Layout layout, java.lang.String portletId,
068 long portletItemId, javax.portlet.PortletPreferences preferences)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException;
071
072 public void restoreArchivedPreferences(long groupId,
073 com.liferay.portal.model.Layout layout, java.lang.String portletId,
074 com.liferay.portal.model.PortletItem portletItem,
075 javax.portlet.PortletPreferences preferences)
076 throws com.liferay.portal.kernel.exception.PortalException,
077 com.liferay.portal.kernel.exception.SystemException;
078
079 public void restoreArchivedPreferences(long groupId, java.lang.String name,
080 com.liferay.portal.model.Layout layout, java.lang.String portletId,
081 javax.portlet.PortletPreferences preferences)
082 throws com.liferay.portal.kernel.exception.PortalException,
083 com.liferay.portal.kernel.exception.SystemException;
084
085 public void updateArchivePreferences(long userId, long groupId,
086 java.lang.String name, java.lang.String portletId,
087 javax.portlet.PortletPreferences preferences)
088 throws com.liferay.portal.kernel.exception.PortalException,
089 com.liferay.portal.kernel.exception.SystemException;
090 }