org.kuali.rice.kew.routeheader.dao.impl
Class DocumentRouteHeaderDAOOjbImpl
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
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
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
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 |
DocumentRouteHeaderDAOOjbImpl
public DocumentRouteHeaderDAOOjbImpl()
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.