@Role @Unstable public interface ContextStoreManager
ContextStore
s.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.
|
Map<String,Serializable> |
save(Collection<String> entries)
Save only the passed context entries in the map.
|
Collection<String> getSupportedEntries() throws ComponentLookupException
ContextStore
componentsComponentLookupException
- when failing to get ContextStore
componentsMap<String,Serializable> save(Collection<String> entries) throws ComponentLookupException
entries
- the list of context entries to take into accountComponentLookupException
- when failing to get ContextStore
componentsvoid restore(Map<String,Serializable> contextStore) throws ComponentLookupException
contextStore
- the stored context dataComponentLookupException
- when failing to get ContextStore
componentsCopyright © 2004–2019 XWiki. All rights reserved.