|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.emframe.dev.Plugin
com.novell.emframe.dev.Rename
Extend this class to provide a custom object renamer. Your renamer class with then be called when an object of the type your custom object renamer is registered for needs to be renamed. You must also register as an object renamer in your XML descriptor under the <object-rename> element.
Field Summary | |
protected java.lang.String |
m_header
Header of the message. |
protected java.lang.String |
m_msg
Body of rename message to display. |
protected ObjectEntry |
m_newOE
ObjectEntry of the new object. |
protected java.lang.String |
m_objectName
Full DN of the object to be renamed. |
Constructor Summary | |
Rename()
|
Method Summary | |
void |
doRename(ObjectEntry srcOE,
java.lang.String newObjName,
TaskContext context)
Called for this renamer to rename the object. |
ObjectEntry |
getNewObjectEntry()
Returns the new ObjectEntry containing the destination object. |
java.lang.String |
getObjectName()
Returns the original name of the object to be renamed. |
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 ObjectEntry m_newOE
protected java.lang.String m_objectName
Constructor Detail |
public Rename()
Method Detail |
public void doRename(ObjectEntry srcOE, java.lang.String newObjName, TaskContext context) throws PluginException
srcOE
- ObjectEntry containing the original object to be renamednewObjName
- ObjectEntry containing the destination objectcontext
- TaskContext of the plug-in
PluginException
- if the rename failed or should be Vetoedpublic ObjectEntry getNewObjectEntry()
public java.lang.String getObjectName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |