org.archiviststoolkit.maintenance.upgrades
Class UpgradeTo_1_0_05

java.lang.Object
  extended by org.archiviststoolkit.maintenance.upgrades.Upgrade
      extended by org.archiviststoolkit.maintenance.upgrades.UpgradeTo_1_0_05

public class UpgradeTo_1_0_05
extends Upgrade


Field Summary
 
Fields inherited from class org.archiviststoolkit.maintenance.upgrades.Upgrade
errorString
 
Constructor Summary
UpgradeTo_1_0_05()
           
 
Method Summary
protected  void addFieldToApplicationConfiguration(java.sql.Connection conn)
           
protected  void addLanguageCodeIndicies(java.sql.Connection conn)
           
 void createUpdateStatments(java.sql.Connection conn)
           
protected  boolean doUpgrade(java.sql.Connection conn, int initialStep, int numberOfSteps, org.netbeans.spi.wizard.DeferredWizardResult.ResultProgressHandle progress)
           
protected  int getNumberOfSteps()
           
protected  java.lang.String getWarningMessage()
           
protected  boolean runFieldInit()
           
protected  boolean upgradeNeeded(java.sql.Connection conn)
           
 
Methods inherited from class org.archiviststoolkit.maintenance.upgrades.Upgrade
getErrorString, runDetermineSequenceNumbers, runLoadLookupLists, setErrorString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradeTo_1_0_05

public UpgradeTo_1_0_05()
Method Detail

createUpdateStatments

public void createUpdateStatments(java.sql.Connection conn)
                           throws java.sql.SQLException
Throws:
java.sql.SQLException

doUpgrade

protected boolean doUpgrade(java.sql.Connection conn,
                            int initialStep,
                            int numberOfSteps,
                            org.netbeans.spi.wizard.DeferredWizardResult.ResultProgressHandle progress)
Specified by:
doUpgrade in class Upgrade

getNumberOfSteps

protected int getNumberOfSteps()
Specified by:
getNumberOfSteps in class Upgrade

upgradeNeeded

protected boolean upgradeNeeded(java.sql.Connection conn)
                         throws java.sql.SQLException
Specified by:
upgradeNeeded in class Upgrade
Throws:
java.sql.SQLException

getWarningMessage

protected java.lang.String getWarningMessage()
Overrides:
getWarningMessage in class Upgrade

addLanguageCodeIndicies

protected void addLanguageCodeIndicies(java.sql.Connection conn)
                                throws java.sql.SQLException
Throws:
java.sql.SQLException

addFieldToApplicationConfiguration

protected void addFieldToApplicationConfiguration(java.sql.Connection conn)
                                           throws java.sql.SQLException
Throws:
java.sql.SQLException

runFieldInit

protected boolean runFieldInit()
Overrides:
runFieldInit in class Upgrade