com.liferay.portlet
Class PortletPreferencesFactoryUtil

java.lang.Object
  extended by com.liferay.portlet.PortletPreferencesFactoryUtil

public class PortletPreferencesFactoryUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
PortletPreferencesFactoryUtil()
           
 
Method Summary
static javax.portlet.PortletPreferences getLayoutPortletSetup(Layout layout, java.lang.String portletId)
           
static PortalPreferences getPortalPreferences(javax.servlet.http.HttpServletRequest request)
           
static PortalPreferences getPortalPreferences(javax.portlet.PortletRequest portletRequest)
           
static javax.portlet.PortletPreferences getPortletPreferences(javax.servlet.http.HttpServletRequest request, java.lang.String portletId)
           
static PortletPreferencesFactory getPortletPreferencesFactory()
           
static PortletPreferencesIds getPortletPreferencesIds(javax.servlet.http.HttpServletRequest request, Layout selLayout, java.lang.String portletId)
           
static PortletPreferencesIds getPortletPreferencesIds(javax.servlet.http.HttpServletRequest request, java.lang.String portletId)
           
static javax.portlet.PortletPreferences getPortletSetup(javax.servlet.http.HttpServletRequest request, java.lang.String portletId)
           
static javax.portlet.PortletPreferences getPortletSetup(javax.servlet.http.HttpServletRequest request, java.lang.String portletId, java.lang.String defaultPreferences)
           
static javax.portlet.PortletPreferences getPortletSetup(Layout layout, java.lang.String portletId, java.lang.String defaultPreferences)
           
static javax.portlet.PortletPreferences getPortletSetup(javax.portlet.PortletRequest portletRequest)
           
static javax.portlet.PortletPreferences getPortletSetup(javax.portlet.PortletRequest portletRequest, java.lang.String portletId)
           
static javax.portlet.PortletPreferences getPreferences(javax.servlet.http.HttpServletRequest request)
           
static javax.portlet.PreferencesValidator getPreferencesValidator(Portlet portlet)
           
 void setPortletPreferencesFactory(PortletPreferencesFactory portletPreferencesFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletPreferencesFactoryUtil

public PortletPreferencesFactoryUtil()
Method Detail

getLayoutPortletSetup

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

getPortalPreferences

public static PortalPreferences getPortalPreferences(javax.servlet.http.HttpServletRequest request)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPortalPreferences

public static PortalPreferences getPortalPreferences(javax.portlet.PortletRequest portletRequest)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPortletPreferences

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

getPortletPreferencesFactory

public static PortletPreferencesFactory getPortletPreferencesFactory()

getPortletPreferencesIds

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

getPortletPreferencesIds

public static PortletPreferencesIds getPortletPreferencesIds(javax.servlet.http.HttpServletRequest request,
                                                             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 static javax.portlet.PortletPreferences getPortletSetup(Layout layout,
                                                               java.lang.String portletId,
                                                               java.lang.String defaultPreferences)
                                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPortletSetup

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

getPortletSetup

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

getPortletSetup

public static javax.portlet.PortletPreferences getPortletSetup(javax.portlet.PortletRequest portletRequest)
                                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPortletSetup

public static javax.portlet.PortletPreferences getPortletSetup(javax.portlet.PortletRequest portletRequest,
                                                               java.lang.String portletId)
                                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPreferences

public static javax.portlet.PortletPreferences getPreferences(javax.servlet.http.HttpServletRequest request)

getPreferencesValidator

public static javax.portlet.PreferencesValidator getPreferencesValidator(Portlet portlet)

setPortletPreferencesFactory

public void setPortletPreferencesFactory(PortletPreferencesFactory portletPreferencesFactory)