com.liferay.portlet
Interface PortletPreferencesFactory


public interface PortletPreferencesFactory

View Source

Author:
Brian Wing Shun Chan

Method Summary
 PortalPreferences getPortalPreferences(javax.portlet.ActionRequest req)
           
 PortalPreferences getPortalPreferences(javax.servlet.http.HttpServletRequest req)
           
 PortalPreferences getPortalPreferences(javax.portlet.RenderRequest req)
           
 javax.portlet.PortletPreferences getPortletPreferences(javax.servlet.http.HttpServletRequest req, java.lang.String portletId)
           
 PortletPreferencesIds getPortletPreferencesIds(javax.servlet.http.HttpServletRequest req, Layout selLayout, java.lang.String portletId)
           
 PortletPreferencesIds getPortletPreferencesIds(javax.servlet.http.HttpServletRequest req, java.lang.String portletId)
           
 javax.portlet.PortletPreferences getPortletSetup(javax.portlet.ActionRequest req, java.lang.String portletId)
           
 javax.portlet.PortletPreferences getPortletSetup(javax.servlet.http.HttpServletRequest req, java.lang.String portletId)
           
 javax.portlet.PortletPreferences getPortletSetup(javax.servlet.http.HttpServletRequest req, java.lang.String portletId, java.lang.String defaultPreferences)
           
 javax.portlet.PortletPreferences getPortletSetup(Layout layout, java.lang.String portletId)
           
 javax.portlet.PortletPreferences getPortletSetup(javax.portlet.RenderRequest req, java.lang.String portletId)
           
 javax.portlet.PortletPreferences getPreferences(javax.servlet.http.HttpServletRequest req)
           
 javax.portlet.PreferencesValidator getPreferencesValidator(Portlet portlet)
           
 

Method Detail

getPortalPreferences

PortalPreferences getPortalPreferences(javax.servlet.http.HttpServletRequest req)
                                       throws com.liferay.portal.PortalException,
                                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortalPreferences

PortalPreferences getPortalPreferences(javax.portlet.ActionRequest req)
                                       throws com.liferay.portal.PortalException,
                                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortalPreferences

PortalPreferences getPortalPreferences(javax.portlet.RenderRequest req)
                                       throws com.liferay.portal.PortalException,
                                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortletPreferences

javax.portlet.PortletPreferences getPortletPreferences(javax.servlet.http.HttpServletRequest req,
                                                       java.lang.String portletId)
                                                       throws com.liferay.portal.PortalException,
                                                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortletPreferencesIds

PortletPreferencesIds getPortletPreferencesIds(javax.servlet.http.HttpServletRequest req,
                                               java.lang.String portletId)
                                               throws com.liferay.portal.PortalException,
                                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortletPreferencesIds

PortletPreferencesIds getPortletPreferencesIds(javax.servlet.http.HttpServletRequest req,
                                               Layout selLayout,
                                               java.lang.String portletId)
                                               throws com.liferay.portal.PortalException,
                                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortletSetup

javax.portlet.PortletPreferences getPortletSetup(Layout layout,
                                                 java.lang.String portletId)
                                                 throws com.liferay.portal.PortalException,
                                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortletSetup

javax.portlet.PortletPreferences getPortletSetup(javax.servlet.http.HttpServletRequest req,
                                                 java.lang.String portletId)
                                                 throws com.liferay.portal.PortalException,
                                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortletSetup

javax.portlet.PortletPreferences getPortletSetup(javax.servlet.http.HttpServletRequest req,
                                                 java.lang.String portletId,
                                                 java.lang.String defaultPreferences)
                                                 throws com.liferay.portal.PortalException,
                                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortletSetup

javax.portlet.PortletPreferences getPortletSetup(javax.portlet.ActionRequest req,
                                                 java.lang.String portletId)
                                                 throws com.liferay.portal.PortalException,
                                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortletSetup

javax.portlet.PortletPreferences getPortletSetup(javax.portlet.RenderRequest req,
                                                 java.lang.String portletId)
                                                 throws com.liferay.portal.PortalException,
                                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPreferences

javax.portlet.PortletPreferences getPreferences(javax.servlet.http.HttpServletRequest req)

getPreferencesValidator

javax.portlet.PreferencesValidator getPreferencesValidator(Portlet portlet)