org.apache.wsrp4j.consumer.app.driver
Class UserSessionImpl

java.lang.Object
  extended byorg.apache.wsrp4j.consumer.driver.InitCookieInfoImpl
      extended byorg.apache.wsrp4j.consumer.driver.GenericUserSessionImpl
          extended byorg.apache.wsrp4j.consumer.app.driver.UserSessionImpl
All Implemented Interfaces:
InitCookieInfo, UserSession, UserSessionMgr

public class UserSessionImpl
extends GenericUserSessionImpl

Implements a simple consumer-based user session Note: Since most of this methods all only for the session handler, consider to make most of the methods package scoped.

Version:
$Id: UserSessionImpl.java,v 1.4 2005/08/10 14:45:38 cziegeler Exp $

Field Summary
 
Fields inherited from class org.apache.wsrp4j.consumer.driver.GenericUserSessionImpl
groupSessions
 
Fields inherited from class org.apache.wsrp4j.consumer.driver.InitCookieInfoImpl
 
Constructor Summary
UserSessionImpl(java.lang.String producerID, java.lang.String userID, java.lang.String markupURL)
           
 
Method Summary
 GroupSessionMgr getGroupSession(java.lang.String groupID)
          Get the group session for this group ID
 
Methods inherited from class org.apache.wsrp4j.consumer.driver.GenericUserSessionImpl
addGroupSession, existsGroupSession, getAllGroupSessions, getProducerID, getUserID, removeAllGroupSessions, removeGroupSession, setGroupSessionTable, setProducerID, setUserID
 
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
 

Constructor Detail

UserSessionImpl

public UserSessionImpl(java.lang.String producerID,
                       java.lang.String userID,
                       java.lang.String markupURL)
                throws WSRPException
Method Detail

getGroupSession

public GroupSessionMgr getGroupSession(java.lang.String groupID)
                                throws WSRPException
Get the group session for this group ID

Specified by:
getGroupSession in interface UserSession
Specified by:
getGroupSession in class GenericUserSessionImpl
Parameters:
groupID - ID of the portlet application
Returns:
The a group session for the provided group ID or a new groupSession
Throws:
WSRPException


--