Package com.hybris.merchandising.context
Interface ContextRepository
- All Known Implementing Classes:
DefaultContextRepository
public interface ContextRepository
Interface for ContextRepository to manage ContextMap.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear out the entire context storeReturn a single ContextMap object for the given namekeys()Returns an enumeration of all keys.voidput(String name, ContextMap context) Add a single ContextMap object to the context storeintsize()return the size of the current context store
-
Method Details
-
get
Return a single ContextMap object for the given name- Parameters:
name-- Returns:
-
put
Add a single ContextMap object to the context store- Parameters:
name-context-
-
clear
void clear()Clear out the entire context store -
size
int size()return the size of the current context store- Returns:
-
keys
Enumeration<String> keys()Returns an enumeration of all keys.- Returns:
-