com.filenet.wcm.toolkit.server.base

Class ControllerUtilities.WindowIDManager

  1. java.lang.Object
  2. extended bycom.filenet.wcm.toolkit.server.base.ControllerUtilities.WindowIDManager
All implemented interfaces:
java.io.Serializable
Enclosing class:
ControllerUtilities

  1. protected static class ControllerUtilities.WindowIDManager
  2. extends java.lang.Object
  3. implements java.io.Serializable
WindowIDManager takes care of aging out window ID's that have not been accessed for longer than a defined timeout limit.
See Also:
Serialized Form

Field Summary

Modifier and Type Field and Description
  1. protected
  2. java.lang.String
baseURL
  1. protected
  2. long
checkInterval
  1. protected
  2. long
lastCheck
  1. protected
  2. java.util.HashMap
map
  1. protected
  2. long
sequenceNumber
  1. protected
  2. long
timeout

Constructor Summary

Modifier Constructor and Description
  1. protected
ControllerUtilities.WindowIDManager(WcmController controller,long checkInterval,long timeout)

Method Summary

Modifier and Type Method and Description
  1. protected
  2. void
expire(WcmDataStore dataStore)
  1. protected
  2. WindowID
getNextStackedWindowID()
  1. protected
  2. void
initialize(WindowID windowId,WcmDataStore dataStore,boolean isStacked)
  1. protected
  2. void
release(ControllerUtilities.WindowIdInfo widi,WcmDataStore dataStore,long timeout)
  1. protected
  2. void
release(java.lang.String windowId,WcmDataStore dataStore,long timeout)
  1. protected
  2. void
setWindowSignedIn(WindowID oWindowId,boolean isSignedIn)
  1. protected
  2. ControllerUtilities.WindowIdInfo
update(java.lang.String windowId,WcmDataStore dataStore)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

checkInterval

  1. protected long checkInterval

timeout

  1. protected long timeout

lastCheck

  1. protected long lastCheck

baseURL

  1. protected java.lang.String baseURL

sequenceNumber

  1. protected long sequenceNumber

map

  1. protected java.util.HashMap map

Constructor Detail

ControllerUtilities.WindowIDManager

  1. protected ControllerUtilities.WindowIDManager( WcmController controller,
  2. long checkInterval,
  3. long timeout)

Method Detail

getNextStackedWindowID

  1. protected WindowID getNextStackedWindowID( )

initialize

  1. protected void initialize(WindowID windowId,
  2. WcmDataStore dataStore,
  3. boolean isStacked)
  4. throws FrameworkException
  5. WcmException
Throws:

setWindowSignedIn

  1. protected void setWindowSignedIn( WindowID oWindowId,
  2. boolean isSignedIn)

update

  1. protected ControllerUtilities.WindowIdInfo update( java.lang.String windowId,
  2. WcmDataStore dataStore)
  3. throws FrameworkException
  4. WcmException
Throws:

release

  1. protected void release(java.lang.String windowId,
  2. WcmDataStore dataStore,
  3. long timeout)

release

  1. protected void release(ControllerUtilities.WindowIdInfo widi,
  2. WcmDataStore dataStore,
  3. long timeout)

expire

  1. protected void expire(WcmDataStore dataStore)
  2. throws WcmException
Throws: