com.liferay.portal.service
Interface PortletPreferencesService


@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface PortletPreferencesService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portal.service.impl.PortletPreferencesServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

Author:
Brian Wing Shun Chan
See Also:
PortletPreferencesServiceUtil

Method Summary
 void deleteArchivedPreferences(long portletItemId)
           
 void restoreArchivedPreferences(long groupId, java.lang.String name, java.lang.String portletId, javax.portlet.PortletPreferences preferences)
           
 void updateArchivePreferences(long userId, long groupId, java.lang.String name, java.lang.String portletId, javax.portlet.PortletPreferences preferences)
           
 

Method Detail

deleteArchivedPreferences

void deleteArchivedPreferences(long portletItemId)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

restoreArchivedPreferences

void restoreArchivedPreferences(long groupId,
                                java.lang.String name,
                                java.lang.String portletId,
                                javax.portlet.PortletPreferences preferences)
                                throws com.liferay.portal.PortalException,
                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateArchivePreferences

void updateArchivePreferences(long userId,
                              long groupId,
                              java.lang.String name,
                              java.lang.String portletId,
                              javax.portlet.PortletPreferences preferences)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException