com.clickntap.tool.setup
Class DatabaseStep

java.lang.Object
  extended by com.clickntap.tool.setup.DatabaseStep
All Implemented Interfaces:
SetupStep

public class DatabaseStep
extends Object


Constructor Summary
DatabaseStep(org.dom4j.Element step)
           
 
Method Summary
 BOManager getApp()
           
 org.springframework.jdbc.core.JdbcTemplate getDb()
           
 String getDescription()
           
 String getPostAction()
           
 String getPreAction()
           
 String getSchema()
           
 void init(org.springframework.jdbc.core.JdbcTemplate db, BOManager app, String schema)
           
 boolean isSkipable()
           
 void setPostAction(String postAction)
           
 void setPreAction(String preAction)
           
 void setup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseStep

public DatabaseStep(org.dom4j.Element step)
Method Detail

getPostAction

public String getPostAction()

getPreAction

public String getPreAction()

setPreAction

public void setPreAction(String preAction)

setPostAction

public void setPostAction(String postAction)

getDescription

public String getDescription()

isSkipable

public boolean isSkipable()
                   throws Exception
Throws:
Exception

setup

public void setup()
           throws Exception
Throws:
Exception

init

public void init(org.springframework.jdbc.core.JdbcTemplate db,
                 BOManager app,
                 String schema)
          throws Exception
Specified by:
init in interface SetupStep
Throws:
Exception

getDb

public org.springframework.jdbc.core.JdbcTemplate getDb()

getApp

public BOManager getApp()

getSchema

public String getSchema()


Copyright © 2014. All rights reserved.