com.BobCo.postit
Class BCPostItContentInfoObjectHandler

java.lang.Object
  extended bycom.tivoli.twg.engine.TWGContentInfoObjectHandler
      extended bycom.BobCo.postit.BCPostItContentInfoObjectHandler

public class BCPostItContentInfoObjectHandler
extends com.tivoli.twg.engine.TWGContentInfoObjectHandler

This is the base class for populating and maintaining the content info objects for a task association's view. This abstract class provides the interface subclasses must implement in order to provide content info when requested by the console. It is an abstract class so that it can loaded as a bean (through a default ctor) instead of being defined as an interface.


Constructor Summary
BCPostItContentInfoObjectHandler()
          Construct the handler object.
 
Method Summary
 void activateContentInfo(boolean viewActive)
          Called whenever this bean's view is activated or inactivated.
 void getContentInfo(long moid)
          Called in response to the user expanding one of the primary content info objects for a specific moid
 void initializeContent(long beanid)
          Called during the initialization of the TWGContentInfoBeans.
 void updateContentInfo()
          Called to request the bean update it's content information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BCPostItContentInfoObjectHandler

public BCPostItContentInfoObjectHandler()
Construct the handler object. Default ctor so that it can be loaded as a bean.

Method Detail

initializeContent

public void initializeContent(long beanid)
Called during the initialization of the TWGContentInfoBeans. Subclasses should implement this to perform any setup of initial information needed to create and maintain the content info objects that this task's associated view provides.

Parameters:
beanid - unique id of the bean this handler is for.

activateContentInfo

public void activateContentInfo(boolean viewActive)
Called whenever this bean's view is activated or inactivated. When the first console request's console information, this view is activated and this is called with a true value. When the last console showing this view no longer needs it, then this view is deactivated and this method is called with a false value. This means either no consoles are running, or if any are, the view this bean could provide is not selected by any user.

Parameters:
viewActive - If true, then this handler should provide content information for its task association view. If false, then content information is no longer needed for any console.

updateContentInfo

public void updateContentInfo()
Called to request the bean update it's content information. This method is called in response to an UpdateContentInfoCmd request, allowing tasks to update themselves.


getContentInfo

public void getContentInfo(long moid)
Called in response to the user expanding one of the primary content info objects for a specific moid

Parameters:
moid - object id of the object requesting content info