com.novell.admin.ns
Class NSObjectEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.novell.application.console.snapin.SnapinEvent
          extended bycom.novell.admin.ns.NSObjectEvent
All Implemented Interfaces:
java.io.Serializable

public final class NSObjectEvent
extends SnapinEvent

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

See Also:
Serialized Form

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, ObjectEntry oldObjEntry, ObjectEntry newObjEntry)
          Constructor for the snapin event.
 
Method Summary
 ObjectEntry getNewObjectEntry()
          Returns the ObjectEntry of the new object if this is a move event, otherwise null.
 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
See Also:
Constant Field Values

DEL_EVENT

public static final java.lang.String DEL_EVENT
See Also:
Constant Field Values

MOD_EVENT

public static final java.lang.String MOD_EVENT
See Also:
Constant Field Values

MOVE_EVENT

public static final java.lang.String MOVE_EVENT
See Also:
Constant Field Values

RENAME_EVENT

public static final java.lang.String RENAME_EVENT
See Also:
Constant Field Values

VETO_ADD_EVENT

public static final java.lang.String VETO_ADD_EVENT
See Also:
Constant Field Values

VETO_DEL_EVENT

public static final java.lang.String VETO_DEL_EVENT
See Also:
Constant Field Values

VETO_MOD_EVENT

public static final java.lang.String VETO_MOD_EVENT
See Also:
Constant Field Values

VETO_MOVE_EVENT

public static final java.lang.String VETO_MOVE_EVENT
See Also:
Constant Field Values

VETO_RENAME_EVENT

public static final java.lang.String VETO_RENAME_EVENT
See Also:
Constant Field Values
Constructor Detail

NSObjectEvent

public NSObjectEvent(java.lang.Object obj,
                     java.lang.String eventIn,
                     ObjectEntry oldObjEntry,
                     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

getNewObjectEntry

public ObjectEntry getNewObjectEntry()
Returns the ObjectEntry of the new object if this is a move event, otherwise null.

Returns:
The new ObjectEntry.

getObjectEntry

public ObjectEntry getObjectEntry()
Returns the ObjectEntry of the object that this event is occuring on.

Returns:
The ObjectEntry.


API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated September 2 2004 0111.