org.jboss.portal.server
Class WindowContext

java.lang.Object
  extended by org.jboss.portal.server.user.AbstractServerObjectContext
      extended by org.jboss.portal.server.WindowContext
All Implemented Interfaces:
java.io.Serializable, ServerObjectContext

public class WindowContext
extends AbstractServerObjectContext

The user state of a window.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.portal.server.user.AbstractServerObjectContext
id
 
Constructor Summary
WindowContext(ServerObjectID id)
           
WindowContext(ServerObjectID id, Mode mode, WindowState windowState)
           
 
Method Summary
 TimedContent getCachedResult()
          Return cached content if any.
 Mode getMode()
          Return the mode on this context.
 WindowState getWindowState()
          Return the window state of this context.
 void setCachedResult(TimedContent cachedResult)
          Cache content for future reuse.
 void setMode(Mode mode)
          Set the mode on this context.
 void setWindowState(WindowState windowState)
          Set the window state on this context.
 
Methods inherited from class org.jboss.portal.server.user.AbstractServerObjectContext
getID, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WindowContext

public WindowContext(ServerObjectID id)

WindowContext

public WindowContext(ServerObjectID id,
                     Mode mode,
                     WindowState windowState)
Method Detail

getMode

public Mode getMode()
Return the mode on this context.


setMode

public void setMode(Mode mode)
Set the mode on this context.


getWindowState

public WindowState getWindowState()
Return the window state of this context.


setWindowState

public void setWindowState(WindowState windowState)
Set the window state on this context.


getCachedResult

public TimedContent getCachedResult()
Return cached content if any.


setCachedResult

public void setCachedResult(TimedContent cachedResult)
Cache content for future reuse.