it.openutils.migration.task.setup
Class ExcelConfigurationTask

java.lang.Object
  extended by it.openutils.migration.task.setup.BaseDbTask
      extended by it.openutils.migration.task.setup.ExcelConfigurationTask
All Implemented Interfaces:
DbTask

public class ExcelConfigurationTask
extends BaseDbTask
implements DbTask

Version:
$Id: ExcelConfigurationTask.java 684 2008-02-21 21:03:49Z fgiust $
Author:
fgiust

Nested Class Summary
static class ExcelConfigurationTask.QueryConfig
           
 
Field Summary
 
Fields inherited from class it.openutils.migration.task.setup.BaseDbTask
description
 
Constructor Summary
ExcelConfigurationTask()
           
 
Method Summary
 void execute(javax.sql.DataSource dataSource)
          Execute this db task.
 void setConfig(java.util.Map<java.lang.String,ExcelConfigurationTask.QueryConfig> config)
          Sets the config.
 void setEnabled(boolean enabled)
          Sets the enabled.
 void setScript(org.springframework.core.io.Resource script)
          Sets the script.
 void setUpdateEnabled(boolean updateEnabled)
          Sets the updateEnabled.
 void suggestSheetConfig(org.apache.poi.hssf.usermodel.HSSFSheet sheet, java.lang.String tableName, ExcelConfigurationTask.QueryConfig con, javax.sql.DataSource dataSource)
           
 
Methods inherited from class it.openutils.migration.task.setup.BaseDbTask
getDescription, setDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface it.openutils.migration.task.setup.DbTask
getDescription
 

Constructor Detail

ExcelConfigurationTask

public ExcelConfigurationTask()
Method Detail

setScript

public void setScript(org.springframework.core.io.Resource script)
Sets the script.

Parameters:
script - the script to set

setConfig

public void setConfig(java.util.Map<java.lang.String,ExcelConfigurationTask.QueryConfig> config)
Sets the config.

Parameters:
config - the config to set

setEnabled

public void setEnabled(boolean enabled)
Sets the enabled.

Parameters:
enabled - the enabled to set

setUpdateEnabled

public void setUpdateEnabled(boolean updateEnabled)
Sets the updateEnabled.

Parameters:
updateEnabled - the updateEnabled to set

execute

public void execute(javax.sql.DataSource dataSource)
Execute this db task.

Specified by:
execute in interface DbTask
Parameters:
dataSource - javax.sql.datasource

suggestSheetConfig

public void suggestSheetConfig(org.apache.poi.hssf.usermodel.HSSFSheet sheet,
                               java.lang.String tableName,
                               ExcelConfigurationTask.QueryConfig con,
                               javax.sql.DataSource dataSource)


Copyright © 2008 Openmind. All Rights Reserved.