|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springframework.jdbc.core.support.JdbcDaoSupport
org.springframework.jdbc.core.simple.SimpleJdbcDaoSupport
org.kuali.rice.kns.dao.jdbc.PlatformAwareDaoBaseJdbc
org.kuali.kfs.module.bc.document.dataaccess.impl.BudgetConstructionDaoJdbcBase
public class BudgetConstructionDaoJdbcBase
create methods for building SQL useful to all extenders
Field Summary |
---|
Fields inherited from class org.springframework.dao.support.DaoSupport |
---|
logger |
Constructor Summary | |
---|---|
BudgetConstructionDaoJdbcBase()
|
Method Summary | |
---|---|
protected void |
clearTempTableBySesId(String tableName,
String SesIdColumn,
String sessionId)
|
protected void |
clearTempTableByUnvlId(String tableName,
String personUnvlIdColumn,
String principalName)
|
protected String |
getExpenditureINList()
return a SQL IN list containing the budget construction expenditure object types |
protected Date |
getFiscalYearStartDate(Integer universityFiscalYear)
given a fiscal year, get the first day of that fiscal year |
protected String |
getRevenueINList()
return a SQL IN list containing the budget construction revenue object types |
protected StringBuilder |
getSqlSubStringFunction(String fieldName,
Integer startLocation,
Integer substringLength)
return a substring function that is Oracle-specific if the DB Platform is Oracle, and an ANSI-92 compliant function otherwise Oracle's syntax is not ANSI-92 compliant |
protected String |
inString(Integer parameterCount)
build a string of placeholders for a parameterized java.sql IN clause |
protected String |
inString(List<String> inListValues)
build a SQL IN clause from the array of parameters passed in |
void |
setOjbOraclePlatform(String ojbOraclePlatform)
|
void |
setOjbPlatform(String ojbPlatform)
|
void |
setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
|
Methods inherited from class org.kuali.rice.kns.dao.jdbc.PlatformAwareDaoBaseJdbc |
---|
getDbPlatform, setDbPlatform |
Methods inherited from class org.springframework.jdbc.core.simple.SimpleJdbcDaoSupport |
---|
getSimpleJdbcTemplate, initTemplateConfig |
Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport |
---|
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, releaseConnection, setDataSource, setJdbcTemplate |
Methods inherited from class org.springframework.dao.support.DaoSupport |
---|
afterPropertiesSet, initDao |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BudgetConstructionDaoJdbcBase()
Method Detail |
---|
protected void clearTempTableByUnvlId(String tableName, String personUnvlIdColumn, String principalName)
protected void clearTempTableBySesId(String tableName, String SesIdColumn, String sessionId)
protected String inString(Integer parameterCount)
parameterCount
- the number of parameters in the IN clause
protected String inString(List<String> inListValues)
inListValues:
- components of the IN list
protected Date getFiscalYearStartDate(Integer universityFiscalYear)
universityFiscalYear
- = fiscal year (must be in the table)
protected String getExpenditureINList()
protected String getRevenueINList()
protected StringBuilder getSqlSubStringFunction(String fieldName, Integer startLocation, Integer substringLength)
fieldName
- = string representing the name of the DB field (possibly qualified)startLocation
- = starting location of the substringsubstringLength
- = length of the substring
public void setOjbPlatform(String ojbPlatform)
public void setOjbOraclePlatform(String ojbOraclePlatform)
public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |