net.aerith.misao.toolkit.ReportBatch
Class DBRegistrationOperation

java.lang.Object
  |
  +--net.aerith.misao.util.OperationObservable
        |
        +--net.aerith.misao.util.Operation
              |
              +--net.aerith.misao.util.MultiTaskOperation
                    |
                    +--net.aerith.misao.toolkit.ReportBatch.ReportBatchOperation
                          |
                          +--net.aerith.misao.toolkit.ReportBatch.DBRegistrationOperation

public class DBRegistrationOperation
extends ReportBatchOperation

The DBRegistrationOperation represents a batch operation to register XML report documents into the database.


Field Summary
protected  CatalogSelectionDialog dialog
          The dialog to select catalogs to register the magnitude into the database.
protected  InformationDBUpdateSettingDialog dialog2
          The dialog to set up parameters to update XML report documents in the database.
 
Fields inherited from class net.aerith.misao.toolkit.ReportBatch.ReportBatchOperation
db_manager, file_manager
 
Fields inherited from class net.aerith.misao.util.MultiTaskOperation
conductor
 
Fields inherited from class net.aerith.misao.util.Operation
monitor_set, stopped
 
Fields inherited from class net.aerith.misao.util.OperationObservable
observer_list
 
Constructor Summary
DBRegistrationOperation(MultiTaskConductor conductor)
          Constructs a DBRegistrationOperation.
 
Method Summary
 void operate(java.lang.Object object)
          Operates on one item.
 int showSettingDialog()
          Shows the dialog to set parameters.
 
Methods inherited from class net.aerith.misao.toolkit.ReportBatch.ReportBatchOperation
getDBManager, setDBManager, setFileManager
 
Methods inherited from class net.aerith.misao.util.MultiTaskOperation
operate, ready
 
Methods inherited from class net.aerith.misao.util.Operation
addMonitor, isStopped, perform, run, stop
 
Methods inherited from class net.aerith.misao.util.OperationObservable
addObserver, deleteObserver, notifyEnd, notifyFailed, notifyStart, notifySucceeded, notifyWarned
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

dialog

protected CatalogSelectionDialog dialog
The dialog to select catalogs to register the magnitude into the database.

dialog2

protected InformationDBUpdateSettingDialog dialog2
The dialog to set up parameters to update XML report documents in the database.
Constructor Detail

DBRegistrationOperation

public DBRegistrationOperation(MultiTaskConductor conductor)
Constructs a DBRegistrationOperation.
Parameters:
conductor - the conductor of multi task operation.
Method Detail

showSettingDialog

public int showSettingDialog()
Shows the dialog to set parameters.
Overrides:
showSettingDialog in class MultiTaskOperation
Returns:
0 if OK button is pushed, or 2 if Cancel button is pushed.

operate

public void operate(java.lang.Object object)
             throws java.lang.Exception
Operates on one item. This is invoked from the conductor of multi task operation.
Overrides:
operate in class MultiTaskOperation
Parameters:
object - the target object to operate.
Throws:
java.lang.Exception - if an error occurs.