org.kuali.kfs.pdp.dataaccess.impl
Class BatchMaintenanceDaoOjb
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
org.kuali.kfs.pdp.dataaccess.impl.BatchMaintenanceDaoOjb
- All Implemented Interfaces:
- BatchMaintenanceDao, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean
public class BatchMaintenanceDaoOjb
- extends org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
- implements BatchMaintenanceDao
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
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 |
BatchMaintenanceDaoOjb
public BatchMaintenanceDaoOjb()
setBusinessObjectService
public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
doBatchPaymentsHaveOpenStatus
public boolean doBatchPaymentsHaveOpenStatus(Integer batchId)
- doBatchPaymentsHaveOpenStatus() Return true if all payments in batch have an 'OPEN' status. Return false if all payments in
batch do not have an 'OPEN' status. The query in this method searches the payment detail table for payments of the given
batchId where the status equals any status other than 'OPEN'. If any rows exist with a status other than 'OPEN', return
false.
- Specified by:
doBatchPaymentsHaveOpenStatus
in interface BatchMaintenanceDao
- Parameters:
batchId
- Integer value of batch id of payments to search.
- Returns:
- boolean true = all payments are 'OPEN'; false = all payments are not 'OPEN'
doBatchPaymentsHaveHeldStatus
public boolean doBatchPaymentsHaveHeldStatus(Integer batchId)
- doBatchPaymentsHaveHeldStatus() Return true if all payments in batch have an 'HELD' status. Return false if all payments in
batch do not have an 'HELD' status. The query in this method searches the payment detail table for payments of the given
batchId where the status equals any status other than 'HELD'. If any rows exist with a status other than 'HELD', return
false.
- Specified by:
doBatchPaymentsHaveHeldStatus
in interface BatchMaintenanceDao
- Parameters:
batchId
- Integer value of batch id of payments to search.
- Returns:
- boolean true = all payments are 'HELD'; false = all payments are not 'HELD'
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.