@Role @Unstable public interface ContextStore
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getSupportedEntries() |
void |
restore(Map<String,Serializable> contextStore)
Inject in the current context data found in the passed map.
|
void |
save(Map<String,Serializable> contextStore,
Collection<String> entries)
Save only the passed context entries in the map.
|
Collection<String> getSupportedEntries()
ContextStore
void save(Map<String,Serializable> contextStore, Collection<String> entries)
contextStore
- the stored context dataentries
- the list of context entries to take into accountvoid restore(Map<String,Serializable> contextStore)
contextStore
- the stored context dataCopyright © 2004–2019 XWiki. All rights reserved.