Class RouteHeaderServiceImpl
java.lang.Object
org.kuali.rice.kew.routeheader.service.impl.RouteHeaderServiceImpl
- All Implemented Interfaces:
RouteHeaderService
-
Constructor Summary
Constructors -
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<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) voidsetDataObjectService(DataObjectService dataObjectService) voidsetRouteHeaderDAO(DocumentRouteHeaderDAO routeHeaderDAO) voidsetSearchableAttributeDAO(SearchableAttributeDAO searchableAttributeDAO) 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)
-
Constructor Details
-
RouteHeaderServiceImpl
public RouteHeaderServiceImpl()
-
-
Method Details
-
getRouteHeader
- Specified by:
getRouteHeaderin interfaceRouteHeaderService
-
getRouteHeader
- Specified by:
getRouteHeaderin interfaceRouteHeaderService
-
getRouteHeaders
- Specified by:
getRouteHeadersin interfaceRouteHeaderService
-
getRouteHeaders
public Collection<DocumentRouteHeaderValue> getRouteHeaders(Collection<String> documentIds, boolean clearCache) - Specified by:
getRouteHeadersin interfaceRouteHeaderService
-
getRouteHeadersForActionItems
public Map<String,DocumentRouteHeaderValue> getRouteHeadersForActionItems(Collection<ActionItem> actionItems) - Specified by:
getRouteHeadersForActionItemsin interfaceRouteHeaderService
-
lockRouteHeader
- Specified by:
lockRouteHeaderin interfaceRouteHeaderService
-
saveRouteHeader
- Specified by:
saveRouteHeaderin interfaceRouteHeaderService
-
deleteRouteHeader
- Specified by:
deleteRouteHeaderin interfaceRouteHeaderService
-
getNextDocumentId
- Specified by:
getNextDocumentIdin interfaceRouteHeaderService
-
findPendingByResponsibilityIds
- Specified by:
findPendingByResponsibilityIdsin interfaceRouteHeaderService
-
clearRouteHeaderSearchValues
Description copied from interface:RouteHeaderServiceRemoves all SearchableAttributeValues associated with the RouteHeader.- Specified by:
clearRouteHeaderSearchValuesin interfaceRouteHeaderService
-
updateRouteHeaderSearchValues
public void updateRouteHeaderSearchValues(String documentId, List<SearchableAttributeValue> searchAttributes) Description copied from interface:RouteHeaderServiceUpdates 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.- Specified by:
updateRouteHeaderSearchValuesin interfaceRouteHeaderService
-
validateRouteHeader
- Specified by:
validateRouteHeaderin interfaceRouteHeaderService
-
getApplicationIdByDocumentId
Description copied from interface:RouteHeaderServiceReturns the application id of theDocumentTypefor the Document with the given ID.- Specified by:
getApplicationIdByDocumentIdin interfaceRouteHeaderService
-
getContent
- Specified by:
getContentin interfaceRouteHeaderService
-
hasSearchableAttributeValue
public boolean hasSearchableAttributeValue(String documentId, String searchableAttributeKey, String searchableAttributeValue) - Specified by:
hasSearchableAttributeValuein interfaceRouteHeaderService
-
getDocumentStatus
- Specified by:
getDocumentStatusin interfaceRouteHeaderService
-
getAppDocId
- Specified by:
getAppDocIdin interfaceRouteHeaderService
-
getAppDocStatus
Description copied from interface:RouteHeaderServiceThis method Returns the application document status for the given document id- Specified by:
getAppDocStatusin interfaceRouteHeaderService- Returns:
- String
-
getRouteHeaderDAO
-
setRouteHeaderDAO
-
getSearchableAttributeDateTimeValuesByKey
Description copied from interface:RouteHeaderServiceThis method is a more direct way to get the searchable attribute values- Specified by:
getSearchableAttributeDateTimeValuesByKeyin interfaceRouteHeaderService- Returns:
-
getSearchableAttributeFloatValuesByKey
Description copied from interface:RouteHeaderServiceThis method is a more direct way to get the searchable attribute values- Specified by:
getSearchableAttributeFloatValuesByKeyin interfaceRouteHeaderService- Returns:
-
getSearchableAttributeLongValuesByKey
Description copied from interface:RouteHeaderServiceThis method is a more direct way to get the searchable attribute values- Specified by:
getSearchableAttributeLongValuesByKeyin interfaceRouteHeaderService- Returns:
-
getSearchableAttributeStringValuesByKey
Description copied from interface:RouteHeaderServiceThis method is a more direct way to get the searchable attribute values- Specified by:
getSearchableAttributeStringValuesByKeyin interfaceRouteHeaderService- Returns:
-
setSearchableAttributeDAO
-
getSearchableAttributeDAO
-
findByDocTypeAndAppId
- Specified by:
findByDocTypeAndAppIdin interfaceRouteHeaderService
-
getDataObjectService
-
setDataObjectService
-