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, boolean uniquePerLayout, boolean uniquePerGroup)
           
 javax.portlet.PortletPreferences getPortletSetup(javax.servlet.http.HttpServletRequest req, java.lang.String portletId, boolean uniquePerLayout, boolean uniquePerGroup)
           
 javax.portlet.PortletPreferences getPortletSetup(javax.servlet.http.HttpServletRequest req, java.lang.String portletId, boolean uniquePerLayout, boolean uniquePerGroup, java.lang.String defaultPreferences)
           
 javax.portlet.PortletPreferences getPortletSetup(Layout layout, java.lang.String portletId)
           
 javax.portlet.PortletPreferences getPortletSetup(Layout layout, java.lang.String portletId, boolean uniquePerLayout, boolean uniquePerGroup, java.lang.String defaultPreferences)
           
 javax.portlet.PortletPreferences getPortletSetup(javax.portlet.RenderRequest req, java.lang.String portletId, boolean uniquePerLayout, boolean uniquePerGroup)
           
 javax.portlet.PortletPreferences getPreferences(javax.servlet.http.HttpServletRequest req)
           
 javax.portlet.PreferencesValidator getPreferencesValidator(Portlet portlet)
           
 

Method Detail

getPortalPreferences

public 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

public 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

public 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

public 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

public 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

public 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

public 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

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

getPortletSetup

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

getPortletSetup

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

getPortletSetup

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

getPortletSetup

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

getPreferences

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

getPreferencesValidator

public javax.portlet.PreferencesValidator getPreferencesValidator(Portlet portlet)