org.kuali.common.jdbc
Class DefaultDatabaseService

java.lang.Object
  extended by org.kuali.common.jdbc.DefaultDatabaseService
All Implemented Interfaces:
DatabaseService

public class DefaultDatabaseService
extends Object
implements DatabaseService


Constructor Summary
DefaultDatabaseService()
           
 
Method Summary
protected  void add(SqlMetaDataList one, SqlMetaDataList two)
           
protected  SqlMetaDataList doDba(DatabaseResetContext context)
           
protected  SqlMetaDataList doSQL(DatabaseResetContext context, String type, String prefix)
           
protected  List<String> getLocations(Properties properties, String prefix, String locationListPattern)
           
protected  boolean isLocationList(String key, String pattern)
           
protected  void logExecution(String executionType, SqlMetaDataList metadata, org.kuali.common.util.SimpleFormatter formatter)
           
protected  void logNullAsNone(String prefix)
          Log null as NONE
protected  void logPassword(String prefix, String username, String password)
           
protected  void logUsername(String prefix, String username)
           
 void reset(DatabaseResetContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDatabaseService

public DefaultDatabaseService()
Method Detail

reset

public void reset(DatabaseResetContext context)
Specified by:
reset in interface DatabaseService

add

protected void add(SqlMetaDataList one,
                   SqlMetaDataList two)

doDba

protected SqlMetaDataList doDba(DatabaseResetContext context)

doSQL

protected SqlMetaDataList doSQL(DatabaseResetContext context,
                                String type,
                                String prefix)

getLocations

protected List<String> getLocations(Properties properties,
                                    String prefix,
                                    String locationListPattern)

isLocationList

protected boolean isLocationList(String key,
                                 String pattern)

logExecution

protected void logExecution(String executionType,
                            SqlMetaDataList metadata,
                            org.kuali.common.util.SimpleFormatter formatter)

logUsername

protected void logUsername(String prefix,
                           String username)

logPassword

protected void logPassword(String prefix,
                           String username,
                           String password)

logNullAsNone

protected void logNullAsNone(String prefix)
Log null as NONE



Copyright © 2010-2012 The Kuali Foundation. All Rights Reserved.