Package org.kuali.rice.krad.dao.impl
Class MaintenanceDocumentDaoOjb
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
org.kuali.rice.krad.dao.impl.MaintenanceDocumentDaoOjb
- All Implemented Interfaces:
org.kuali.rice.core.framework.persistence.dao.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLockingDocumentNumber(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, setDbPlatformMethods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplateMethods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
-
Constructor Details
-
MaintenanceDocumentDaoOjb
public MaintenanceDocumentDaoOjb()
-
-
Method Details
-
getLockingDocumentNumber
Description copied from interface:MaintenanceDocumentDaoThis 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:
getLockingDocumentNumberin interfaceMaintenanceDocumentDao- Parameters:
lockingRepresentation- - locking representation to check fordocumentNumber- - 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:
-