com.tivoli.twg.engine
Class TWGFilterNotifyCmd

java.lang.Object
  extended bycom.tivoli.twg.engine.TWGFilterNotifyCmd

public class TWGFilterNotifyCmd
extends java.lang.Object

Command handler for processing TWGFilter notification messages


Field Summary
static int BASE_REC_ID
          Base notification record ID
static int CHG_OBJ_IDS
          Changed managed object record ID
static int FILTER_DELETE
          Filter delete record ID
static int NEW_OBJ_IDS
          New managed object record ID
static int REM_OBJ_IDS
          Removed managed object record ID
 
Constructor Summary
TWGFilterNotifyCmd(Command command)
          Constructor for TWGFilterNotifyCmd : used to interpret given notify command.
 
Method Summary
 IntValueSet getAddedManagedObjectIDs()
          Get added object IDs
 IntValueSet getChangedManagedObjectIDs()
          Get changed object IDs
 int getFilterID()
          Get filter ID of notification
 IntValueSet getRemovedManagedObjectIDs()
          Get removed object IDs
 boolean isDeleteNotification()
          Test if filter delete notification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BASE_REC_ID

public static final int BASE_REC_ID
Base notification record ID

See Also:
Constant Field Values

FILTER_DELETE

public static final int FILTER_DELETE
Filter delete record ID

See Also:
Constant Field Values

NEW_OBJ_IDS

public static final int NEW_OBJ_IDS
New managed object record ID

See Also:
Constant Field Values

CHG_OBJ_IDS

public static final int CHG_OBJ_IDS
Changed managed object record ID

See Also:
Constant Field Values

REM_OBJ_IDS

public static final int REM_OBJ_IDS
Removed managed object record ID

See Also:
Constant Field Values
Constructor Detail

TWGFilterNotifyCmd

public TWGFilterNotifyCmd(Command command)
Constructor for TWGFilterNotifyCmd : used to interpret given notify command.

Parameters:
command - - Notification send to subscriber
Method Detail

getFilterID

public int getFilterID()
Get filter ID of notification

Returns:
persistent object ID of filter

isDeleteNotification

public boolean isDeleteNotification()
Test if filter delete notification

Returns:
true if delete

getAddedManagedObjectIDs

public IntValueSet getAddedManagedObjectIDs()
Get added object IDs

Returns:
set of persistent IDs of added objects, or null if none

getChangedManagedObjectIDs

public IntValueSet getChangedManagedObjectIDs()
Get changed object IDs

Returns:
set of persistent IDs of changed objects, or null if none

getRemovedManagedObjectIDs

public IntValueSet getRemovedManagedObjectIDs()
Get removed object IDs

Returns:
set of persistent IDs of removed objects, or null if none