You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2009/07/10 02:37:56 UTC

svn commit: r792768 - /myfaces/core/trunk/api/src/main/java/javax/faces/application/NavigationCase.java

Author: lu4242
Date: Fri Jul 10 00:37:56 2009
New Revision: 792768

URL: http://svn.apache.org/viewvc?rev=792768&view=rev
Log:
MYFACES-2279 TODOs for javax.faces.application.NavigationCase

Modified:
    myfaces/core/trunk/api/src/main/java/javax/faces/application/NavigationCase.java

Modified: myfaces/core/trunk/api/src/main/java/javax/faces/application/NavigationCase.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/application/NavigationCase.java?rev=792768&r1=792767&r2=792768&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/application/NavigationCase.java (original)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/application/NavigationCase.java Fri Jul 10 00:37:56 2009
@@ -20,6 +20,8 @@
 
 import java.net.MalformedURLException;
 import java.net.URL;
+import java.util.List;
+import java.util.Map;
 
 import javax.el.ExpressionFactory;
 import javax.el.ValueExpression;
@@ -45,7 +47,7 @@
     private ValueExpression _conditionExpression;
 
     public NavigationCase(String fromViewId, String fromAction, String fromOutcome, String condition, String toViewId,
-                          boolean redirect, boolean includeViewParams)
+            Map<String,List<String>> parameters, boolean redirect, boolean includeViewParams)
     {
         _condition = condition;
         _fromViewId = fromViewId;
@@ -54,6 +56,7 @@
         _toViewId = toViewId;
         _redirect = redirect;
         _includeViewParams = includeViewParams;
+        //TODO: deal with parameters
     }
 
     /**
@@ -92,8 +95,9 @@
                 ^ hash(Boolean.valueOf(_includeViewParams));
     }
 
-    public URL getActionURL() throws MalformedURLException
+    public URL getActionURL(FacesContext context) throws MalformedURLException
     {
+        //TODO: Implementation goes here
         return null;
     }
 
@@ -123,11 +127,30 @@
     {
         return _fromViewId;
     }
+    
+    public URL getBookmarkableURL(FacesContext context) throws MalformedURLException
+    {
+        //TODO: Implementation goes here
+        return null;        
+    }
 
-    public URL getResourceURL() throws MalformedURLException
+    public URL getResourceURL(FacesContext context) throws MalformedURLException
+    {
+        //TODO: Implementation goes here
+        return null;
+    }
+    
+    public URL getRedirectURL(FacesContext context) throws MalformedURLException
     {
+        //TODO: Implementation goes here
         return null;
     }
+    
+    public Map<String,List<String>> getParameters()
+    {
+        //TODO: Implementation goes here
+        return null;        
+    }
 
     public String getToViewId(FacesContext context)
     {