com.novell.admin.ns
Class NSObjectEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.novell.application.console.snapin.SnapinEvent
              |
              +--com.novell.admin.ns.NSObjectEvent
All Implemented Interfaces:
java.io.Serializable

public final class NSObjectEvent
extends com.novell.application.console.snapin.SnapinEvent

This class is the Snapin Event that will be sent when actions occur on an NS Object.


Field Summary
static java.lang.String ADD_EVENT
           
static java.lang.String DEL_EVENT
           
static java.lang.String MOD_EVENT
           
static java.lang.String MOVE_EVENT
           
static java.lang.String RENAME_EVENT
           
static java.lang.String VETO_ADD_EVENT
           
static java.lang.String VETO_DEL_EVENT
           
static java.lang.String VETO_MOD_EVENT
           
static java.lang.String VETO_MOVE_EVENT
           
static java.lang.String VETO_RENAME_EVENT
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
NSObjectEvent(java.lang.Object obj, java.lang.String eventIn, com.novell.application.console.snapin.ObjectEntry oldObjEntry, com.novell.application.console.snapin.ObjectEntry newObjEntry)
          Constructor for the snapin event.
 
Method Summary
 com.novell.application.console.snapin.ObjectEntry getNewObjectEntry()
          Returns the ObjectEntry of the new object if this is a move event, otherwise null.
 com.novell.application.console.snapin.ObjectEntry getObjectEntry()
          Returns the ObjectEntry of the object that this event is occuring on.
 
Methods inherited from class com.novell.application.console.snapin.SnapinEvent
getEvent
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ADD_EVENT

public static final java.lang.String ADD_EVENT

DEL_EVENT

public static final java.lang.String DEL_EVENT

MOD_EVENT

public static final java.lang.String MOD_EVENT

MOVE_EVENT

public static final java.lang.String MOVE_EVENT

RENAME_EVENT

public static final java.lang.String RENAME_EVENT

VETO_ADD_EVENT

public static final java.lang.String VETO_ADD_EVENT

VETO_DEL_EVENT

public static final java.lang.String VETO_DEL_EVENT

VETO_MOD_EVENT

public static final java.lang.String VETO_MOD_EVENT

VETO_MOVE_EVENT

public static final java.lang.String VETO_MOVE_EVENT

VETO_RENAME_EVENT

public static final java.lang.String VETO_RENAME_EVENT
Constructor Detail

NSObjectEvent

public NSObjectEvent(java.lang.Object obj,
                     java.lang.String eventIn,
                     com.novell.application.console.snapin.ObjectEntry oldObjEntry,
                     com.novell.application.console.snapin.ObjectEntry newObjEntry)
Constructor for the snapin event.
Parameters:
obj - The object that sent the event.
eventIn - The event string.
oldObjEntry - The ObjectEntry of the object that this event is occuring on.
newObjEntry - The ObjectEntry of the object's new location if this is a move event, otherwise, it is null.
Method Detail

getObjectEntry

public com.novell.application.console.snapin.ObjectEntry getObjectEntry()
Returns the ObjectEntry of the object that this event is occuring on.
Returns:
The ObjectEntry.

getNewObjectEntry

public com.novell.application.console.snapin.ObjectEntry getNewObjectEntry()
Returns the ObjectEntry of the new object if this is a move event, otherwise null.
Returns:
The new ObjectEntry.


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated December 17 2003 1746.