|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.wsrp2.consumer.templates.InitCookieTemplate
org.exoplatform.services.wsrp2.consumer.impl.helpers.InitCookieImpl
org.exoplatform.services.wsrp2.consumer.impl.helpers.UserSessionImpl
public class UserSessionImpl
| Field Summary | |
|---|---|
protected Map<String,GroupSession> |
groupSessions
|
| Constructor Summary | |
|---|---|
UserSessionImpl(String markupInterfaceURL)
|
|
| Method Summary | |
|---|---|
void |
addGroupSession(GroupSession groupSession)
Add a group session to the user session |
Iterator<GroupSession> |
getAllGroupSessions()
Get all group session |
GroupSessionMgr |
getGroupSession(String groupID)
Get the group session for this group ID |
String |
getUserID()
Get ID of the user this session is bind to |
void |
removeAllGroupSessions()
Remove all group sessions |
void |
removeGroupSession(String groupID)
Remove a group session from the user session |
void |
setUserID(String userID)
Set the ID of the user this session is bind to |
| Methods inherited from class org.exoplatform.services.wsrp2.consumer.impl.helpers.InitCookieImpl |
|---|
getMarkupInterfaceURL, getWSRPMarkupService, setWSRPMarkupService |
| Methods inherited from class org.exoplatform.services.wsrp2.consumer.templates.InitCookieTemplate |
|---|
isInitCookieDone, isInitCookieRequired, setInitCookieDone, setInitCookieRequired |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.exoplatform.services.wsrp2.consumer.InitCookieInfo |
|---|
getMarkupInterfaceURL, getWSRPMarkupService, isInitCookieDone, isInitCookieRequired, setInitCookieDone, setInitCookieRequired, setWSRPMarkupService |
| Field Detail |
|---|
protected Map<String,GroupSession> groupSessions
| Constructor Detail |
|---|
public UserSessionImpl(String markupInterfaceURL)
| Method Detail |
|---|
public GroupSessionMgr getGroupSession(String groupID)
throws WSRPException
UserSession
getGroupSession in interface UserSessiongroupID - ID of the portlet application
WSRPExceptionpublic String getUserID()
UserSession
getUserID in interface UserSessionpublic void setUserID(String userID)
UserSession
setUserID in interface UserSessionuserID - ID of the userpublic Iterator<GroupSession> getAllGroupSessions()
UserSession
getAllGroupSessions in interface UserSessionpublic void addGroupSession(GroupSession groupSession)
UserSession
addGroupSession in interface UserSessiongroupSession - A group sessionpublic void removeGroupSession(String groupID)
UserSession
removeGroupSession in interface UserSessiongroupID - ID of the portlet applicationpublic void removeAllGroupSessions()
UserSession
removeAllGroupSessions in interface UserSession
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||