org.kuali.kfs.module.bc.document.dataaccess.impl
Class OrganizationBCDocumentSearchDaoJdbc

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.jdbc.core.support.JdbcDaoSupport
          extended by org.springframework.jdbc.core.simple.SimpleJdbcDaoSupport
              extended by org.kuali.rice.kns.dao.jdbc.PlatformAwareDaoBaseJdbc
                  extended by org.kuali.kfs.module.bc.document.dataaccess.impl.BudgetConstructionDaoJdbcBase
                      extended by org.kuali.kfs.module.bc.document.dataaccess.impl.OrganizationBCDocumentSearchDaoJdbc
All Implemented Interfaces:
OrganizationBCDocumentSearchDao, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean

public class OrganizationBCDocumentSearchDaoJdbc
extends BudgetConstructionDaoJdbcBase
implements OrganizationBCDocumentSearchDao

This class...


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
OrganizationBCDocumentSearchDaoJdbc()
           
 
Method Summary
 int buildAccountManagerDelegateList(String principalName, Integer universityFiscalYear)
          Populates BudgetConstructionAccountSelect with accounts that the given user is a manager or delegate for.
 int buildAccountSelectPullList(String principalName, Integer universityFiscalYear)
          This method populates BudgetConstructionAccountSelect with rows associated with a set of selected organizations in the Organization Tree for the user and where Budget Documents exist.
 int buildBudgetedAccountsAbovePointsOfView(String principalName, Integer universityFiscalYear, String chartOfAccountsCode, String organizationCode)
          Populates BudgetConstructionAccountSelect with accounts that are above the user's current point of view and returns the number of rows inserted (which equates to number of accounts above).
 void cleanAccountSelectPullList(String principalName)
          This method depopulates BudgetConstructionAccountSelect rows associated with the user.
 org.kuali.rice.kns.service.DataDictionaryService getDataDictionaryService()
          Gets the dataDictionaryService attribute.
 void setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
          Sets the dataDictionaryService attribute value.
 
Methods inherited from class org.kuali.kfs.module.bc.document.dataaccess.impl.BudgetConstructionDaoJdbcBase
clearTempTableBySesId, clearTempTableByUnvlId, getExpenditureINList, getFiscalYearStartDate, getRevenueINList, getSqlSubStringFunction, inString, inString, setOjbOraclePlatform, setOjbPlatform, setParameterService
 
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

OrganizationBCDocumentSearchDaoJdbc

public OrganizationBCDocumentSearchDaoJdbc()
Method Detail

buildAccountSelectPullList

public int buildAccountSelectPullList(String principalName,
                                      Integer universityFiscalYear)
Description copied from interface: OrganizationBCDocumentSearchDao
This method populates BudgetConstructionAccountSelect with rows associated with a set of selected organizations in the Organization Tree for the user and where Budget Documents exist.

Specified by:
buildAccountSelectPullList in interface OrganizationBCDocumentSearchDao
See Also:
OrganizationBCDocumentSearchDao.buildAccountSelectPullList(java.lang.String, java.lang.Integer)

buildBudgetedAccountsAbovePointsOfView

public int buildBudgetedAccountsAbovePointsOfView(String principalName,
                                                  Integer universityFiscalYear,
                                                  String chartOfAccountsCode,
                                                  String organizationCode)
Description copied from interface: OrganizationBCDocumentSearchDao
Populates BudgetConstructionAccountSelect with accounts that are above the user's current point of view and returns the number of rows inserted (which equates to number of accounts above).

Specified by:
buildBudgetedAccountsAbovePointsOfView in interface OrganizationBCDocumentSearchDao
Parameters:
principalName - user who we are building the list for
universityFiscalYear - budget year for records to look at
chartOfAccountsCode - chart code of user's current point of view
organizationCode - organization code of user's current point of view
Returns:
int number of rows inserted
See Also:
OrganizationBCDocumentSearchDao.buildBudgetedAccountsAbovePointsOfView(java.lang.String, java.lang.Integer, java.lang.String, java.lang.String)

buildAccountManagerDelegateList

public int buildAccountManagerDelegateList(String principalName,
                                           Integer universityFiscalYear)
Description copied from interface: OrganizationBCDocumentSearchDao
Populates BudgetConstructionAccountSelect with accounts that the given user is a manager or delegate for. Returns the number of rows inserted.

Specified by:
buildAccountManagerDelegateList in interface OrganizationBCDocumentSearchDao
Parameters:
principalName - manager or delegate universal identifier
universityFiscalYear - budget fiscal year
See Also:
OrganizationBCDocumentSearchDao.buildAccountManagerDelegateList(java.lang.String, java.lang.Integer)

cleanAccountSelectPullList

public void cleanAccountSelectPullList(String principalName)
Description copied from interface: OrganizationBCDocumentSearchDao
This method depopulates BudgetConstructionAccountSelect rows associated with the user.

Specified by:
cleanAccountSelectPullList in interface OrganizationBCDocumentSearchDao
See Also:
OrganizationBCDocumentSearchDao.cleanAccountSelectPullList(java.lang.String)

getDataDictionaryService

public org.kuali.rice.kns.service.DataDictionaryService getDataDictionaryService()
Gets the dataDictionaryService attribute.

Returns:
Returns the dataDictionaryService.

setDataDictionaryService

public void setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
Sets the dataDictionaryService attribute value.

Parameters:
dataDictionaryService - The dataDictionaryService to set.


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