Interface RouteHeaderService
- All Known Implementing Classes:
RouteHeaderServiceImpl
public interface RouteHeaderService
A service providing data access for documents (a.k.a route headers).
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidclearRouteHeaderSearchValues(String documentId) Removes all SearchableAttributeValues associated with the RouteHeader.voiddeleteRouteHeader(DocumentRouteHeaderValue routeHeader) findByDocTypeAndAppId(String documentTypeName, String appId) findPendingByResponsibilityIds(Set responsibilityIds) getAppDocId(String documentId) getAppDocStatus(String documentId) This method Returns the application document status for the given document idgetApplicationIdByDocumentId(String documentId) Returns the application id of theDocumentTypefor the Document with the given ID.getContent(String documentId) getDocumentStatus(String documentId) getRouteHeader(String documentId) getRouteHeader(String documentId, boolean clearCache) getRouteHeaders(Collection<String> documentIds) getRouteHeaders(Collection<String> documentIds, boolean clearCache) getRouteHeadersForActionItems(Collection<org.kuali.rice.kew.api.action.ActionItem> actionItems) getSearchableAttributeDateTimeValuesByKey(String documentId, String key) This method is a more direct way to get the searchable attribute valuesgetSearchableAttributeFloatValuesByKey(String documentId, String key) This method is a more direct way to get the searchable attribute valuesgetSearchableAttributeLongValuesByKey(String documentId, String key) This method is a more direct way to get the searchable attribute valuesgetSearchableAttributeStringValuesByKey(String documentId, String key) This method is a more direct way to get the searchable attribute valuesbooleanhasSearchableAttributeValue(String documentId, String searchableAttributeKey, String searchableAttributeValue) voidlockRouteHeader(String documentId) saveRouteHeader(DocumentRouteHeaderValue routeHeader) voidupdateRouteHeaderSearchValues(String documentId, List<SearchableAttributeValue> searchAttributes) Updates the searchable attribute values for the document with the given id to the given values.voidvalidateRouteHeader(DocumentRouteHeaderValue routeHeader)
-
Method Details
-
getRouteHeader
-
getRouteHeader
-
getRouteHeaders
-
getRouteHeaders
Collection<DocumentRouteHeaderValue> getRouteHeaders(Collection<String> documentIds, boolean clearCache) -
getRouteHeadersForActionItems
Map<String,DocumentRouteHeaderValue> getRouteHeadersForActionItems(Collection<org.kuali.rice.kew.api.action.ActionItem> actionItems) -
lockRouteHeader
-
saveRouteHeader
-
deleteRouteHeader
-
getNextDocumentId
String getNextDocumentId() -
validateRouteHeader
-
findPendingByResponsibilityIds
-
findByDocTypeAndAppId
-
clearRouteHeaderSearchValues
Removes all SearchableAttributeValues associated with the RouteHeader.- Parameters:
routeHeader-
-
updateRouteHeaderSearchValues
void updateRouteHeaderSearchValues(String documentId, List<SearchableAttributeValue> searchAttributes) Updates the searchable attribute values for the document with the given id to the given values. This method will clear existing search attribute values and replace with the ones given. -
getApplicationIdByDocumentId
Returns the application id of theDocumentTypefor the Document with the given ID. -
getContent
-
hasSearchableAttributeValue
-
getDocumentStatus
-
getAppDocId
-
getAppDocStatus
This method Returns the application document status for the given document id- Parameters:
documentId-- Returns:
- String
-
getSearchableAttributeStringValuesByKey
This method is a more direct way to get the searchable attribute values- Parameters:
documentId-key-- Returns:
-
getSearchableAttributeDateTimeValuesByKey
This method is a more direct way to get the searchable attribute values- Parameters:
documentId-key-- Returns:
-
getSearchableAttributeFloatValuesByKey
This method is a more direct way to get the searchable attribute values- Parameters:
documentId-key-- Returns:
-
getSearchableAttributeLongValuesByKey
This method is a more direct way to get the searchable attribute values- Parameters:
documentId-key-- Returns:
-