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

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.AccountDelegateGlobalDaoOjb
All Implemented Interfaces:
AccountDelegateGlobalDao, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean

public class AccountDelegateGlobalDaoOjb
extends org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
implements AccountDelegateGlobalDao

This class is the OJB implementation of AccountDelegateGlobalDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
AccountDelegateGlobalDaoOjb()
           
 
Method Summary
protected  String convertForLikeCriteria(String lockingRepresentation)
          Parses the lockingRepresentation and replaces the document type with a wild card.
 String getLockingDocumentNumber(String lockingRepresentation, String documentNumber)
          This method returns the document number of any locking records.
 
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

AccountDelegateGlobalDaoOjb

public AccountDelegateGlobalDaoOjb()
Method Detail

getLockingDocumentNumber

public String getLockingDocumentNumber(String lockingRepresentation,
                                       String documentNumber)
Description copied from interface: AccountDelegateGlobalDao
This method returns the document number of any locking records.

Specified by:
getLockingDocumentNumber in interface AccountDelegateGlobalDao
Parameters:
lockingRepresentation - String representation of the MaintenanceLock created by the AccountDelegateGlobal
documentNumber - the document number of the Document being checked against.
Returns:
The document number of the locking record, or null if none.
See Also:
AccountDelegateGlobalDao.getLockingDocumentNumber(java.lang.String, java.lang.String)

convertForLikeCriteria

protected String convertForLikeCriteria(String lockingRepresentation)
Parses the lockingRepresentation and replaces the document type with a wild card.

Parameters:
lockingRepresentation - The String representation of the MaintenanceLock created by this record
Returns:
The String representation of MaintenanceLock with the financialDocumentTypeCode replaced with a wildcard(%).


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