com.ibm.eNetwork.HOD.customizable
Class BaseDesktop

java.lang.Object
  |
  +--com.ibm.eNetwork.HOD.customizable.BaseDesktop
Direct Known Subclasses:
CustomDesktop, HODDesktop

public abstract class BaseDesktop
extends java.lang.Object


Constructor Summary
BaseDesktop(com.ibm.eNetwork.HOD.common.Environment env, java.lang.String readDirectory)
          Constructor for using the BaseDesktop with a custom Applet.
BaseDesktop(java.awt.Frame parentFrame, java.io.File file, java.lang.String readDirectory)
          Constructor for using the BaseDesktop with a custom application.
BaseDesktop(java.awt.Frame parentFrame, java.lang.String url, java.lang.String readDirectory)
          Constructor for using the BaseDesktop with a custom application.
 
Method Summary
 void closeAllSessions()
          Method called by custom application or applet to cleanly close all currently active sessions.
 void save()
          Method called by custom application or applet to save the changes of all the sessions.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseDesktop

public BaseDesktop(com.ibm.eNetwork.HOD.common.Environment env,
                   java.lang.String readDirectory)
Constructor for using the BaseDesktop with a custom Applet.
Parameters:
env - Environment created by custom Applet
readDirectory - Directory which contains the session definitions

BaseDesktop

public BaseDesktop(java.awt.Frame parentFrame,
                   java.io.File file,
                   java.lang.String readDirectory)
Constructor for using the BaseDesktop with a custom application.
Parameters:
parentFrame - Frame of custom application
file - File of a directory containsing session definitions.
readDirectory - Name of the subdirectory off of the HODData directory that contains the session definitions

BaseDesktop

public BaseDesktop(java.awt.Frame parentFrame,
                   java.lang.String url,
                   java.lang.String readDirectory)
Constructor for using the BaseDesktop with a custom application.
Parameters:
parentFrame - Frame of custom application
url - String pointing to web server. This must be in the form of "http://server/alias"
readDirectory - Name of the subdirectory off of the HODData directory that contains the session definitions
Method Detail

save

public void save()
Method called by custom application or applet to save the changes of all the sessions.

closeAllSessions

public void closeAllSessions()
Method called by custom application or applet to cleanly close all currently active sessions.