public final class BridgeUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Bridge.PortletPhase |
getPortletRequestPhase()
Indicates the portlet lifecycle phase currently being executed within the execution of the Faces lifecycle.
|
static Bridge.PortletPhase |
getPortletRequestPhase(javax.faces.context.FacesContext facesContext)
Indicates the portlet lifecycle phase currently being executed within the execution of the Faces lifecycle.
|
static boolean |
isPortletRequest()
Indicates whether the current request is executing in the portlet container.
|
static boolean |
isPortletRequest(javax.faces.context.FacesContext facesContext)
Indicates whether the current request is executing in the portlet container.
|
public static Bridge.PortletPhase getPortletRequestPhase()
null
.public static Bridge.PortletPhase getPortletRequestPhase(javax.faces.context.FacesContext facesContext)
facesContext
- The current Faces context.null
.public static boolean isPortletRequest()
true
if the request is a portlet request, otherwise false
.public static boolean isPortletRequest(javax.faces.context.FacesContext facesContext)
facesContext
- The current Faces context.true
if the request is a portlet request, otherwise false
.Copyright © 2018 Liferay, Inc. All rights reserved.