Package com.hybris.merchandising.context
Interface ContextRepository
-
- All Known Implementing Classes:
DefaultContextRepository
public interface ContextRepositoryInterface for ContextRepository to manage ContextMap.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear()Clear out the entire context storeContextMapget(java.lang.String name)Return a single ContextMap object for the given namejava.util.Enumeration<java.lang.String>keys()Returns an enumeration of all keys.voidput(java.lang.String name, ContextMap context)Add a single ContextMap object to the context storeintsize()return the size of the current context store
-
-
-
Method Detail
-
get
ContextMap get(java.lang.String name)
Return a single ContextMap object for the given name- Parameters:
name-- Returns:
-
put
void put(java.lang.String name, ContextMap context)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
java.util.Enumeration<java.lang.String> keys()
Returns an enumeration of all keys.- Returns:
-
-