|
||||||||||
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(Long routeHeaderId)
Removes all SearchableAttributeValues associated with the RouteHeader. |
void |
deleteRouteHeader(DocumentRouteHeaderValue routeHeader)
|
Collection |
findByDocTypeAndAppId(String documentTypeName,
String appId)
|
Collection |
findPendingByResponsibilityIds(Set responsibilityIds)
|
String |
getAppDocId(Long documentId)
|
DocumentRouteHeaderValueContent |
getContent(Long routeHeaderId)
|
String |
getDocumentStatus(Long documentId)
|
Long |
getNextRouteHeaderId()
|
DocumentRouteHeaderValue |
getRouteHeader(Long routeHeaderId)
|
DocumentRouteHeaderValue |
getRouteHeader(Long routeHeaderId,
boolean clearCache)
|
List<Timestamp> |
getSearchableAttributeDateTimeValuesByKey(Long documentId,
String key)
This method is a more direct way to get the searchable attribute values |
List<BigDecimal> |
getSearchableAttributeFloatValuesByKey(Long documentId,
String key)
This method is a more direct way to get the searchable attribute values |
List<Long> |
getSearchableAttributeLongValuesByKey(Long documentId,
String key)
This method is a more direct way to get the searchable attribute values |
List<String> |
getSearchableAttributeStringValuesByKey(Long documentId,
String key)
This method is a more direct way to get the searchable attribute values |
String |
getServiceNamespaceByDocumentId(Long documentId)
Returns the Service Namespace of the DocumentType for the Document with the given ID. |
boolean |
hasSearchableAttributeValue(Long documentId,
String searchableAttributeKey,
String searchableAttributeValue)
|
void |
lockRouteHeader(Long routeHeaderId,
boolean wait)
|
void |
saveRouteHeader(DocumentRouteHeaderValue routeHeader)
|
void |
updateRouteHeaderSearchValues(Long routeHeaderId,
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(Long routeHeaderId)
DocumentRouteHeaderValue getRouteHeader(Long routeHeaderId, boolean clearCache)
void lockRouteHeader(Long routeHeaderId, boolean wait)
void saveRouteHeader(DocumentRouteHeaderValue routeHeader)
void deleteRouteHeader(DocumentRouteHeaderValue routeHeader)
Long getNextRouteHeaderId()
void validateRouteHeader(DocumentRouteHeaderValue routeHeader)
Collection findPendingByResponsibilityIds(Set responsibilityIds)
Collection findByDocTypeAndAppId(String documentTypeName, String appId)
void clearRouteHeaderSearchValues(Long routeHeaderId)
routeHeader
- void updateRouteHeaderSearchValues(Long routeHeaderId, List<SearchableAttributeValue> searchAttributes)
String getServiceNamespaceByDocumentId(Long documentId)
DocumentType
for the Document with the given ID.
DocumentRouteHeaderValueContent getContent(Long routeHeaderId)
boolean hasSearchableAttributeValue(Long documentId, String searchableAttributeKey, String searchableAttributeValue)
String getDocumentStatus(Long documentId)
String getAppDocId(Long documentId)
List<String> getSearchableAttributeStringValuesByKey(Long documentId, String key)
documentId
- key
-
List<Timestamp> getSearchableAttributeDateTimeValuesByKey(Long documentId, String key)
documentId
- key
-
List<BigDecimal> getSearchableAttributeFloatValuesByKey(Long documentId, String key)
documentId
- key
-
List<Long> getSearchableAttributeLongValuesByKey(Long documentId, String key)
documentId
- key
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |