|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RouteHeaderService
A service providing data access for documents (a.k.a route headers).
DocumentRouteHeaderValue
Method Summary | |
---|---|
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 |
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,
boolean wait)
|
void |
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)
|
Method Detail |
---|
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, boolean wait)
void 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)
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
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |