net.sf.oxclient.service
Class AbsGroupwareSession<FolderBean>

java.lang.Object
  extended by net.sf.oxclient.service.AbsGroupwareSession<FolderBean>
All Implemented Interfaces:
IGroupwareSession<FolderBean>
Direct Known Subclasses:
OXGroupwareSession

@Guarded
public abstract class AbsGroupwareSession<FolderBean>
extends Object
implements IGroupwareSession<FolderBean>

Author:
Björn Voß

Constructor Summary
AbsGroupwareSession()
           
 
Method Summary
 IQuery createQuery(String module)
           
 ICommunicationManager getCommunicationManager()
           
 IGroupwareModule<?,FolderBean> getModule(String modulename)
           
 List<FolderBean> getRootFolders()
           
 String getSessionId()
           
 IUser getUser()
           
 void setCommunicationManager(ICommunicationManager communicationManager)
           
 void setModuleMap(Map<String,AbsGroupwareModule<?,FolderBean>> moduleMap)
           
 void setSessionId(String sessionId)
          will only called at creation time by the corresponding GroupwareService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbsGroupwareSession

public AbsGroupwareSession()
Method Detail

setModuleMap

public void setModuleMap(@NotNull
                         Map<String,AbsGroupwareModule<?,FolderBean>> moduleMap)
Parameters:
moduleMap - the moduleMap to set

getCommunicationManager

public ICommunicationManager getCommunicationManager()
Returns:
the communicationManager

setCommunicationManager

public void setCommunicationManager(@NotNull
                                    ICommunicationManager communicationManager)
Parameters:
communicationManager - the communicationManager to set

createQuery

public IQuery createQuery(@NotNull
                          String module)
Specified by:
createQuery in interface IGroupwareSession<FolderBean>

getModule

public IGroupwareModule<?,FolderBean> getModule(@NotNull
                                                String modulename)
Specified by:
getModule in interface IGroupwareSession<FolderBean>

getRootFolders

public List<FolderBean> getRootFolders()
Specified by:
getRootFolders in interface IGroupwareSession<FolderBean>

getSessionId

public String getSessionId()
Specified by:
getSessionId in interface IGroupwareSession<FolderBean>

setSessionId

public void setSessionId(String sessionId)
will only called at creation time by the corresponding GroupwareService

Parameters:
sessionId - the sessionId to set

getUser

public IUser getUser()
Specified by:
getUser in interface IGroupwareSession<FolderBean>


Copyright © 2007. All Rights Reserved.