org.kuali.rice.krad.dao.impl
Class MaintenanceDocumentDaoOjb

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
          extended by org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
              extended by org.kuali.rice.krad.dao.impl.MaintenanceDocumentDaoOjb
All Implemented Interfaces:
PlatformAwareDao, MaintenanceDocumentDao, org.springframework.beans.factory.InitializingBean

public class MaintenanceDocumentDaoOjb
extends PlatformAwareDaoBaseOjb
implements MaintenanceDocumentDao

This class is the OJB implementation of the MaintenanceDocumentDao interface.


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
MaintenanceDocumentDaoOjb()
           
 
Method Summary
 String getLockingDocumentNumber(String lockingRepresentation, String documentNumber)
          This method looks for a document that is locking the given lockingRepresentation.
 
Methods inherited from class org.kuali.rice.core.framework.persistence.ojb.dao.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

MaintenanceDocumentDaoOjb

public MaintenanceDocumentDaoOjb()
Method Detail

getLockingDocumentNumber

public String getLockingDocumentNumber(String lockingRepresentation,
                                       String documentNumber)
Description copied from interface: MaintenanceDocumentDao
This method looks for a document that is locking the given lockingRepresentation. If one is found, then it retrieves the documentNumber, and returns it.

Specified by:
getLockingDocumentNumber in interface MaintenanceDocumentDao
Parameters:
lockingRepresentation - - locking representation to check for
documentNumber - - document number to ignore, optional argument
Returns:
returns an empty string if no locking document is found, otherwise returns the documentNumber of the locking document
See Also:
MaintenanceDocumentDao.getLockingDocumentNumber(java.lang.String, java.lang.String)


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