org.kuali.rice.kew.routeheader.dao.impl
Class DocumentRouteHeaderDAOOjbImpl

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
          extended by org.kuali.rice.kew.routeheader.dao.impl.DocumentRouteHeaderDAOOjbImpl
All Implemented Interfaces:
DocumentRouteHeaderDAO, org.springframework.beans.factory.InitializingBean

public class DocumentRouteHeaderDAOOjbImpl
extends org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
implements DocumentRouteHeaderDAO


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
DocumentRouteHeaderDAOOjbImpl()
           
 
Method Summary
 void clearRouteHeaderSearchValues(String documentId)
           
 void deleteRouteHeader(DocumentRouteHeaderValue routeHeader)
           
 Collection findByDocTypeAndAppId(String documentTypeName, String appId)
           
 Collection<String> findPendingByResponsibilityIds(Set<String> responsibilityIds)
           
 DocumentRouteHeaderValue findRouteHeader(String documentId)
           
 DocumentRouteHeaderValue findRouteHeader(String documentId, boolean clearCache)
           
 Collection<DocumentRouteHeaderValue> findRouteHeaders(Collection<String> documentIds)
           
 Collection<DocumentRouteHeaderValue> findRouteHeaders(Collection<String> documentIds, boolean clearCache)
           
 Collection<SearchableAttributeValue> findSearchableAttributeValues(String documentId)
           
 String getAppDocId(String documentId)
           
 String getApplicationIdByDocumentId(String documentId)
           
 DocumentRouteHeaderValueContent getContent(String documentId)
           
 String getDocumentStatus(String documentId)
           
 String getNextDocumentId()
           
protected  DatabasePlatform getPlatform()
           
 boolean hasSearchableAttributeValue(String documentId, String searchableAttributeKey, String searchableAttributeValue)
           
 void lockRouteHeader(String documentId, boolean wait)
          "Locks" the route header at the datasource level.
 void save(SearchableAttributeValue searchableAttributeValue)
           
 void saveRouteHeader(DocumentRouteHeaderValue routeHeader)
           
 
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

DocumentRouteHeaderDAOOjbImpl

public DocumentRouteHeaderDAOOjbImpl()
Method Detail

saveRouteHeader

public void saveRouteHeader(DocumentRouteHeaderValue routeHeader)
Specified by:
saveRouteHeader in interface DocumentRouteHeaderDAO

getContent

public DocumentRouteHeaderValueContent getContent(String documentId)
Specified by:
getContent in interface DocumentRouteHeaderDAO

clearRouteHeaderSearchValues

public void clearRouteHeaderSearchValues(String documentId)
Specified by:
clearRouteHeaderSearchValues in interface DocumentRouteHeaderDAO

findSearchableAttributeValues

public Collection<SearchableAttributeValue> findSearchableAttributeValues(String documentId)
Specified by:
findSearchableAttributeValues in interface DocumentRouteHeaderDAO

lockRouteHeader

public void lockRouteHeader(String documentId,
                            boolean wait)
Description copied from interface: DocumentRouteHeaderDAO
"Locks" the route header at the datasource level.

Specified by:
lockRouteHeader in interface DocumentRouteHeaderDAO

findRouteHeader

public DocumentRouteHeaderValue findRouteHeader(String documentId)
Specified by:
findRouteHeader in interface DocumentRouteHeaderDAO

findRouteHeader

public DocumentRouteHeaderValue findRouteHeader(String documentId,
                                                boolean clearCache)
Specified by:
findRouteHeader in interface DocumentRouteHeaderDAO

findRouteHeaders

public Collection<DocumentRouteHeaderValue> findRouteHeaders(Collection<String> documentIds)
Specified by:
findRouteHeaders in interface DocumentRouteHeaderDAO

findRouteHeaders

public Collection<DocumentRouteHeaderValue> findRouteHeaders(Collection<String> documentIds,
                                                             boolean clearCache)
Specified by:
findRouteHeaders in interface DocumentRouteHeaderDAO

deleteRouteHeader

public void deleteRouteHeader(DocumentRouteHeaderValue routeHeader)
Specified by:
deleteRouteHeader in interface DocumentRouteHeaderDAO

getNextDocumentId

public String getNextDocumentId()
Specified by:
getNextDocumentId in interface DocumentRouteHeaderDAO

getPlatform

protected DatabasePlatform getPlatform()

findPendingByResponsibilityIds

public Collection<String> findPendingByResponsibilityIds(Set<String> responsibilityIds)
Specified by:
findPendingByResponsibilityIds in interface DocumentRouteHeaderDAO

hasSearchableAttributeValue

public boolean hasSearchableAttributeValue(String documentId,
                                           String searchableAttributeKey,
                                           String searchableAttributeValue)
Specified by:
hasSearchableAttributeValue in interface DocumentRouteHeaderDAO

getApplicationIdByDocumentId

public String getApplicationIdByDocumentId(String documentId)
Specified by:
getApplicationIdByDocumentId in interface DocumentRouteHeaderDAO

getDocumentStatus

public String getDocumentStatus(String documentId)
Specified by:
getDocumentStatus in interface DocumentRouteHeaderDAO

getAppDocId

public String getAppDocId(String documentId)
Specified by:
getAppDocId in interface DocumentRouteHeaderDAO

save

public void save(SearchableAttributeValue searchableAttributeValue)
Specified by:
save in interface DocumentRouteHeaderDAO

findByDocTypeAndAppId

public Collection findByDocTypeAndAppId(String documentTypeName,
                                        String appId)
Specified by:
findByDocTypeAndAppId in interface DocumentRouteHeaderDAO


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