javax.faces.application
Class NavigationCase

java.lang.Object
  extended by javax.faces.application.NavigationCase
Direct Known Subclasses:
NavigationCaseWrapper

public class NavigationCase
extends Object

Since:
2.0
Version:
$Revision: 1488347 $ $Date: 2013-05-31 13:30:47 -0500 (Fri, 31 May 2013) $
Author:
Simon Lessard (latest modification by $Author: lu4242 $)

Constructor Summary
NavigationCase(String fromViewId, String fromAction, String fromOutcome, String condition, String toViewId, Map<String,List<String>> parameters, boolean redirect, boolean includeViewParams)
           
NavigationCase(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 o)
          
 URL getActionURL(FacesContext context)
           
 URL getBookmarkableURL(FacesContext context)
           
 Boolean getCondition(FacesContext context)
           
 String getFromAction()
           
 String getFromOutcome()
           
 String getFromViewId()
           
 Map<String,List<String>> getParameters()
           
 URL getRedirectURL(FacesContext context)
           
 URL getResourceURL(FacesContext context)
           
 String getToFlowDocumentId()
           
 String getToViewId(FacesContext context)
           
 boolean hasCondition()
           
 int hashCode()
          
 boolean isIncludeViewParams()
           
 boolean isRedirect()
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NavigationCase

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

NavigationCase

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

equals

public boolean equals(Object o)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

getActionURL

public URL getActionURL(FacesContext context)
                 throws MalformedURLException
Throws:
MalformedURLException

getCondition

public Boolean getCondition(FacesContext context)

getFromAction

public String getFromAction()

getFromOutcome

public String getFromOutcome()

getFromViewId

public String getFromViewId()

getBookmarkableURL

public URL getBookmarkableURL(FacesContext context)
                       throws MalformedURLException
Throws:
MalformedURLException

getResourceURL

public URL getResourceURL(FacesContext context)
                   throws MalformedURLException
Throws:
MalformedURLException

getRedirectURL

public URL getRedirectURL(FacesContext context)
                   throws MalformedURLException
Throws:
MalformedURLException

getParameters

public Map<String,List<String>> getParameters()

getToViewId

public String getToViewId(FacesContext context)

hasCondition

public boolean hasCondition()

isIncludeViewParams

public boolean isIncludeViewParams()

isRedirect

public boolean isRedirect()

getToFlowDocumentId

public String getToFlowDocumentId()
Returns:
Since:
2.2

toString

public String toString()

Overrides:
toString in class Object


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