|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.abstracthorizon.danube.tapestry.DanubeSession
public class DanubeSession
WebSession interface implementation
| Field Summary | |
|---|---|
protected boolean |
isNew
Flag to denote if the session is new |
protected Session |
session
Danube's session |
static String |
SESSION_ATTRIBUTE
Attribute in session this object is going to be stored |
| Constructor Summary | |
|---|---|
DanubeSession(Session session)
Constructor |
|
| Method Summary | |
|---|---|
protected void |
clearNew()
Clears isNew flag. |
void |
describeTo(DescriptionReceiver descriptionReceiver)
Does nothing |
Object |
getAttribute(String key)
Returns attribute |
List |
getAttributeNames()
Returns attributes names as a list |
String |
getId()
Returns session id |
void |
invalidate()
Invalidates session. |
boolean |
isNew()
Returns true if session is newly created |
void |
setAttribute(String key,
Object value)
Sets attribute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SESSION_ATTRIBUTE
protected Session session
protected boolean isNew
| Constructor Detail |
|---|
public DanubeSession(Session session)
session - danube's session| Method Detail |
|---|
public String getId()
getId in interface WebSessionpublic boolean isNew()
true if session is newly created
isNew in interface WebSessiontrue if session is newly createdprotected void clearNew()
isNew flag.
public void invalidate()
invalidate in interface WebSessionpublic List getAttributeNames()
getAttributeNames in interface AttributeHolderpublic Object getAttribute(String key)
getAttribute in interface AttributeHolderkey - attribute name
public void setAttribute(String key,
Object value)
setAttribute in interface AttributeHolderkey - attribute's namevalue - attribute's valuepublic void describeTo(DescriptionReceiver descriptionReceiver)
describeTo in interface Describable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||