org.archiviststoolkit.maintenance.upgrades
Class UpgradeTo_1_6_0

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

public class UpgradeTo_1_6_0
extends Upgrade

Archivists' Toolkit(TM) Copyright © 2005-2007 Regents of the University of California, New York University, & Five Colleges, Inc. All rights reserved. This software is free. You can redistribute it and / or modify it under the terms of the Educational Community License (ECL) version 1.0 (http://www.opensource.org/licenses/ecl1.php) This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ECL license for more details about permissions and limitations. Archivists' Toolkit(TM) http://www.archiviststoolkit.org info@archiviststoolkit.org Created by IntelliJ IDEA. User: Nathan Stevens Date: Nov 25, 2008 Time: 10:50:35 AM


Field Summary
 
Fields inherited from class org.archiviststoolkit.maintenance.upgrades.Upgrade
errorString
 
Constructor Summary
UpgradeTo_1_6_0()
           
 
Method Summary
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
fixListValues, getErrorString, runDetermineSequenceNumbers, runLoadLookupLists, runPostDBInitializationCode, runPostDBInitializationSQLCode, setErrorString, updateFieldValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradeTo_1_6_0

public UpgradeTo_1_6_0()
Method Detail

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

runFieldInit

protected boolean runFieldInit()
Overrides:
runFieldInit in class Upgrade

getWarningMessage

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