public class DocumentRouteHeaderDAOJpa extends Object implements DocumentRouteHeaderDAO
Modifier and Type | Field and Description |
---|---|
static String |
GET_APP_DOC_ID_NAME |
static String |
GET_APP_DOC_ID_QUERY |
static String |
GET_APP_DOC_STATUS_NAME |
static String |
GET_APP_DOC_STATUS_QUERY |
static String |
GET_DOCUMENT_HEADERS_NAME |
static String |
GET_DOCUMENT_HEADERS_QUERY |
static String |
GET_DOCUMENT_ID_BY_DOC_TYPE_APP_ID_NAME |
static String |
GET_DOCUMENT_ID_BY_DOC_TYPE_APP_ID_QUERY |
static String |
GET_DOCUMENT_STATUS_NAME |
static String |
GET_DOCUMENT_STATUS_QUERY |
Constructor and Description |
---|
DocumentRouteHeaderDAOJpa() |
public static final String GET_APP_DOC_ID_NAME
public static final String GET_APP_DOC_ID_QUERY
public static final String GET_APP_DOC_STATUS_NAME
public static final String GET_APP_DOC_STATUS_QUERY
public static final String GET_DOCUMENT_HEADERS_NAME
public static final String GET_DOCUMENT_HEADERS_QUERY
public static final String GET_DOCUMENT_STATUS_NAME
public static final String GET_DOCUMENT_STATUS_QUERY
public static final String GET_DOCUMENT_ID_BY_DOC_TYPE_APP_ID_NAME
public static final String GET_DOCUMENT_ID_BY_DOC_TYPE_APP_ID_QUERY
public DocumentRouteHeaderDAOJpa()
public Collection<DocumentRouteHeaderValue> findRouteHeaders(Collection<String> documentIds)
findRouteHeaders
in interface DocumentRouteHeaderDAO
public Collection<DocumentRouteHeaderValue> findRouteHeaders(Collection<String> documentIds, boolean clearCache)
findRouteHeaders
in interface DocumentRouteHeaderDAO
public void lockRouteHeader(String documentId)
DocumentRouteHeaderDAO
lockRouteHeader
in interface DocumentRouteHeaderDAO
protected Long getTimeoutMilliseconds()
public DocumentRouteHeaderValue findRouteHeader(String documentId, boolean clearCache)
findRouteHeader
in interface DocumentRouteHeaderDAO
public String getNextDocumentId()
getNextDocumentId
in interface DocumentRouteHeaderDAO
public Collection<String> findPendingByResponsibilityIds(Set<String> responsibilityIds)
findPendingByResponsibilityIds
in interface DocumentRouteHeaderDAO
public void clearRouteHeaderSearchValues(String documentId)
clearRouteHeaderSearchValues
in interface DocumentRouteHeaderDAO
public Collection<SearchableAttributeValue> findSearchableAttributeValues(String documentId)
findSearchableAttributeValues
in interface DocumentRouteHeaderDAO
public DocumentRouteHeaderValueContent getContent(String documentId)
getContent
in interface DocumentRouteHeaderDAO
public boolean hasSearchableAttributeValue(String documentId, String searchableAttributeKey, String searchableAttributeValue)
hasSearchableAttributeValue
in interface DocumentRouteHeaderDAO
public String getDocumentStatus(String documentId)
getDocumentStatus
in interface DocumentRouteHeaderDAO
public void save(SearchableAttributeValue searchableAttribute)
save
in interface DocumentRouteHeaderDAO
public String getAppDocId(String documentId)
getAppDocId
in interface DocumentRouteHeaderDAO
public String getApplicationIdByDocumentId(String documentId)
getApplicationIdByDocumentId
in interface DocumentRouteHeaderDAO
public String getAppDocStatus(String documentId)
getAppDocStatus
in interface DocumentRouteHeaderDAO
public Collection findByDocTypeAndAppId(String documentTypeName, String appId)
findByDocTypeAndAppId
in interface DocumentRouteHeaderDAO
public javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
entityManager
- the entityManager to setpublic DataSource getDataSource()
public void setDataSource(DataSource dataSource)
public DataObjectService getDataObjectService()
public void setDataObjectService(DataObjectService dataObjectService)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.