|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ViewDataStore
stores data specific to a given view is a heiracial fashion
Method Summary | ||
---|---|---|
void |
addData(String viewId,
Annotation annotation)
Adds data to the store |
|
|
getAllData(String viewId,
Class<T> type)
returns all data for a given viewId, with the most specific data at the start of the list |
|
|
getAllDataForCurrentViewId(Class<T> type)
returns all data for the current viewId, with the most specific data at the start of the list |
|
|
getData(String viewId,
Class<T> type)
gets the most specific data for a given viewId |
|
|
getDataForCurrentViewId(Class<T> type)
gets the most specific data for the current viewId |
Method Detail |
---|
void addData(String viewId, Annotation annotation)
viewId
- The view id to associate the data with. A * at the end of
the view id is considered a wildcardannotation
- the data to store<T extends Annotation> T getData(String viewId, Class<T> type)
<T extends Annotation> T getDataForCurrentViewId(Class<T> type)
<T extends Annotation> List<T> getAllData(String viewId, Class<T> type)
<T extends Annotation> List<T> getAllDataForCurrentViewId(Class<T> type)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |