|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.emframe.dev.Plugin
com.novell.emframe.dev.Deletor
Extend this class to provide a custom object deletor. Your deletor class with then be called when an object of the type your custom object deletor is registered for needs to be deleted. You must also register as an object deletor in your XML descriptor under the <object-deletor> element.
| 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 | |
Deletor()
|
|
| Method Summary | |
void |
doDelete(ObjectEntry objectName,
TaskContext context)
Called for this deletor to delete the object. |
java.lang.String |
getObjectName()
Returns the name of the object deleted. |
| 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 |
protected java.lang.String m_header
protected java.lang.String m_msg
protected java.lang.String m_objectName
| Constructor Detail |
public Deletor()
| Method Detail |
public void doDelete(ObjectEntry objectName,
TaskContext context)
throws PluginException
objectName - ObjectEntry containing the object to be deletedcontext - TaskContext of the plug-in
PluginException - if the deletion failed or should be Vetoedpublic java.lang.String getObjectName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||