rialto.session


Name space rialto.session
FILE rialtoEngine\javascript\rialto\session.js
NAME rialto.session
INHERITS
VERSION 1.0
update
DESCRIPTION Rialto session management



CONSTRUCTOR


Example:
this is an abstract object and all the method must be call using the rialto.session prefix

PUBLIC METHODS


Method Arguments list Return value Inherits To redefine
record object obj,String key void no no
remove String key void no no
removeAll void no no
getComponentById String key Object no no
getComponentByName String name Object no no
getComponentByType String type Array no no

record

to record a component in the session
Parameters:
object obj:object to record
String key:key in the session

remove

to remove a component from the session
Parameters:
String key:key in the session

removeAll

to remove all components from the session
Parameters:

getComponentById

retrieve component with the given key in the session
Parameters:
String key:key in the session

getComponentByName

retrieve the first component with the given name
Parameters:
String name:name of the component

getComponentByType

retrieve the an array of component with the given type
Parameters:
String type:type of the component