[seam-commits] Seam SVN: r13888 - in modules/faces/trunk: impl/src/main/java/org/jboss/seam/faces/viewdata and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Sat Oct 16 01:42:05 EDT 2010


Author: swd847
Date: 2010-10-16 01:42:05 -0400 (Sat, 16 Oct 2010)
New Revision: 13888

Modified:
   modules/faces/trunk/api/src/main/java/org/jboss/seam/faces/viewdata/ViewDataStore.java
   modules/faces/trunk/impl/src/main/java/org/jboss/seam/faces/viewdata/ViewDataStoreImpl.java
Log:
minor changes to ViewDataStore


Modified: modules/faces/trunk/api/src/main/java/org/jboss/seam/faces/viewdata/ViewDataStore.java
===================================================================
--- modules/faces/trunk/api/src/main/java/org/jboss/seam/faces/viewdata/ViewDataStore.java	2010-10-16 05:40:40 UTC (rev 13887)
+++ modules/faces/trunk/api/src/main/java/org/jboss/seam/faces/viewdata/ViewDataStore.java	2010-10-16 05:42:05 UTC (rev 13888)
@@ -49,7 +49,7 @@
    /**
     * gets the most specific data for the current viewId
     */
-   public abstract <T extends Annotation> T getData(Class<T> type);
+   public abstract <T extends Annotation> T getDataForCurrentViewId(Class<T> type);
 
    /**
     * returns all data for a given viewId, with the most specific data at the
@@ -61,6 +61,6 @@
     * returns all data for the current viewId, with the most specific data at
     * the start of the list
     */
-   public abstract <T extends Annotation> List<T> getAllData(Class<T> type);
+   public abstract <T extends Annotation> List<T> getAllDataForCurrentViewId(Class<T> type);
 
 }
\ No newline at end of file

Modified: modules/faces/trunk/impl/src/main/java/org/jboss/seam/faces/viewdata/ViewDataStoreImpl.java
===================================================================
--- modules/faces/trunk/impl/src/main/java/org/jboss/seam/faces/viewdata/ViewDataStoreImpl.java	2010-10-16 05:40:40 UTC (rev 13887)
+++ modules/faces/trunk/impl/src/main/java/org/jboss/seam/faces/viewdata/ViewDataStoreImpl.java	2010-10-16 05:42:05 UTC (rev 13888)
@@ -92,7 +92,7 @@
       return null;
    }
 
-   public <T extends Annotation> T getData(Class<T> type)
+   public <T extends Annotation> T getDataForCurrentViewId(Class<T> type)
    {
       return getData(FacesContext.getCurrentInstance().getViewRoot().getViewId(), type);
    }
@@ -107,7 +107,7 @@
       return null;
    }
 
-   public <T extends Annotation> List<T> getAllData(Class<T> type)
+   public <T extends Annotation> List<T> getAllDataForCurrentViewId(Class<T> type)
    {
       return getAllData(FacesContext.getCurrentInstance().getViewRoot().getViewId(), type);
    }



More information about the seam-commits mailing list