|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.scrashmeow.ojb.console.framework.UserContainer
The container for all session variables for a given variable used by the web application. The one exception is the locale of the user which is stored as a separate variable
Field Summary | |
protected java.lang.Object |
currentInstance
Field currentInstance |
protected org.apache.ojb.broker.PBKey |
databaseKey
Field databaseKey |
protected RepositoryKeyAcl |
repositoryAcl
Field repositoryAcl |
protected UserObjectCache |
userObjects
Field userObjects |
protected UserRepositoryList |
userRepositoryList
|
protected java.lang.Integer |
windowSize
Field windowSize |
Constructor Summary | |
UserContainer()
Constructor for UserContainer. |
Method Summary | |
java.lang.Object |
getCurrentInstance()
Returns the currentInstance. |
org.apache.ojb.broker.PBKey |
getDatabaseKey()
Returns the key. |
RepositoryKeyAcl |
getRepositoryAcl()
Returns the repositoryAcl. |
java.lang.Object |
getUserObject(java.lang.String uid)
Method getUserObject @add-javadoc!!! |
UserObjectCache |
getUserObjects()
Returns the userObjects. |
UserRepositoryList |
getUserRepositoryList()
|
java.lang.Integer |
getWindowSize()
Returns the windowSize. |
java.lang.String |
putUserObject(java.lang.Object obj)
Method putUserObject @add-javadoc!!! |
void |
putUserObject(java.lang.String uid,
java.lang.Object obj)
Method putUserObject @add-javadoc!!! |
void |
removeUserObject(java.lang.String uid)
Method removeUserObject @add-javadoc!!! |
void |
setCurrentInstance(java.lang.Object currentInstance)
Sets the currentInstance. |
void |
setDatabaseKey(org.apache.ojb.broker.PBKey key)
Sets the key. |
void |
setRepositoryAcl(RepositoryKeyAcl repositoryAcl)
Sets the repositoryAcl. |
void |
setUserObjects(UserObjectCache userObjects)
Sets the userObjects. |
void |
setUserRepositoryList(UserRepositoryList list)
|
void |
setWindowSize(java.lang.Integer windowSize)
Sets the windowSize. |
void |
valueBound(HttpSessionBindingEvent event)
The container calls this method when it is being bound to the session. |
void |
valueUnbound(HttpSessionBindingEvent event)
The container calls this method when it is being unbound from the session. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected org.apache.ojb.broker.PBKey databaseKey
protected java.lang.Object currentInstance
protected java.lang.Integer windowSize
protected RepositoryKeyAcl repositoryAcl
protected UserObjectCache userObjects
protected UserRepositoryList userRepositoryList
Constructor Detail |
public UserContainer()
Method Detail |
public void valueBound(HttpSessionBindingEvent event)
event
- @add-javadoc!!!public void valueUnbound(HttpSessionBindingEvent event)
event
- @add-javadoc!!!public org.apache.ojb.broker.PBKey getDatabaseKey()
public void setDatabaseKey(org.apache.ojb.broker.PBKey key)
key
- The key to setpublic java.lang.Object getCurrentInstance()
public void setCurrentInstance(java.lang.Object currentInstance)
currentInstance
- The currentInstance to setpublic java.lang.Integer getWindowSize()
public void setWindowSize(java.lang.Integer windowSize)
windowSize
- The windowSize to setpublic RepositoryKeyAcl getRepositoryAcl()
public void setRepositoryAcl(RepositoryKeyAcl repositoryAcl)
repositoryAcl
- The repositoryAcl to setpublic java.lang.String putUserObject(java.lang.Object obj)
obj
- @add-javadoc!!!
public void putUserObject(java.lang.String uid, java.lang.Object obj)
uid
- @add-javadoc!!!obj
- @add-javadoc!!!public void removeUserObject(java.lang.String uid)
uid
- @add-javadoc!!!public java.lang.Object getUserObject(java.lang.String uid)
uid
- @add-javadoc!!!
public UserObjectCache getUserObjects()
public void setUserObjects(UserObjectCache userObjects)
userObjects
- The userObjects to setpublic UserRepositoryList getUserRepositoryList()
public void setUserRepositoryList(UserRepositoryList list)
list
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |