com.partnersoft.v3x.apps.Staker.interfaces
Class SQLExportInterfaceModule

java.lang.Object
  extended by com.partnersoft.v3x.apps.Staker.interfaces.ExternalInterfaceModule
      extended by com.partnersoft.v3x.apps.Staker.interfaces.SQLExportInterfaceModule
All Implemented Interfaces:
java.io.Serializable

public class SQLExportInterfaceModule
extends ExternalInterfaceModule

The configurable SQLExportInterfaceModule! will generate the tables as you ask for them.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.partnersoft.v3x.apps.Staker.interfaces.ExternalInterfaceModule
verbose
 
Constructor Summary
SQLExportInterfaceModule()
           
 
Method Summary
 java.lang.Object createExternalJob(Job job)
          no usefull implementation here, needed to extend the ExternalInterfaceModule
 void export(Job job)
          this will update the tables with very important stuff (VIS)
 java.lang.String generateReportFor(Job job)
          no usefull implementation here, needed to extendthe ExternalInterfaceModule
 java.lang.String getDatabaseDriver()
           
 java.lang.String getDatabasePassword()
           
 java.lang.String getDatabaseURL()
           
 java.lang.String getDatabaseUserName()
           
 java.util.HashMap getJobMapping()
           
 java.util.HashMap getUnitMapping()
           
 boolean isCreateTables()
           
 void launchInterface(JobLibrarian librarian)
          if createTables is true at launch time it will drop / then create the tables so use this once!
 void runImport(JobLibrarian librarian)
          no usefull implementation here, needed to extend the ExternalInterfaceModule
 void setCreateTables(boolean newValue)
           
 void setDatabaseDriver(java.lang.String newDriver)
           
 void setDatabasePassword(java.lang.String newName)
           
 void setDatabaseURL(java.lang.String newURL)
           
 void setDatabaseUserName(java.lang.String newName)
           
 void setJobMapping(java.util.HashMap newMap)
           
 void setUnitMapping(java.util.HashMap newMap)
           
 
Methods inherited from class com.partnersoft.v3x.apps.Staker.interfaces.ExternalInterfaceModule
getDoNotExportField, getExportOnce, getExportOnceProperty, getHub, getLibrarian, getLog, getName, getRunInterval, getRunLag, getSynchronousExport, haltInterface, isExporting, isImporting, isInterfaceRunning, isVerbose, setDoNotExportField, setExporting, setExportOnce, setExportOnceProperty, setHub, setImporting, setLibrarian, setName, setRunInterval, setRunLag, setSynchronousExport, setVerbose, updateJob
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLExportInterfaceModule

public SQLExportInterfaceModule()
Method Detail

createExternalJob

public java.lang.Object createExternalJob(Job job)
no usefull implementation here, needed to extend the ExternalInterfaceModule

Specified by:
createExternalJob in class ExternalInterfaceModule

generateReportFor

public java.lang.String generateReportFor(Job job)
no usefull implementation here, needed to extendthe ExternalInterfaceModule

Specified by:
generateReportFor in class ExternalInterfaceModule

runImport

public void runImport(JobLibrarian librarian)
no usefull implementation here, needed to extend the ExternalInterfaceModule

Specified by:
runImport in class ExternalInterfaceModule

launchInterface

public void launchInterface(JobLibrarian librarian)
if createTables is true at launch time it will drop / then create the tables so use this once!

Overrides:
launchInterface in class ExternalInterfaceModule

export

public void export(Job job)
this will update the tables with very important stuff (VIS)

Specified by:
export in class ExternalInterfaceModule

getJobMapping

public java.util.HashMap getJobMapping()

setJobMapping

public void setJobMapping(java.util.HashMap newMap)

getUnitMapping

public java.util.HashMap getUnitMapping()

setUnitMapping

public void setUnitMapping(java.util.HashMap newMap)

getDatabaseDriver

public java.lang.String getDatabaseDriver()

setDatabaseDriver

public void setDatabaseDriver(java.lang.String newDriver)

getDatabaseURL

public java.lang.String getDatabaseURL()

setDatabaseURL

public void setDatabaseURL(java.lang.String newURL)

getDatabaseUserName

public java.lang.String getDatabaseUserName()

setDatabaseUserName

public void setDatabaseUserName(java.lang.String newName)

getDatabasePassword

public java.lang.String getDatabasePassword()

setDatabasePassword

public void setDatabasePassword(java.lang.String newName)

isCreateTables

public boolean isCreateTables()

setCreateTables

public void setCreateTables(boolean newValue)