com.ibm.tivoli.maximo.integrity.repair

Class RepairSQL

  • java.lang.Object
    • com.ibm.tivoli.maximo.integrity.repair.RepairSQL
  • All Implemented Interfaces:
    Repair


    public class RepairSQL
    extends java.lang.Object
    implements Repair
    Simple repair done by a single SQL Statement.
    • Constructor Summary

      Constructors 
      Constructor and Description
      RepairSQL(java.sql.Connection dc, java.lang.String sql)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void doRepair()
      Perform the repair.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RepairSQL

        public RepairSQL(java.sql.Connection dc,
                         java.lang.String sql)
        Constructor
        Parameters:
        dc - Connection where to perform the fix.
        sql - The SQL statement that will fix the problem.
    • Method Detail

      • doRepair

        public void doRepair()
                      throws java.lang.Exception
        Description copied from interface: Repair
        Perform the repair.
        Specified by:
        doRepair in interface Repair
        Throws:
        java.lang.Exception