|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.mmbase.module.sessionInfo
public class sessionInfo
The module which provides access to a filesystem residing in a database.
| Field Summary | |
|---|---|
(package private) Hashtable<String,Vector<String>> |
setvalues
|
(package private) Hashtable<String,String> |
values
|
| Constructor Summary | |
|---|---|
sessionInfo(String hostname)
|
|
sessionInfo(String hostname,
String cookie)
|
|
| Method Summary | |
|---|---|
void |
addSetValue(String key,
String value)
adds a value to a set, no duplicates are allowed. |
String |
clearSet(String key)
delete the values belonging to the key |
String |
containsSetValue(String key,
String value)
does this set contain the value ? |
void |
delSetValue(String key,
String value)
deletes a value from the SESSION set. |
String |
getAvgSet(String key)
return the average of a set of numbers |
String |
getCookie()
|
String |
getHostName()
returns the hostname of a user |
MMObjectNode |
getNode()
|
String |
getSetCount(String key)
return the number of values contained by a session variable |
String |
getSetString(String key)
returns the session variable values comma separaterd |
String |
getValue(String wanted)
|
void |
putSetValue(String key,
String value)
add a value to a set, duplicates are allowed. |
String |
removeValue(String key)
Removes (clears) a value from a session. |
void |
setNode(MMObjectNode node)
|
String |
setValue(String key,
String value)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
Hashtable<String,String> values
Hashtable<String,Vector<String>> setvalues
| Constructor Detail |
|---|
public sessionInfo(String hostname,
String cookie)
public sessionInfo(String hostname)
| Method Detail |
|---|
public void setNode(MMObjectNode node)
public MMObjectNode getNode()
public String getCookie()
public String getValue(String wanted)
public String setValue(String key,
String value)
public String removeValue(String key)
key - the key of the attribute to clear
public void addSetValue(String key,
String value)
public void putSetValue(String key,
String value)
public void delSetValue(String key,
String value)
public String containsSetValue(String key,
String value)
public String clearSet(String key)
public String getSetString(String key)
key - the name of the session variablepublic String getSetCount(String key)
public String getAvgSet(String key)
public String getHostName()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||