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 SnapinEvent
This class is the Snapin Event that will be sent when actions occur
on an NS Object.
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
| 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 |
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
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.
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.