|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.lexevs.dao.database.setup.schemacheck.AbstractLesGridSchemaCheck
public abstract class AbstractLesGridSchemaCheck
The Class AbstractLesGridSchemaCheck.
Constructor Summary | |
---|---|
AbstractLesGridSchemaCheck()
Instantiates a new abstract les grid schema check. |
|
AbstractLesGridSchemaCheck(javax.sql.DataSource dataSource,
SystemVariables systemVariables)
Instantiates a new abstract les grid schema check. |
Method Summary | |
---|---|
protected abstract boolean |
checkResult(org.springframework.jdbc.core.JdbcTemplate template,
java.lang.String sql)
Check result. |
javax.sql.DataSource |
getDataSource()
Gets the data source. |
protected abstract java.lang.String |
getDbCheckSql()
Gets the db check sql. |
SystemVariables |
getSystemVariables()
|
boolean |
isCommonLexGridSchemaInstalled()
Checks if is common lex grid schema installed. |
void |
setDataSource(javax.sql.DataSource dataSource)
Sets the data source. |
void |
setSystemVariables(SystemVariables systemVariables)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractLesGridSchemaCheck()
public AbstractLesGridSchemaCheck(javax.sql.DataSource dataSource, SystemVariables systemVariables)
dataSource
- the data sourceprefixResolver
- the prefix resolverMethod Detail |
---|
public void setDataSource(javax.sql.DataSource dataSource)
dataSource
- the new data sourcepublic javax.sql.DataSource getDataSource()
public boolean isCommonLexGridSchemaInstalled()
LexGridSchemaCheck
isCommonLexGridSchemaInstalled
in interface LexGridSchemaCheck
protected abstract java.lang.String getDbCheckSql()
protected abstract boolean checkResult(org.springframework.jdbc.core.JdbcTemplate template, java.lang.String sql)
template
- the templatesql
- the sql
public void setSystemVariables(SystemVariables systemVariables)
public SystemVariables getSystemVariables()
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |