Liferay 6.0.5

com.liferay.util.bridges.jsf.common
Class JSFPortletUtil

java.lang.Object
  extended by com.liferay.util.bridges.jsf.common.JSFPortletUtil

public class JSFPortletUtil
extends Object


Constructor Summary
JSFPortletUtil()
           
 
Method Summary
static long getCompanyId(javax.faces.context.FacesContext facesContext)
           
static long getCompanyId(PortletRequest portletRequest)
           
static Locale getLocale(javax.faces.context.FacesContext facesContext)
           
static PortletPreferences getPortletPreferences(javax.faces.context.FacesContext facesContext)
           
static PortletRequest getPortletRequest(javax.faces.context.FacesContext facesContext)
           
static String getPreferenceValue(javax.faces.context.FacesContext facesContext, String preferenceName)
           
static String getPreferenceValue(javax.faces.context.FacesContext facesContext, String preferenceName, String defaultValue)
           
static String getPreferenceValue(PortletPreferences portletPreferences, String preferenceName)
           
static String getPreferenceValue(PortletPreferences portletPreferences, String preferenceName, String defaultValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSFPortletUtil

public JSFPortletUtil()
Method Detail

getCompanyId

public static long getCompanyId(javax.faces.context.FacesContext facesContext)

getCompanyId

public static long getCompanyId(PortletRequest portletRequest)

getLocale

public static Locale getLocale(javax.faces.context.FacesContext facesContext)

getPortletPreferences

public static PortletPreferences getPortletPreferences(javax.faces.context.FacesContext facesContext)

getPortletRequest

public static PortletRequest getPortletRequest(javax.faces.context.FacesContext facesContext)

getPreferenceValue

public static String getPreferenceValue(javax.faces.context.FacesContext facesContext,
                                        String preferenceName)

getPreferenceValue

public static String getPreferenceValue(PortletPreferences portletPreferences,
                                        String preferenceName)

getPreferenceValue

public static String getPreferenceValue(javax.faces.context.FacesContext facesContext,
                                        String preferenceName,
                                        String defaultValue)

getPreferenceValue

public static String getPreferenceValue(PortletPreferences portletPreferences,
                                        String preferenceName,
                                        String defaultValue)

Liferay 6.0.5