org.apache.myfaces.flow
Class NavigationCaseImpl

java.lang.Object
  extended by javax.faces.application.NavigationCase
      extended by org.apache.myfaces.flow.NavigationCaseImpl
All Implemented Interfaces:
Freezable

public class NavigationCaseImpl
extends NavigationCase
implements Freezable

Author:
lu4242

Constructor Summary
NavigationCaseImpl()
           
NavigationCaseImpl(String fromViewId, String fromAction, String fromOutcome, String condition, String toViewId, Map<String,List<String>> parameters, boolean redirect, boolean includeViewParams)
           
NavigationCaseImpl(String fromViewId, String fromAction, String fromOutcome, String condition, String toViewId, String toFlowDocumentId, Map<String,List<String>> parameters, boolean redirect, boolean includeViewParams)
           
 
Method Summary
 boolean equals(Object obj)
           
 void freeze()
          Call this method when the object will be made available to the runtime
 String getCondition()
           
 Boolean getCondition(FacesContext context)
           
 javax.el.ValueExpression getConditionExpression()
           
 String getFromAction()
           
 String getFromOutcome()
           
 String getFromViewId()
           
 Map<String,List<String>> getParameters()
           
 String getToFlowDocumentId()
           
 String getToViewId()
           
 String getToViewId(FacesContext context)
           
 javax.el.ValueExpression getToViewIdExpression()
           
 boolean hasCondition()
           
 int hashCode()
           
 boolean isIncludeViewParams()
           
 boolean isRedirect()
           
 void setCondition(String condition)
           
 void setConditionExpression(javax.el.ValueExpression conditionExpression)
           
 void setFromAction(String fromAction)
           
 void setFromOutcome(String fromOutcome)
           
 void setFromViewId(String fromViewId)
           
 void setIncludeViewParams(boolean includeViewParams)
           
 void setParameters(Map<String,List<String>> parameters)
           
 void setRedirect(boolean redirect)
           
 void setToFlowDocumentId(String toFlowDocumentId)
           
 void setToViewId(String toViewId)
           
 void setToViewIdExpression(javax.el.ValueExpression toViewIdExpression)
           
 
Methods inherited from class javax.faces.application.NavigationCase
getActionURL, getBookmarkableURL, getRedirectURL, getResourceURL, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NavigationCaseImpl

public NavigationCaseImpl()

NavigationCaseImpl

public NavigationCaseImpl(String fromViewId,
                          String fromAction,
                          String fromOutcome,
                          String condition,
                          String toViewId,
                          Map<String,List<String>> parameters,
                          boolean redirect,
                          boolean includeViewParams)

NavigationCaseImpl

public NavigationCaseImpl(String fromViewId,
                          String fromAction,
                          String fromOutcome,
                          String condition,
                          String toViewId,
                          String toFlowDocumentId,
                          Map<String,List<String>> parameters,
                          boolean redirect,
                          boolean includeViewParams)
Method Detail

getCondition

public String getCondition()
Returns:
the _condition

setCondition

public void setCondition(String condition)
Parameters:
condition - the _condition to set

getFromAction

public String getFromAction()
Overrides:
getFromAction in class NavigationCase
Returns:
the _fromAction

setFromAction

public void setFromAction(String fromAction)
Parameters:
fromAction - the _fromAction to set

getFromOutcome

public String getFromOutcome()
Overrides:
getFromOutcome in class NavigationCase
Returns:
the _fromOutcome

setFromOutcome

public void setFromOutcome(String fromOutcome)
Parameters:
fromOutcome - the _fromOutcome to set

getFromViewId

public String getFromViewId()
Overrides:
getFromViewId in class NavigationCase
Returns:
the _fromViewId

setFromViewId

public void setFromViewId(String fromViewId)
Parameters:
fromViewId - the _fromViewId to set

getToViewId

public String getToViewId()
Returns:
the _toViewId

setToViewId

public void setToViewId(String toViewId)
Parameters:
toViewId - the _toViewId to set

getToFlowDocumentId

public String getToFlowDocumentId()
Overrides:
getToFlowDocumentId in class NavigationCase
Returns:
the _toFlowDocumentId

setToFlowDocumentId

public void setToFlowDocumentId(String toFlowDocumentId)
Parameters:
toFlowDocumentId - the _toFlowDocumentId to set

isIncludeViewParams

public boolean isIncludeViewParams()
Overrides:
isIncludeViewParams in class NavigationCase
Returns:
the _includeViewParams

setIncludeViewParams

public void setIncludeViewParams(boolean includeViewParams)
Parameters:
includeViewParams - the _includeViewParams to set

isRedirect

public boolean isRedirect()
Overrides:
isRedirect in class NavigationCase
Returns:
the _redirect

setRedirect

public void setRedirect(boolean redirect)
Parameters:
redirect - the _redirect to set

getParameters

public Map<String,List<String>> getParameters()
Overrides:
getParameters in class NavigationCase
Returns:
the _parameters

setParameters

public void setParameters(Map<String,List<String>> parameters)
Parameters:
parameters - the _parameters to set

getConditionExpression

public javax.el.ValueExpression getConditionExpression()
Returns:
the _conditionExpression

setConditionExpression

public void setConditionExpression(javax.el.ValueExpression conditionExpression)
Parameters:
conditionExpression - the _conditionExpression to set

getToViewIdExpression

public javax.el.ValueExpression getToViewIdExpression()
Returns:
the _toViewIdExpression

setToViewIdExpression

public void setToViewIdExpression(javax.el.ValueExpression toViewIdExpression)
Parameters:
toViewIdExpression - the _toViewIdExpression to set

getCondition

public Boolean getCondition(FacesContext context)
Overrides:
getCondition in class NavigationCase

getToViewId

public String getToViewId(FacesContext context)
Overrides:
getToViewId in class NavigationCase

hasCondition

public boolean hasCondition()
Overrides:
hasCondition in class NavigationCase

hashCode

public int hashCode()
Overrides:
hashCode in class NavigationCase

equals

public boolean equals(Object obj)
Overrides:
equals in class NavigationCase

freeze

public void freeze()
Description copied from interface: Freezable
Call this method when the object will be made available to the runtime

Specified by:
freeze in interface Freezable


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