public class PortletFacesContextImpl
extends javax.faces.context.FacesContext
PortletExternalContextImpl
in its constructor. The rest of the method implementations mimic the equivalent
methods in the default FacesContext implementation.Constructor and Description |
---|
PortletFacesContextImpl(javax.faces.context.ExternalContext externalContext) |
PortletFacesContextImpl(javax.portlet.PortletContext portletContext,
javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse) |
Modifier and Type | Method and Description |
---|---|
void |
addMessage(java.lang.String clientId,
javax.faces.application.FacesMessage message) |
javax.faces.application.Application |
getApplication() |
java.util.Map<java.lang.Object,java.lang.Object> |
getAttributes() |
java.util.Iterator<java.lang.String> |
getClientIdsWithMessages() |
javax.faces.event.PhaseId |
getCurrentPhaseId() |
javax.el.ELContext |
getELContext() |
javax.faces.context.ExceptionHandler |
getExceptionHandler() |
javax.faces.context.ExternalContext |
getExternalContext() |
javax.faces.application.FacesMessage.Severity |
getMaximumSeverity() |
java.util.List<javax.faces.application.FacesMessage> |
getMessageList() |
java.util.List<javax.faces.application.FacesMessage> |
getMessageList(java.lang.String clientId) |
java.util.Iterator<javax.faces.application.FacesMessage> |
getMessages() |
java.util.Iterator<javax.faces.application.FacesMessage> |
getMessages(java.lang.String clientId) |
javax.faces.context.PartialViewContext |
getPartialViewContext() |
javax.faces.render.RenderKit |
getRenderKit() |
boolean |
getRenderResponse() |
boolean |
getResponseComplete() |
javax.faces.context.ResponseStream |
getResponseStream() |
javax.faces.context.ResponseWriter |
getResponseWriter() |
javax.faces.component.UIViewRoot |
getViewRoot() |
boolean |
isPostback() |
boolean |
isProcessingEvents() |
boolean |
isProjectStage(javax.faces.application.ProjectStage stage) |
boolean |
isReleased() |
boolean |
isValidationFailed() |
void |
release() |
void |
renderResponse() |
void |
responseComplete() |
void |
setCurrentPhaseId(javax.faces.event.PhaseId currentPhaseId) |
void |
setExceptionHandler(javax.faces.context.ExceptionHandler exceptionHandler) |
void |
setProcessingEvents(boolean processingEvents) |
void |
setResponseStream(javax.faces.context.ResponseStream responseStream) |
void |
setResponseWriter(javax.faces.context.ResponseWriter responseWriter) |
void |
setViewRoot(javax.faces.component.UIViewRoot viewRoot) |
void |
validationFailed() |
public PortletFacesContextImpl(javax.faces.context.ExternalContext externalContext)
public PortletFacesContextImpl(javax.portlet.PortletContext portletContext, javax.portlet.PortletRequest portletRequest, javax.portlet.PortletResponse portletResponse)
public void release()
release
in class javax.faces.context.FacesContext
public javax.faces.context.ExternalContext getExternalContext()
getExternalContext
in class javax.faces.context.FacesContext
public javax.faces.application.Application getApplication()
getApplication
in class javax.faces.context.FacesContext
public javax.faces.render.RenderKit getRenderKit()
getRenderKit
in class javax.faces.context.FacesContext
public boolean getRenderResponse()
getRenderResponse
in class javax.faces.context.FacesContext
public boolean getResponseComplete()
getResponseComplete
in class javax.faces.context.FacesContext
public javax.faces.context.ResponseStream getResponseStream()
getResponseStream
in class javax.faces.context.FacesContext
public void setResponseStream(javax.faces.context.ResponseStream responseStream)
setResponseStream
in class javax.faces.context.FacesContext
public javax.faces.context.ResponseWriter getResponseWriter()
getResponseWriter
in class javax.faces.context.FacesContext
public void setResponseWriter(javax.faces.context.ResponseWriter responseWriter)
setResponseWriter
in class javax.faces.context.FacesContext
public javax.faces.component.UIViewRoot getViewRoot()
getViewRoot
in class javax.faces.context.FacesContext
public void setViewRoot(javax.faces.component.UIViewRoot viewRoot)
setViewRoot
in class javax.faces.context.FacesContext
public void renderResponse()
renderResponse
in class javax.faces.context.FacesContext
public void responseComplete()
responseComplete
in class javax.faces.context.FacesContext
public javax.el.ELContext getELContext()
getELContext
in class javax.faces.context.FacesContext
public void addMessage(java.lang.String clientId, javax.faces.application.FacesMessage message)
addMessage
in class javax.faces.context.FacesContext
public javax.faces.application.FacesMessage.Severity getMaximumSeverity()
getMaximumSeverity
in class javax.faces.context.FacesContext
public java.util.Iterator<javax.faces.application.FacesMessage> getMessages()
getMessages
in class javax.faces.context.FacesContext
public java.util.List<javax.faces.application.FacesMessage> getMessageList()
getMessageList
in class javax.faces.context.FacesContext
public java.util.Iterator<javax.faces.application.FacesMessage> getMessages(java.lang.String clientId)
getMessages
in class javax.faces.context.FacesContext
public java.util.List<javax.faces.application.FacesMessage> getMessageList(java.lang.String clientId)
getMessageList
in class javax.faces.context.FacesContext
public java.util.Iterator<java.lang.String> getClientIdsWithMessages()
getClientIdsWithMessages
in class javax.faces.context.FacesContext
public java.util.Map<java.lang.Object,java.lang.Object> getAttributes()
getAttributes
in class javax.faces.context.FacesContext
public javax.faces.event.PhaseId getCurrentPhaseId()
getCurrentPhaseId
in class javax.faces.context.FacesContext
public javax.faces.context.ExceptionHandler getExceptionHandler()
getExceptionHandler
in class javax.faces.context.FacesContext
public boolean isPostback()
isPostback
in class javax.faces.context.FacesContext
public boolean isReleased()
isReleased
in class javax.faces.context.FacesContext
public boolean isValidationFailed()
isValidationFailed
in class javax.faces.context.FacesContext
public void setCurrentPhaseId(javax.faces.event.PhaseId currentPhaseId)
setCurrentPhaseId
in class javax.faces.context.FacesContext
public void setExceptionHandler(javax.faces.context.ExceptionHandler exceptionHandler)
setExceptionHandler
in class javax.faces.context.FacesContext
public void validationFailed()
validationFailed
in class javax.faces.context.FacesContext
public javax.faces.context.PartialViewContext getPartialViewContext()
getPartialViewContext
in class javax.faces.context.FacesContext
public boolean isProcessingEvents()
isProcessingEvents
in class javax.faces.context.FacesContext
public void setProcessingEvents(boolean processingEvents)
setProcessingEvents
in class javax.faces.context.FacesContext
public boolean isProjectStage(javax.faces.application.ProjectStage stage)
isProjectStage
in class javax.faces.context.FacesContext