com.caucho.jsf.cfg
Class NavigationRule

java.lang.Object
  extended by com.caucho.jsf.cfg.NavigationRule
All Implemented Interfaces:
java.lang.Comparable<NavigationRule>

public class NavigationRule
extends java.lang.Object
implements java.lang.Comparable<NavigationRule>


Nested Class Summary
static class NavigationRule.NavigationCase
           
static class NavigationRule.Redirect
           
 
Constructor Summary
NavigationRule()
           
 
Method Summary
 void addNavigationCase(NavigationRule.NavigationCase navCase)
           
 int compareTo(NavigationRule rule)
           
 int getCost()
           
 boolean handleNavigation(FacesContext context, java.lang.String action, java.lang.String outcome)
           
 boolean isMatch(java.lang.String url)
           
 void setDescription(java.lang.String description)
           
 void setDisplayName(java.lang.String displayName)
           
 void setFromViewId(java.lang.String viewId)
           
 void setId(java.lang.String id)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NavigationRule

public NavigationRule()
Method Detail

setId

public void setId(java.lang.String id)

setDescription

public void setDescription(java.lang.String description)

setDisplayName

public void setDisplayName(java.lang.String displayName)

getCost

public int getCost()

compareTo

public int compareTo(NavigationRule rule)
Specified by:
compareTo in interface java.lang.Comparable<NavigationRule>

setFromViewId

public void setFromViewId(java.lang.String viewId)

isMatch

public boolean isMatch(java.lang.String url)

addNavigationCase

public void addNavigationCase(NavigationRule.NavigationCase navCase)

handleNavigation

public boolean handleNavigation(FacesContext context,
                                java.lang.String action,
                                java.lang.String outcome)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object