| org.sakaiproject.event.api.SessionState
SessionState | public interface SessionState extends Map(Code) | |
SessionState is a collection of named attributes associated with the current session. SessionState implements Map, but the Map methods should only be used to get attributes, not to set or remove attributes.
|
Method Summary | |
void | clear() Remove all attributes. | Object | getAttribute(String name) Access the named attribute.
Parameters: name - The attribute name. | List | getAttributeNames() Access a List of all names of attributes stored in the SessionState. | Object | removeAttribute(String name) Remove the named attribute, if it exists.
Parameters: name - The attribute name. | Object | setAttribute(String name, Object value) Set the named attribute value to the provided object.
Parameters: name - The attribute name. Parameters: value - The value of the attribute (any object type). |
clear | void clear()(Code) | | Remove all attributes.
|
getAttribute | Object getAttribute(String name)(Code) | | Access the named attribute.
Parameters: name - The attribute name. The named attribute value. |
getAttributeNames | List getAttributeNames()(Code) | | Access a List of all names of attributes stored in the SessionState.
A List of all names of attribute stored in the SessionState. |
removeAttribute | Object removeAttribute(String name)(Code) | | Remove the named attribute, if it exists.
Parameters: name - The attribute name. The previous value of the removed named attribute (or null if no previous value). |
setAttribute | Object setAttribute(String name, Object value)(Code) | | Set the named attribute value to the provided object.
Parameters: name - The attribute name. Parameters: value - The value of the attribute (any object type). The previous value of the named attribute (or null if no previous value). |
|
|