com.liferay.portlet
Class PortletPreferencesFactoryImpl

java.lang.Object
  extended bycom.liferay.portlet.PortletPreferencesFactoryImpl
All Implemented Interfaces:
com.liferay.portlet.PortletPreferencesFactory

public class PortletPreferencesFactoryImpl
extends java.lang.Object
implements com.liferay.portlet.PortletPreferencesFactory

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
PortletPreferencesFactoryImpl()
           
 
Method Summary
 com.liferay.portlet.PortalPreferences getPortalPreferences(javax.portlet.ActionRequest req)
           
 com.liferay.portlet.PortalPreferences getPortalPreferences(javax.servlet.http.HttpServletRequest req)
           
 com.liferay.portlet.PortalPreferences getPortalPreferences(javax.portlet.RenderRequest req)
           
 javax.portlet.PortletPreferences getPortletPreferences(javax.servlet.http.HttpServletRequest req, java.lang.String portletId)
           
 com.liferay.portal.model.PortletPreferencesIds getPortletPreferencesIds(javax.servlet.http.HttpServletRequest req, com.liferay.portal.model.Layout selLayout, java.lang.String portletId)
           
 com.liferay.portal.model.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(com.liferay.portal.model.Layout layout, java.lang.String portletId)
           
 javax.portlet.PortletPreferences getPortletSetup(com.liferay.portal.model.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(com.liferay.portal.model.Portlet portlet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletPreferencesFactoryImpl

public PortletPreferencesFactoryImpl()
Method Detail

getPortalPreferences

public com.liferay.portlet.PortalPreferences getPortalPreferences(javax.servlet.http.HttpServletRequest req)
                                                           throws com.liferay.portal.PortalException,
                                                                  com.liferay.portal.SystemException
Specified by:
getPortalPreferences in interface com.liferay.portlet.PortletPreferencesFactory
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortalPreferences

public com.liferay.portlet.PortalPreferences getPortalPreferences(javax.portlet.ActionRequest req)
                                                           throws com.liferay.portal.PortalException,
                                                                  com.liferay.portal.SystemException
Specified by:
getPortalPreferences in interface com.liferay.portlet.PortletPreferencesFactory
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortalPreferences

public com.liferay.portlet.PortalPreferences getPortalPreferences(javax.portlet.RenderRequest req)
                                                           throws com.liferay.portal.PortalException,
                                                                  com.liferay.portal.SystemException
Specified by:
getPortalPreferences in interface com.liferay.portlet.PortletPreferencesFactory
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
Specified by:
getPortletPreferences in interface com.liferay.portlet.PortletPreferencesFactory
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortletPreferencesIds

public com.liferay.portal.model.PortletPreferencesIds getPortletPreferencesIds(javax.servlet.http.HttpServletRequest req,
                                                                               java.lang.String portletId)
                                                                        throws com.liferay.portal.PortalException,
                                                                               com.liferay.portal.SystemException
Specified by:
getPortletPreferencesIds in interface com.liferay.portlet.PortletPreferencesFactory
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortletPreferencesIds

public com.liferay.portal.model.PortletPreferencesIds getPortletPreferencesIds(javax.servlet.http.HttpServletRequest req,
                                                                               com.liferay.portal.model.Layout selLayout,
                                                                               java.lang.String portletId)
                                                                        throws com.liferay.portal.PortalException,
                                                                               com.liferay.portal.SystemException
Specified by:
getPortletPreferencesIds in interface com.liferay.portlet.PortletPreferencesFactory
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortletSetup

public javax.portlet.PortletPreferences getPortletSetup(com.liferay.portal.model.Layout layout,
                                                        java.lang.String portletId)
                                                 throws com.liferay.portal.PortalException,
                                                        com.liferay.portal.SystemException
Specified by:
getPortletSetup in interface com.liferay.portlet.PortletPreferencesFactory
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
Specified by:
getPortletSetup in interface com.liferay.portlet.PortletPreferencesFactory
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
Specified by:
getPortletSetup in interface com.liferay.portlet.PortletPreferencesFactory
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortletSetup

public javax.portlet.PortletPreferences getPortletSetup(com.liferay.portal.model.Layout layout,
                                                        java.lang.String portletId,
                                                        boolean uniquePerLayout,
                                                        boolean uniquePerGroup,
                                                        java.lang.String defaultPreferences)
                                                 throws com.liferay.portal.PortalException,
                                                        com.liferay.portal.SystemException
Specified by:
getPortletSetup in interface com.liferay.portlet.PortletPreferencesFactory
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
Specified by:
getPortletSetup in interface com.liferay.portlet.PortletPreferencesFactory
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
Specified by:
getPortletSetup in interface com.liferay.portlet.PortletPreferencesFactory
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPreferences

public javax.portlet.PortletPreferences getPreferences(javax.servlet.http.HttpServletRequest req)
Specified by:
getPreferences in interface com.liferay.portlet.PortletPreferencesFactory

getPreferencesValidator

public javax.portlet.PreferencesValidator getPreferencesValidator(com.liferay.portal.model.Portlet portlet)
Specified by:
getPreferencesValidator in interface com.liferay.portlet.PortletPreferencesFactory