org.jboss.seam.faces.view.config
Interface ViewConfigStore


public interface ViewConfigStore

stores data specific to a given view is a hierarchical fashion

Author:
Stuart Douglas, Brian Leathem

Method Summary
 void addAnnotationData(String viewId, Annotation annotation)
          Adds data to the store
<T extends Annotation>
List<T>
getAllAnnotationData(String viewId, Class<T> type)
          returns all data for a given viewId, with the most specific data at the start of the list
<T extends Annotation>
Map<String,Annotation>
getAllAnnotationViewMap(Class<T> type)
          return a map of views to annotations for a given annotation type
 List<? extends Annotation> getAllQualifierData(String viewId, Class<? extends Annotation> qualifier)
          returns all qualified data for a given viewId, with the most specific data at the start of the list
<T extends Annotation>
T
getAnnotationData(String viewId, Class<T> type)
          gets the most specific data for a given viewId
 

Method Detail

addAnnotationData

void addAnnotationData(String viewId,
                       Annotation annotation)
Adds data to the store

Parameters:
viewId - The view id to associate the data with. A * at the end of the view id is considered a wildcard
annotation - the data to store

getAnnotationData

<T extends Annotation> T getAnnotationData(String viewId,
                                           Class<T> type)
gets the most specific data for a given viewId


getAllAnnotationData

<T extends Annotation> List<T> getAllAnnotationData(String viewId,
                                                    Class<T> type)
returns all data for a given viewId, with the most specific data at the start of the list


getAllQualifierData

List<? extends Annotation> getAllQualifierData(String viewId,
                                               Class<? extends Annotation> qualifier)
returns all qualified data for a given viewId, with the most specific data at the start of the list


getAllAnnotationViewMap

<T extends Annotation> Map<String,Annotation> getAllAnnotationViewMap(Class<T> type)
return a map of views to annotations for a given annotation type



Copyright © 2011 Seam Framework. All Rights Reserved.