org.kuali.kfs.coa.dataaccess.impl
Class ChartDaoOjb

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
          extended by org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
              extended by org.kuali.kfs.coa.dataaccess.impl.ChartDaoOjb
All Implemented Interfaces:
ChartDao, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean

public class ChartDaoOjb
extends org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
implements ChartDao

This class is the OJB implementation of the ChartDao interface.


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
ChartDaoOjb()
           
 
Method Summary
 Collection getAll()
          This method retrieves all Chart objects in the system
 Chart getByPrimaryId(String chartOfAccountsCode)
          This method retrieves a given Chart based on it's primary key
 List getChartsThatUserIsResponsibleFor(org.kuali.rice.kim.bo.Person person)
          fetch the charts that the user is manager for
 org.kuali.rice.kns.service.ParameterService getParameterService()
          Gets the parameterService attribute.
 Chart getUniversityChart()
          This method retrieves the University's Chart object
 void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
          Sets the parameterService attribute value.
 
Methods inherited from class org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
getDbPlatform, setDbPlatform
 
Methods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplate
 
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

ChartDaoOjb

public ChartDaoOjb()
Method Detail

getAll

public Collection getAll()
Description copied from interface: ChartDao
This method retrieves all Chart objects in the system

Specified by:
getAll in interface ChartDao
Returns:
all Chart objects
See Also:
ChartDao.getAll()

getUniversityChart

public Chart getUniversityChart()
Description copied from interface: ChartDao
This method retrieves the University's Chart object

Specified by:
getUniversityChart in interface ChartDao
Returns:
University's chart object
See Also:
ChartDao.getUniversityChart()

getByPrimaryId

public Chart getByPrimaryId(String chartOfAccountsCode)
Description copied from interface: ChartDao
This method retrieves a given Chart based on it's primary key

Specified by:
getByPrimaryId in interface ChartDao
Returns:
Chart object that matches this primary key
See Also:
ChartDao.getByPrimaryId(java.lang.String)

getChartsThatUserIsResponsibleFor

public List getChartsThatUserIsResponsibleFor(org.kuali.rice.kim.bo.Person person)
fetch the charts that the user is manager for

Specified by:
getChartsThatUserIsResponsibleFor in interface ChartDao
Parameters:
kualiUser -
Returns:
a list of Charts that the user has responsibility for

getParameterService

public org.kuali.rice.kns.service.ParameterService getParameterService()
Gets the parameterService attribute.

Returns:
Returns the parameterService.

setParameterService

public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
Sets the parameterService attribute value.

Parameters:
parameterService - The parameterService to set.


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