org.apache.myfaces.custom.conversation
Class EndConversationMethodBindingFacade

java.lang.Object
  extended by javax.faces.el.MethodBinding
      extended by org.apache.myfaces.custom.conversation.EndConversationMethodBindingFacade
All Implemented Interfaces:
javax.faces.component.StateHolder

public class EndConversationMethodBindingFacade
extends javax.faces.el.MethodBinding
implements javax.faces.component.StateHolder

a facade for the original method binding to deal with end conversation conditions

Author:
imario@apache.org

Constructor Summary
EndConversationMethodBindingFacade()
           
EndConversationMethodBindingFacade(java.lang.String conversation, java.util.Collection onOutcomes, javax.faces.el.MethodBinding original, java.lang.String errorOutcome, java.lang.Boolean restart, javax.faces.el.MethodBinding restartAction)
           
 
Method Summary
 java.lang.String getConversationName()
           
 java.lang.String getExpressionString()
           
 java.lang.Class getType(javax.faces.context.FacesContext context)
           
 java.lang.Object invoke(javax.faces.context.FacesContext context, java.lang.Object[] values)
           
 boolean isTransient()
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object states)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setTransient(boolean newTransientValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndConversationMethodBindingFacade

public EndConversationMethodBindingFacade()

EndConversationMethodBindingFacade

public EndConversationMethodBindingFacade(java.lang.String conversation,
                                          java.util.Collection onOutcomes,
                                          javax.faces.el.MethodBinding original,
                                          java.lang.String errorOutcome,
                                          java.lang.Boolean restart,
                                          javax.faces.el.MethodBinding restartAction)
Method Detail

getConversationName

public java.lang.String getConversationName()

getExpressionString

public java.lang.String getExpressionString()
Overrides:
getExpressionString in class javax.faces.el.MethodBinding

getType

public java.lang.Class getType(javax.faces.context.FacesContext context)
                        throws javax.faces.el.MethodNotFoundException
Specified by:
getType in class javax.faces.el.MethodBinding
Throws:
javax.faces.el.MethodNotFoundException

invoke

public java.lang.Object invoke(javax.faces.context.FacesContext context,
                               java.lang.Object[] values)
                        throws javax.faces.el.EvaluationException,
                               javax.faces.el.MethodNotFoundException
Specified by:
invoke in class javax.faces.el.MethodBinding
Throws:
javax.faces.el.EvaluationException
javax.faces.el.MethodNotFoundException

setTransient

public void setTransient(boolean newTransientValue)
Specified by:
setTransient in interface javax.faces.component.StateHolder

isTransient

public boolean isTransient()
Specified by:
isTransient in interface javax.faces.component.StateHolder

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object states)
Specified by:
restoreState in interface javax.faces.component.StateHolder

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.