olr
Class SessionData

java.lang.Object
  extended byolr.SessionData

public final class SessionData
extends java.lang.Object

Version:
$Id: SessionData.java,v 1.25 2004/08/03 12:27:16 roku Exp $

Field Summary
protected  boolean isChanged
           
protected  boolean isROM
           
static java.lang.String SESSION_KEY
           
 
Constructor Summary
SessionData()
           
 
Method Summary
 void clearLock()
           
 java.lang.String getAboutURI()
           
 java.lang.String getAuthorFrame()
           
 CourseViewers getCourseViewers()
           
static SessionData getCurrentSession()
           
 Model getModel()
           
 java.lang.String getReaderFrame()
           
 RelationViewer getRelationViewer()
           
 java.lang.String getRoot()
           
 OlrStatementPool getStatementPool()
           
 ToolbarSession getToolbarSession()
           
 RdfUser getUser()
           
 boolean isAuthor()
           
 boolean isChanged()
           
 java.lang.String isLockedBy()
           
 boolean isROM()
           
 boolean isStarted()
           
 void refreshLock(int maxInactiveInterval)
           
 void removeUser()
           
 void setAboutURI(java.lang.String contentAboutURI)
           
 void setChanged(boolean b)
           
static void setCurrentSession(SessionData newcurrentSession)
           
 void setModel(Model model)
           
 void setROM(boolean b)
           
 void setUser(RdfUser user)
           
 void start(Model model, java.lang.String root, boolean author, java.lang.String interfaceType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SESSION_KEY

public static final java.lang.String SESSION_KEY
See Also:
Constant Field Values

isChanged

protected boolean isChanged

isROM

protected boolean isROM
Constructor Detail

SessionData

public SessionData()
Method Detail

getCurrentSession

public static SessionData getCurrentSession()

isROM

public boolean isROM()

isChanged

public boolean isChanged()

setROM

public void setROM(boolean b)

setChanged

public void setChanged(boolean b)

setCurrentSession

public static void setCurrentSession(SessionData newcurrentSession)

setUser

public void setUser(RdfUser user)

getUser

public RdfUser getUser()

removeUser

public void removeUser()

getRoot

public java.lang.String getRoot()

isAuthor

public boolean isAuthor()

isStarted

public boolean isStarted()

getAuthorFrame

public java.lang.String getAuthorFrame()

getReaderFrame

public java.lang.String getReaderFrame()

getStatementPool

public OlrStatementPool getStatementPool()

getCourseViewers

public CourseViewers getCourseViewers()

getRelationViewer

public RelationViewer getRelationViewer()

getToolbarSession

public ToolbarSession getToolbarSession()

setAboutURI

public void setAboutURI(java.lang.String contentAboutURI)

getAboutURI

public java.lang.String getAboutURI()

start

public void start(Model model,
                  java.lang.String root,
                  boolean author,
                  java.lang.String interfaceType)
           throws java.lang.Exception
Throws:
java.lang.Exception

refreshLock

public void refreshLock(int maxInactiveInterval)
                 throws java.lang.Exception
Throws:
java.lang.Exception

clearLock

public void clearLock()
               throws java.lang.Exception
Throws:
java.lang.Exception

isLockedBy

public java.lang.String isLockedBy()

getModel

public Model getModel()
Returns:
Returns the model.

setModel

public void setModel(Model model)
Parameters:
model - The model to set.


Copyright © 2001-2004 University of Hannover. All Rights Reserved.