Node Director
|
Set up an object editor without any user interface. More...
Public Member Functions | |
DaemonObjectEdit (ObjectRegistry objectType, DBObject dbo, DBConnection db, boolean createit) | |
DaemonObjectEdit (ObjectRegistry objectType, DBObject dbo, DBConnection db) | |
DBObject | getDBObject () throws DirectorException |
DN | getNewDN () |
void | ObjectDefine () throws DirectorException |
store the just edited object | |
Vector | expand (String template, final Record data) |
EditDaemon | getInterface () |
void | checkData () |
Public Member Functions inherited from com.graeff.dbedit.ExpandHook | |
java.util.Vector | expand (String string, Record data) |
Set up an object editor without any user interface.
Allows import/export of DBObjects, accepts field modifications via the alterField() method.
sfi.director.application.DaemonObjectEdit.DaemonObjectEdit | ( | ObjectRegistry | objectType, |
DBObject | dbo, | ||
DBConnection | db, | ||
boolean | createit | ||
) |
sfi.director.application.DaemonObjectEdit.DaemonObjectEdit | ( | ObjectRegistry | objectType, |
DBObject | dbo, | ||
DBConnection | db | ||
) |
void sfi.director.application.DaemonObjectEdit.checkData | ( | ) |
References com.graeff.dbedit.EditUi.checkData(), com.graeff.dbedit.EditDaemon.error(), sfi.director.repository.DBConnection.get(), sfi.director.application.DaemonObjectEdit.getDBObject(), and sfi.director.repository.DBObject.getDN().
Referenced by sfi.director.application.FrontendInterface.executeCommand().
Vector sfi.director.application.DaemonObjectEdit.expand | ( | String | template, |
final Record | data | ||
) |
DBObject sfi.director.application.DaemonObjectEdit.getDBObject | ( | ) | throws DirectorException |
References com.graeff.dbedit.EditUi.getData(), sfi.director.repository.DBObject.getDN(), sfi.director.repository.DBObject.setDN(), and sfi.director.util.Tools.toDBObject().
Referenced by sfi.director.application.DaemonObjectEdit.checkData(), sfi.director.application.FrontendHTTPServer.edit_export(), sfi.director.application.FrontendInterface.executeCommand(), and sfi.director.application.DaemonObjectEdit.ObjectDefine().
EditDaemon sfi.director.application.DaemonObjectEdit.getInterface | ( | ) |
Referenced by sfi.director.application.FrontendHTTPServer.edit_data(), sfi.director.application.FrontendHTTPServer.edit_editor(), sfi.director.application.FrontendHTTPServer.edit_export(), sfi.director.application.FrontendHTTPServer.edit_update(), sfi.director.application.FrontendInterface.executeCommand(), sfi.director.application.FrontendHTTPServer.fieldsToJSON(), sfi.director.application.FrontendHTTPServer.getEditorErrors(), and sfi.director.cli.create.prettyPrint().
DN sfi.director.application.DaemonObjectEdit.getNewDN | ( | ) |
void sfi.director.application.DaemonObjectEdit.ObjectDefine | ( | ) | throws DirectorException |
store the just edited object
References sfi.director.util.Tools.debug(), sfi.director.application.DaemonObjectEdit.getDBObject(), sfi.director.repository.DBObject.getDN(), and sfi.director.repository.DBConnection.replace().