|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.wsrp4j.consumer.driver.InitCookieInfoImpl
org.apache.wsrp4j.consumer.driver.GenericUserSessionImpl
public abstract class GenericUserSessionImpl
| Field Summary | |
|---|---|
protected java.util.Hashtable |
groupSessions
|
| Constructor Summary | |
|---|---|
GenericUserSessionImpl(java.lang.String producerID,
java.lang.String userID,
java.lang.String markupURL)
|
|
| Method Summary | |
|---|---|
void |
addGroupSession(GroupSession groupSession)
Add a group session to the user session |
boolean |
existsGroupSession(java.lang.String groupID)
Check if a group session exists for the given group ID |
java.util.Iterator |
getAllGroupSessions()
Get all group session |
abstract GroupSessionMgr |
getGroupSession(java.lang.String groupID)
Get the group session for this group ID |
java.lang.String |
getProducerID()
Get ID of the producer this session is bind to |
java.lang.String |
getUserID()
Get ID of the user this session is bind to |
void |
removeAllGroupSessions()
Remove all group sessions |
void |
removeGroupSession(java.lang.String groupID)
Remove a group session from the user session |
protected void |
setGroupSessionTable(java.util.Hashtable groupSessions)
|
void |
setProducerID(java.lang.String producerID)
Set the ID of the producer this session is bind to. |
void |
setUserID(java.lang.String userID)
Set the ID of the user this session is bind to |
| Methods inherited from class org.apache.wsrp4j.consumer.driver.InitCookieInfoImpl |
|---|
getMarkupInterfaceURL, getWSRPBaseService, isInitCookieDone, isInitCookieRequired, setInitCookieDone, setInitCookieRequired, setWSRPBaseService |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.wsrp4j.consumer.InitCookieInfo |
|---|
getMarkupInterfaceURL, getWSRPBaseService, isInitCookieDone, isInitCookieRequired, setInitCookieDone, setInitCookieRequired, setWSRPBaseService |
| Field Detail |
|---|
protected java.util.Hashtable groupSessions
| Constructor Detail |
|---|
public GenericUserSessionImpl(java.lang.String producerID,
java.lang.String userID,
java.lang.String markupURL)
throws WSRPException
WSRPException| Method Detail |
|---|
public java.lang.String getUserID()
getUserID in interface UserSessionpublic void setUserID(java.lang.String userID)
setUserID in interface UserSessionuserID - ID of the userpublic java.lang.String getProducerID()
getProducerID in interface UserSessionpublic void setProducerID(java.lang.String producerID)
setProducerID in interface UserSessionproducerID - ID of the producer
public abstract GroupSessionMgr getGroupSession(java.lang.String groupID)
throws WSRPException
getGroupSession in interface UserSessiongroupID - ID of the portlet application
WSRPExceptionpublic void addGroupSession(GroupSession groupSession)
addGroupSession in interface UserSessiongroupSession - A group sessionpublic java.util.Iterator getAllGroupSessions()
getAllGroupSessions in interface UserSessionpublic void removeGroupSession(java.lang.String groupID)
removeGroupSession in interface UserSessiongroupID - ID of the portlet applicationpublic void removeAllGroupSessions()
removeAllGroupSessions in interface UserSessionpublic boolean existsGroupSession(java.lang.String groupID)
groupID - ID of the portlet group
protected void setGroupSessionTable(java.util.Hashtable groupSessions)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||