net.aerith.misao.database
Class InformationDBConductor

java.lang.Object
  |
  +--net.aerith.misao.database.InformationDBConductor

public class InformationDBConductor
extends java.lang.Object
implements MultiTaskConductor

The InformationDBConductor represents a conductor of multi task operation on XML report documents in the database.


Field Summary
protected  GlobalDBManager db_manager
          The database manager.
protected  java.awt.Container pane
          The content pane.
 
Constructor Summary
InformationDBConductor(GlobalDBManager db_manager, java.awt.Container pane)
          Constructs an InformationDBConductor.
 
Method Summary
 java.awt.Container getPane()
          Gets the content pane.
 void operate(MultiTaskOperation operation)
          Operates the specified operation on several objects.
 boolean ready()
          Returns true if the objects are ready to be operated.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

db_manager

protected GlobalDBManager db_manager
The database manager.

pane

protected java.awt.Container pane
The content pane.
Constructor Detail

InformationDBConductor

public InformationDBConductor(GlobalDBManager db_manager,
                              java.awt.Container pane)
Constructs an InformationDBConductor.
Parameters:
db_manager - the database manager.
pane - the content pane.
Method Detail

getPane

public java.awt.Container getPane()
Gets the content pane.
Specified by:
getPane in interface MultiTaskConductor
Returns:
the pane.

ready

public boolean ready()
Returns true if the objects are ready to be operated.
Specified by:
ready in interface MultiTaskConductor
Returns:
true if the objects are ready to be operated.

operate

public void operate(MultiTaskOperation operation)
             throws java.lang.InterruptedException,
                    java.lang.Exception
Operates the specified operation on several objects.
Specified by:
operate in interface MultiTaskConductor
Parameters:
operation - the operation.
Throws:
java.lang.InterruptedException - if the operatoin is stopped.
java.lang.Exception - if an error occurs.