public interface RouteHeaderService
DocumentRouteHeaderValue
Modifier and Type | Method and Description |
---|---|
void |
clearRouteHeaderSearchValues(String documentId)
Removes all SearchableAttributeValues associated with the RouteHeader.
|
void |
deleteRouteHeader(DocumentRouteHeaderValue routeHeader) |
Collection |
findByDocTypeAndAppId(String documentTypeName,
String appId) |
Collection |
findPendingByResponsibilityIds(Set responsibilityIds) |
String |
getAppDocId(String documentId) |
String |
getAppDocStatus(String documentId)
This method Returns the application document status for the given document id
|
String |
getApplicationIdByDocumentId(String documentId)
Returns the application id of the
DocumentType for the Document with the given ID. |
DocumentRouteHeaderValueContent |
getContent(String documentId) |
String |
getDocumentStatus(String documentId) |
String |
getNextDocumentId() |
DocumentRouteHeaderValue |
getRouteHeader(String documentId) |
DocumentRouteHeaderValue |
getRouteHeader(String documentId,
boolean clearCache) |
Collection<DocumentRouteHeaderValue> |
getRouteHeaders(Collection<String> documentIds) |
Collection<DocumentRouteHeaderValue> |
getRouteHeaders(Collection<String> documentIds,
boolean clearCache) |
Map<String,DocumentRouteHeaderValue> |
getRouteHeadersForActionItems(Collection<ActionItem> actionItems) |
List<Timestamp> |
getSearchableAttributeDateTimeValuesByKey(String documentId,
String key)
This method is a more direct way to get the searchable attribute values
|
List<BigDecimal> |
getSearchableAttributeFloatValuesByKey(String documentId,
String key)
This method is a more direct way to get the searchable attribute values
|
List<Long> |
getSearchableAttributeLongValuesByKey(String documentId,
String key)
This method is a more direct way to get the searchable attribute values
|
List<String> |
getSearchableAttributeStringValuesByKey(String documentId,
String key)
This method is a more direct way to get the searchable attribute values
|
boolean |
hasSearchableAttributeValue(String documentId,
String searchableAttributeKey,
String searchableAttributeValue) |
void |
lockRouteHeader(String documentId) |
DocumentRouteHeaderValue |
saveRouteHeader(DocumentRouteHeaderValue routeHeader) |
void |
updateRouteHeaderSearchValues(String documentId,
List<SearchableAttributeValue> searchAttributes)
Updates the searchable attribute values for the document with the given id to the given values.
|
void |
validateRouteHeader(DocumentRouteHeaderValue routeHeader) |
DocumentRouteHeaderValue getRouteHeader(String documentId)
DocumentRouteHeaderValue getRouteHeader(String documentId, boolean clearCache)
Collection<DocumentRouteHeaderValue> getRouteHeaders(Collection<String> documentIds)
Collection<DocumentRouteHeaderValue> getRouteHeaders(Collection<String> documentIds, boolean clearCache)
Map<String,DocumentRouteHeaderValue> getRouteHeadersForActionItems(Collection<ActionItem> actionItems)
void lockRouteHeader(String documentId)
DocumentRouteHeaderValue saveRouteHeader(DocumentRouteHeaderValue routeHeader)
void deleteRouteHeader(DocumentRouteHeaderValue routeHeader)
String getNextDocumentId()
void validateRouteHeader(DocumentRouteHeaderValue routeHeader)
Collection findPendingByResponsibilityIds(Set responsibilityIds)
Collection findByDocTypeAndAppId(String documentTypeName, String appId)
void clearRouteHeaderSearchValues(String documentId)
routeHeader
- void updateRouteHeaderSearchValues(String documentId, List<SearchableAttributeValue> searchAttributes)
String getApplicationIdByDocumentId(String documentId)
DocumentType
for the Document with the given ID.DocumentRouteHeaderValueContent getContent(String documentId)
boolean hasSearchableAttributeValue(String documentId, String searchableAttributeKey, String searchableAttributeValue)
String getDocumentStatus(String documentId)
String getAppDocId(String documentId)
String getAppDocStatus(String documentId)
documentId
- List<String> getSearchableAttributeStringValuesByKey(String documentId, String key)
documentId
- key
- List<Timestamp> getSearchableAttributeDateTimeValuesByKey(String documentId, String key)
documentId
- key
- List<BigDecimal> getSearchableAttributeFloatValuesByKey(String documentId, String key)
documentId
- key
- List<Long> getSearchableAttributeLongValuesByKey(String documentId, String key)
documentId
- key
- Copyright © 2005–2016 The Kuali Foundation. All rights reserved.