Hi,

setTemp stores the object in the user object for the session, in a
Hashtable.

You can obtain that user object this way : JetspeedUser juser =
runData.getUser();

The following methods exist to manipulate these variables :
Object getTemp(String key)
void setTemp(String key, Object elem)
removeTemp(String key)

These two to manipulate the hashtable directly :
setTempStorage(Hashtable h)
Hashtable getTempStorage()

It's about the same for the permanent variable, except that the permanent
Hashtable is serialized and saved into the db after each request.

I hope this helps.

Pierre

> -----Original Message-----
> From: Wei Guan [mailto:[EMAIL PROTECTED]]
> Sent: dimanche, 26. janvier 2003 20:14
> To: [EMAIL PROTECTED]
> Subject: setTemp: where is it?
> 
> 
> Where does JetSpeed store objects in setTemp()? Are they in 
> the session? If not, how does JetSpeed manage these objects?
> 
> Regards
> 
> Wei
> 

Reply via email to