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

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.module.bc.document.dataaccess.impl.BudgetConstructionLockDaoOjb
All Implemented Interfaces:
BudgetConstructionLockDao, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean

public class BudgetConstructionLockDaoOjb
extends org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
implements BudgetConstructionLockDao

See Also:
BudgetConstructionLockDao

Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
BudgetConstructionLockDaoOjb()
           
 
Method Summary
 List<BudgetConstructionHeader> getAllAccountLocks(String lockUnivId)
          Retrieves all current account locks for the given user (or all locks if user is null/empty).
 List<PendingBudgetConstructionAppointmentFunding> getAllPositionFundingLocks(String lockUnivId)
          Retrieves all current position/funding locks for the given user (or all locks if user is null/empty).
 List<BudgetConstructionHeader> getAllTransactionLocks(String lockUnivId)
          Retrieves all current transaction locks for the given user (or all locks if user is null/empty).
 List<BudgetConstructionFundingLock> getOrphanedFundingLocks(String lockUnivId)
          Retrieves all funding locks that do not have a corresponding position lock for the given user (or all locks if user is null/empty).
 List<BudgetConstructionPosition> getOrphanedPositionLocks(String lockUnivId)
          Retrieves all current position locks without a funding lock for the given user (or all locks if user is null/empty).
 void setBudgetConstructionDao(BudgetConstructionDao budgetConstructionDao)
          Sets the budgetConstructionDao 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

BudgetConstructionLockDaoOjb

public BudgetConstructionLockDaoOjb()
Method Detail

getAllAccountLocks

public List<BudgetConstructionHeader> getAllAccountLocks(String lockUnivId)
Description copied from interface: BudgetConstructionLockDao
Retrieves all current account locks for the given user (or all locks if user is null/empty).

Specified by:
getAllAccountLocks in interface BudgetConstructionLockDao
Parameters:
lockUnivId - - universal id that will be used in lock query
Returns:
budget headers that are locked
See Also:
BudgetConstructionLockDao.getAllAccountLocks(java.lang.String)

getAllPositionFundingLocks

public List<PendingBudgetConstructionAppointmentFunding> getAllPositionFundingLocks(String lockUnivId)
Description copied from interface: BudgetConstructionLockDao
Retrieves all current position/funding locks for the given user (or all locks if user is null/empty).

Specified by:
getAllPositionFundingLocks in interface BudgetConstructionLockDao
Parameters:
lockUnivId - - universal id that will be used in lock query
Returns:
position/funding records that are locked.
See Also:
BudgetConstructionLockDao.getAllPositionFundingLocks(java.lang.String)

getOrphanedPositionLocks

public List<BudgetConstructionPosition> getOrphanedPositionLocks(String lockUnivId)
Description copied from interface: BudgetConstructionLockDao
Retrieves all current position locks without a funding lock for the given user (or all locks if user is null/empty).

Specified by:
getOrphanedPositionLocks in interface BudgetConstructionLockDao
Parameters:
lockUnivId - universal id that will be used in lock query
Returns:
positions that are locked.
See Also:
BudgetConstructionLockDao.getOrphanedPositionLocks(java.lang.String)

getAllTransactionLocks

public List<BudgetConstructionHeader> getAllTransactionLocks(String lockUnivId)
Description copied from interface: BudgetConstructionLockDao
Retrieves all current transaction locks for the given user (or all locks if user is null/empty).

Specified by:
getAllTransactionLocks in interface BudgetConstructionLockDao
Parameters:
lockUnivId - - universal id that will be used in lock query
Returns:
budget headers that are locked
See Also:
BudgetConstructionLockDao.getAllTransactionLocks(java.lang.String)

getOrphanedFundingLocks

public List<BudgetConstructionFundingLock> getOrphanedFundingLocks(String lockUnivId)
Description copied from interface: BudgetConstructionLockDao
Retrieves all funding locks that do not have a corresponding position lock for the given user (or all locks if user is null/empty).

Specified by:
getOrphanedFundingLocks in interface BudgetConstructionLockDao
Parameters:
lockUnivId - - universal id that will be used in lock query
Returns:
funding locks records
See Also:
BudgetConstructionLockDao.getOrphanedFundingLocks(java.lang.String)

setBudgetConstructionDao

public void setBudgetConstructionDao(BudgetConstructionDao budgetConstructionDao)
Sets the budgetConstructionDao attribute value.

Parameters:
budgetConstructionDao - The budgetConstructionDao to set.


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