com.novell.emframe.dev
Class VetoServerDelete

java.lang.Object
  extended bycom.novell.emframe.dev.Plugin
      extended bycom.novell.emframe.dev.Deletor
          extended bycom.novell.emframe.dev.VetoServerDelete

public class VetoServerDelete
extends Deletor

Deletor that will Veto any delete operation when the server is still up. If the server is down, this Deletor will delete the server object. You must also register as an object deletor in your XML descriptor under the <object-deletor> element if you extend the VetoServerDelete class.


Field Summary
protected  java.lang.String m_header
          Header of the message.
protected  java.lang.String m_msg
          Body of deletion message to display.
protected  java.lang.String m_objectName
          Full DN of the object to be deleted.
 
Constructor Summary
VetoServerDelete()
           
 
Method Summary
 void doDelete(ObjectEntry oe, TaskContext context)
          Called for this deletor to delete the object.
 
Methods inherited from class com.novell.emframe.dev.Deletor
getObjectName
 
Methods inherited from class com.novell.emframe.dev.Plugin
init, isPluginAvailable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_header

protected java.lang.String m_header
Header of the message.


m_msg

protected java.lang.String m_msg
Body of deletion message to display.


m_objectName

protected java.lang.String m_objectName
Full DN of the object to be deleted.

Constructor Detail

VetoServerDelete

public VetoServerDelete()
Method Detail

doDelete

public void doDelete(ObjectEntry oe,
                     TaskContext context)
              throws PluginException
Called for this deletor to delete the object.

Overrides:
doDelete in class Deletor
Parameters:
oe - ObjectEntry containing the object to be deleted
context - TaskContext of the plug-in
Throws:
PluginException - if the deletion failed or should be Vetoed


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.