com.cisco.provisioning.cpe.events
Interface NodeTypeListener

All Superinterfaces:
ProvAPIEventListener
All Known Implementing Classes:
NodeTypeAdapter

public interface NodeTypeListener
extends ProvAPIEventListener

The Listener interface for Node Type events.

See Also:
ProvAPIEventListener

Field Summary
static int CHANGED_NODE_TYPE
          Event ID that indicates the CHANGED_NODE_TYPE sub-event type of the NodeTypeEvent.
static int DELETED_NODE_TYPE
          Event ID that indicates the DELETED_NODE_TYPE sub-event type of the NodeTypeEvent.
static int NEW_NODE_TYPE
          Event ID that indicates the NEW_NODE_TYPE sub-event type of the NodeTypeEvent.
 
Method Summary
 void changedNodeType(NodeTypeEvent ev)
          The method invoked when a NodeTypeEvent arrives as a result of a node type's properties having been updated.
 void deletedNodeType(NodeTypeEvent ev)
          The method invoked when a NodeTypeEvent arrives as a result of a node type having been deleted.
 void newNodeType(NodeTypeEvent ev)
          The method invoked when a NodeTypeEvent arrives as a result of a node type has been added.
 
Methods inherited from interface com.cisco.provisioning.cpe.events.ProvAPIEventListener
getOneShot, setOneShot
 

Field Detail

NEW_NODE_TYPE

static final int NEW_NODE_TYPE
Event ID that indicates the NEW_NODE_TYPE sub-event type of the NodeTypeEvent. This indicates that a new node type has been added to the database.

See Also:
newNodeType(com.cisco.provisioning.cpe.events.NodeTypeEvent), Constant Field Values

DELETED_NODE_TYPE

static final int DELETED_NODE_TYPE
Event ID that indicates the DELETED_NODE_TYPE sub-event type of the NodeTypeEvent. This indicates that a node type has been deleted from database.

See Also:
deletedNodeType(com.cisco.provisioning.cpe.events.NodeTypeEvent), Constant Field Values

CHANGED_NODE_TYPE

static final int CHANGED_NODE_TYPE
Event ID that indicates the CHANGED_NODE_TYPE sub-event type of the NodeTypeEvent. This indicates that the properties of a node type has been changed in the database.

See Also:
changedNodeType(com.cisco.provisioning.cpe.events.NodeTypeEvent), Constant Field Values
Method Detail

newNodeType

void newNodeType(NodeTypeEvent ev)
The method invoked when a NodeTypeEvent arrives as a result of a node type has been added.

Parameters:
ev - the NodeTypeEvent object containing the event data.

deletedNodeType

void deletedNodeType(NodeTypeEvent ev)
The method invoked when a NodeTypeEvent arrives as a result of a node type having been deleted.

Parameters:
ev - the NodeTypeEvent object containing the event data.

changedNodeType

void changedNodeType(NodeTypeEvent ev)
The method invoked when a NodeTypeEvent arrives as a result of a node type's properties having been updated.

Parameters:
ev - the NodeTypeEvent object containing the event data.