Package org.kuali.rice.kew.api.document
Interface WorkflowDocumentService
public interface WorkflowDocumentService
TODO ... annotate for JAX-WS!
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescription_getActionsTaken(String documentId) Deprecated.mistaken operation name...use getActionsTaken insteadaddDocumentLink(DocumentLink documentLink) Saves the passed inDocumentLink.deleteDocumentLink(String documentLinkId) Removes theDocumentLinkwith the given documentLinkId.deleteDocumentLinksByDocumentId(String originatingDocumentId) Removes allDocumentLinks for the givenDocumentwith the given originatingDocumentId.documentSearch(String principalId, DocumentSearchCriteria criteria) Executes a search for workflow documents using the given criteria and as the principal with the given id.documentSearchSaveable(String principalId, DocumentSearchCriteria criteria, boolean saveSearch) Executes a search for workflow documents using the given criteria and as the principal with the given id.booleandoesDocumentExist(String documentId) Returns a boolean depending on if aDocumentexists with the specified documentIdgetActionRequestsForPrincipalAtNode(String documentId, String nodeName, String principalId) Gets a list of ActionRequests for a given documentId, nodeName and principalIdgetActionsTaken(String documentId) Gets a list of pastActionTakenof aDocumentwith the given documentIdgetActiveRouteNodeInstances(String documentId) Gets a list of activeRouteNodeInstancefor aDocumentwith the given documentIdgetActiveRouteNodeNames(String documentId) Gets a list of active route node names for aDocumentwith the given documentId.getActiveSimpleRouteNodeNames(String documentId) Gets a list of active route node names for simple nodes for aDocumentwith the given documentId.getAllActionsTaken(String documentId) Gets a list of allActionTakenof aDocumentwith the given documentIdgetApplicationDocumentId(String documentId) Gets a value application document id of aDocumentwith the given documentIdgetApplicationDocumentStatus(String documentId) Gets a value application document status of aDocumentwith the given documentIdgetCurrentRouteNodeInstances(String documentId) Gets a list of currentRouteNodeInstances for aDocumentwith the given documentIdgetCurrentRouteNodeNames(String documentId) Gets a list of current route node names for aDocumentwith the given documentId.getCurrentSimpleRouteNodeNames(String documentId) Gets a list of simple current route node names for aDocumentwith the given documentId.getDocument(String documentId) Gets aDocumentfrom a documentId.getDocumentContent(String documentId) GetsDocumentContentfrom a documentId.getDocumentDetail(String documentId) Gets aDocumentDetailof aDocumentwith the given documentIdgetDocumentDetailByAppId(String documentTypeName, String appId) Gets aDocumentDetailof aDocumentwith the given documentTypeName and appIdgetDocumentInitiatorPrincipalId(String documentId) Gets theDocumentinitiator's principalId with the given documentIdgetDocumentLink(String documentLinkId) Gets theDocumentLinkfor with the given documentLinkId.getDocumentStatus(String documentId) Gets the status value for aDocumentwith the given documentIdgetDocumentStatusTransitionHistory(String documentId) Gets a list of DocumentStatusTransitions for theDocumentwith the given documentIdgetDocumentTypeName(String documentId) Returns the name of the document type used by the document with the given id.getIncomingDocumentLinks(String originatingDocumentId) Gets a list of allDocumentLinks for incoming links from theDocumentwith the given documentId.getOutgoingDocumentLinks(String originatingDocumentId) Gets a list of allDocumentLinks for outgoing links from theDocumentwith the given documentId.getPendingActionRequests(String documentId) Gets a list of ActionRequests which are pending for a given documentIdgetPreviousRouteNodeNames(String documentId) Gets a list of all previousRouteNodeInstance's node names for aDocumentwith the given documentIdgetPrincipalIdsWithPendingActionRequestByActionRequestedAndDocId(String actionRequestedCd, String documentId) Gets a list of principalId values for aDocumentwith the given documentId and action request code that have pending action requestsgetRootActionRequests(String documentId) Gets a list of root ActionRequests for a given documentIdgetRoutedByPrincipalIdByDocumentId(String documentId) Gets theDocument's 'routed by' principalId with the given documentId Returns null if the document is not foundgetRouteNodeInstance(String routeNodeInstanceId) Gets aRouteNodeInstancewith the given nodeInstanceIdgetRouteNodeInstances(String documentId) Gets a list of allRouteNodeInstancefor aDocumentwith the given documentIdList<org.joda.time.DateTime> getSearchableAttributeDateTimeValuesByKey(String documentId, String key) Does a direct search for searchableAttributes without going through the document search This returns a list of DateTime values for date/time searchableAttributesgetSearchableAttributeFloatValuesByKey(String documentId, String key) Does a direct search for searchableAttributes without going through the document search This returns a list of BigDecimal values for decimal searchableAttributesgetSearchableAttributeLongValuesByKey(String documentId, String key) Does a direct search for searchableAttributes without going through the document search This returns a list of Long values for long searchableAttributesgetSearchableAttributeStringValuesByKey(String documentId, String key) Does a direct search for searchableAttributes without going through the document search This returns a list of String values for String searchableAttributesgetTerminalRouteNodeInstances(String documentId) Gets a list of terminalRouteNodeInstances for aDocumentwith the given documentIdgetTerminalRouteNodeNames(String documentId) Gets a list of terminal route node names for aDocumentwith the given documentId.
-
Method Details
-
getDocument
Document getDocument(String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets aDocumentfrom a documentId.This method will return null if the Document does not exist.
- Parameters:
documentId- the unique id of the document to return- Returns:
- the document with the passed in id value
- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null
-
doesDocumentExist
boolean doesDocumentExist(String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Returns a boolean depending on if aDocumentexists with the specified documentIdThis method will return false if the responsibility does not exist.
- Parameters:
documentId- the unique id of the document to check for existence- Returns:
- boolean value representative of whether the document exists
- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null
-
getDocumentContent
DocumentContent getDocumentContent(String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException GetsDocumentContentfrom a documentId.This method will return null if the document does not exist.
- Parameters:
documentId- the unique id of the document content to return- Returns:
- the documentContent with the passed in id value
- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null
-
getDocumentTypeName
String getDocumentTypeName(String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Returns the name of the document type used by the document with the given id.- Parameters:
documentId- the id of the document for which to fetch the document type name, must not be null or blank- Returns:
- the name of the document type for the document with the given id, will never return a null or blank value
- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null or if the document id does not resolve to a valid document from which a document type name can be fetched- Since:
- 2.4
-
getRootActionRequests
List<ActionRequest> getRootActionRequests(String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets a list of root ActionRequests for a given documentId- Parameters:
documentId- the unique id of a document- Returns:
- the list of root ActionRequests for a given documentId
- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null
-
getPendingActionRequests
Gets a list of ActionRequests which are pending for a given documentId- Parameters:
documentId- the unique id of a document- Returns:
- the list of pending ActionRequests for a given documentId
- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null- Since:
- 2.1
-
getActionRequestsForPrincipalAtNode
List<ActionRequest> getActionRequestsForPrincipalAtNode(String documentId, String nodeName, String principalId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets a list of ActionRequests for a given documentId, nodeName and principalId- Parameters:
documentId- the unique id of a documentnodeName- the name of a RouteNodeprincipalId- the unique id of a principal- Returns:
- the list of ActionRequests for a given documentId, nodeName, and principalId
- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null
-
getActionsTaken
List<ActionTaken> getActionsTaken(String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets a list of pastActionTakenof aDocumentwith the given documentId- Parameters:
documentId- the unique id of a document- Returns:
- the list of past ActionTakens for a given documentId
- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null
-
_getActionsTaken
@Deprecated List<ActionTaken> _getActionsTaken(String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Deprecated.mistaken operation name...use getActionsTaken instead- Parameters:
documentId- the unique id of a document- Returns:
- the list of past ActionTakens for a given documentId
- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null
-
getAllActionsTaken
List<ActionTaken> getAllActionsTaken(String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets a list of allActionTakenof aDocumentwith the given documentId- Parameters:
documentId- the unique id of a document- Returns:
- the list of ActionTakens (both current and not) for a given documentId
- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null- Since:
- 2.0.2
-
getDocumentDetailByAppId
DocumentDetail getDocumentDetailByAppId(String documentTypeName, String appId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets aDocumentDetailof aDocumentwith the given documentTypeName and appId- Parameters:
documentTypeName- the name of the DocumentTypeappId- the unique id of the application- Returns:
- a
DocumentDetailfor with the given documentTypeName and appId - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentTypeNameis nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifappIdis null
-
getDocumentDetail
Gets aDocumentDetailof aDocumentwith the given documentId- Parameters:
documentId- the unique id of the Document- Returns:
- a
DocumentDetailfor with the given documentId - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null
-
getRouteNodeInstance
RouteNodeInstance getRouteNodeInstance(String routeNodeInstanceId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets aRouteNodeInstancewith the given nodeInstanceId- Parameters:
routeNodeInstanceId- the unique id of theRouteNodeInstance- Returns:
- a
DocumentDetailfor with the given documentId - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifnodeInstanceIdis null
-
getApplicationDocumentId
String getApplicationDocumentId(String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets a value application document id of aDocumentwith the given documentId- Parameters:
documentId- the unique id of the Document- Returns:
- the value of the applicationDocumentId for the
Documentwith the given documentId - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null
-
getApplicationDocumentStatus
String getApplicationDocumentStatus(String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets a value application document status of aDocumentwith the given documentId- Parameters:
documentId- the unique id of the Document- Returns:
- the value of the applicationDocumentStatus for the
Documentwith the given documentId - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null
-
documentSearch
DocumentSearchResults documentSearch(String principalId, DocumentSearchCriteria criteria) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Executes a search for workflow documents using the given criteria and as the principal with the given id. Since documents can define security which permits access to view certain search results, the given principal id will be used when evaluating which documents should be filtered from the results because of lack of access.- Parameters:
principalId- the id of the principal to execute the search as, if this value is non-null then security filtering will be executed against the results, if it is null then no filtering will be performedcriteria- the criteria to use when executing the search- Returns:
- the results of the search, this will never be null but may contain an empty list of results
- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- if the given criteria is null
-
documentSearchSaveable
DocumentSearchResults documentSearchSaveable(String principalId, DocumentSearchCriteria criteria, boolean saveSearch) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Executes a search for workflow documents using the given criteria and as the principal with the given id. Since documents can define security which permits access to view certain search results, the given principal id will be used when evaluating which documents should be filtered from the results because of lack of access.- Parameters:
principalId- the id of the principal to execute the search as, if this value is non-null then security filtering will be executed against the results, if it is null then no filtering will be performedcriteria- the criteria to use when executing the searchboolean- to represent whether the document search details should be saved to the users preferences- Returns:
- the results of the search, this will never be null but may contain an empty list of results
- Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- if the given criteria is null
-
getRouteNodeInstances
List<RouteNodeInstance> getRouteNodeInstances(String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets a list of allRouteNodeInstancefor aDocumentwith the given documentId- Parameters:
documentId- the unique id of a Document- Returns:
- the list of
RouteNodeInstances for theDocumentwith the given documentId - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null
-
getActiveRouteNodeInstances
List<RouteNodeInstance> getActiveRouteNodeInstances(String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets a list of activeRouteNodeInstancefor aDocumentwith the given documentId- Parameters:
documentId- the unique id of a Document- Returns:
- the list of active
RouteNodeInstances for theDocumentwith the given documentId - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null
-
getTerminalRouteNodeInstances
List<RouteNodeInstance> getTerminalRouteNodeInstances(String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets a list of terminalRouteNodeInstances for aDocumentwith the given documentId- Parameters:
documentId- the unique id of a Document- Returns:
- the list of terminal
RouteNodeInstances for theDocumentwith the given documentId - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null
-
getCurrentRouteNodeInstances
List<RouteNodeInstance> getCurrentRouteNodeInstances(String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets a list of currentRouteNodeInstances for aDocumentwith the given documentId- Parameters:
documentId- the unique id of a Document- Returns:
- the list of current
RouteNodeInstances for theDocumentwith the given documentId - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null
-
getPreviousRouteNodeNames
List<String> getPreviousRouteNodeNames(String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets a list of all previousRouteNodeInstance's node names for aDocumentwith the given documentId- Parameters:
documentId- the unique id of a Document- Returns:
- the list of all previous
RouteNodeInstance's node names for theDocumentwith the given documentId - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null
-
getDocumentStatus
DocumentStatus getDocumentStatus(String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets the status value for aDocumentwith the given documentId- Parameters:
documentId- the unique id of a Document- Returns:
- the current status of the
Documentwith the given documentId - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null
-
getPrincipalIdsWithPendingActionRequestByActionRequestedAndDocId
List<String> getPrincipalIdsWithPendingActionRequestByActionRequestedAndDocId(String actionRequestedCd, String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets a list of principalId values for aDocumentwith the given documentId and action request code that have pending action requests- Parameters:
actionRequestedCd- code for the pending action requesteddocumentId- the unique id of a Document- Returns:
- a list of principalIds for the
Documentwith the given parameters and have a pending action request - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifactionRequestCdis null
-
getDocumentInitiatorPrincipalId
String getDocumentInitiatorPrincipalId(String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets theDocumentinitiator's principalId with the given documentId- Parameters:
documentId- the unique id of a Document- Returns:
- the
Documentinitiator's principalId - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null
-
getRoutedByPrincipalIdByDocumentId
String getRoutedByPrincipalIdByDocumentId(String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets theDocument's 'routed by' principalId with the given documentId Returns null if the document is not found- Parameters:
documentId- the unique id of a Document- Returns:
- the
Document's 'routed by' principalId - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null
-
getSearchableAttributeStringValuesByKey
List<String> getSearchableAttributeStringValuesByKey(String documentId, String key) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Does a direct search for searchableAttributes without going through the document search This returns a list of String values for String searchableAttributes- Parameters:
documentId- the unique id of a Documentkey- the searchableAttributes key value- Returns:
- a list of String values for the
Documentwith the given documentId and searchable attribute key - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifkeyis null
-
getSearchableAttributeDateTimeValuesByKey
List<org.joda.time.DateTime> getSearchableAttributeDateTimeValuesByKey(String documentId, String key) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Does a direct search for searchableAttributes without going through the document search This returns a list of DateTime values for date/time searchableAttributes- Parameters:
documentId- the unique id of a Documentkey- the searchableAttributes key value- Returns:
- a list of DateTime values for the
Documentwith the given documentId and searchable attribute key - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifkeyis null
-
getSearchableAttributeFloatValuesByKey
List<BigDecimal> getSearchableAttributeFloatValuesByKey(String documentId, String key) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Does a direct search for searchableAttributes without going through the document search This returns a list of BigDecimal values for decimal searchableAttributes- Parameters:
documentId- the unique id of a Documentkey- the searchableAttributes key value- Returns:
- a list of BigDecimal values for the
Documentwith the given documentId and searchable attribute key - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifkeyis null
-
getSearchableAttributeLongValuesByKey
List<Long> getSearchableAttributeLongValuesByKey(String documentId, String key) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Does a direct search for searchableAttributes without going through the document search This returns a list of Long values for long searchableAttributes- Parameters:
documentId- the unique id of a Documentkey- the searchableAttributes key value- Returns:
- a list of BigDecimal values for the
Documentwith the given documentId and searchable attribute key - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifkeyis null
-
getDocumentStatusTransitionHistory
List<DocumentStatusTransition> getDocumentStatusTransitionHistory(String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets a list of DocumentStatusTransitions for theDocumentwith the given documentId- Parameters:
documentId- the unique id of a Document- Returns:
- a list of DocumentStatusTransitions for the
Documentwith the given documentId - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null
-
addDocumentLink
DocumentLink addDocumentLink(DocumentLink documentLink) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Saves the passed inDocumentLink. If theDocumentLink's id field is created. This method actually creates two different links in the database (one from the document being linked to the target and vice-versa). If the links already exist, then the call is ignored.- Parameters:
documentLink- the unique id of a Document- Returns:
- the newly saved
DocumentLink - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentLinkis nullorg.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentLink's is id value is populated
-
deleteDocumentLink
DocumentLink deleteDocumentLink(String documentLinkId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Removes theDocumentLinkwith the given documentLinkId.- Parameters:
documentLinkId- the unique id of a Document- Returns:
- the deleted
DocumentLink - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentLinkis nullorg.kuali.rice.core.api.exception.RiceIllegalStateException- if no DocumentLink with the passed indocumentLinkexist
-
deleteDocumentLinksByDocumentId
List<DocumentLink> deleteDocumentLinksByDocumentId(String originatingDocumentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Removes allDocumentLinks for the givenDocumentwith the given originatingDocumentId.- Parameters:
originatingDocumentId- the unique id of the originating Document of the document links to delete- Returns:
- a list of the deleted
DocumentLinks - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentLinkis null
-
getOutgoingDocumentLinks
List<DocumentLink> getOutgoingDocumentLinks(String originatingDocumentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets a list of allDocumentLinks for outgoing links from theDocumentwith the given documentId.- Parameters:
originatingDocumentId- the unique id of the originating Document of the document links to retrieve- Returns:
- a list of the outgoing
DocumentLinks for the originating document - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- iforiginatingDocumentIdis null
-
getIncomingDocumentLinks
List<DocumentLink> getIncomingDocumentLinks(String originatingDocumentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets a list of allDocumentLinks for incoming links from theDocumentwith the given documentId.- Parameters:
originatingDocumentId- the unique id of the incoming Document of the document links to retrieve- Returns:
- a list of the outgoing
DocumentLinks for the incoming document - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- iforiginatingDocumentIdis null
-
getDocumentLink
DocumentLink getDocumentLink(String documentLinkId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets theDocumentLinkfor with the given documentLinkId.- Parameters:
documentLinkId- the unique id of theDocumentLinkto retrieve- Returns:
- a
DocumentLinkwith the passed in documentLinkId - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentLinkIdis null
-
getActiveRouteNodeNames
List<String> getActiveRouteNodeNames(String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets a list of active route node names for aDocumentwith the given documentId. Will never return null but an empty collection to indicate no results.- Parameters:
documentId- the unique id of a Document- Returns:
- an unmodifiable list of active route node names for the
Documentwith the given documentId - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null or blank- Since:
- rice 2.2
-
getActiveSimpleRouteNodeNames
List<String> getActiveSimpleRouteNodeNames(String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets a list of active route node names for simple nodes for aDocumentwith the given documentId. Will never return null but an empty collection to indicate no results.- Parameters:
documentId- the unique id of a Document- Returns:
- an unmodifiable list of active route node names for simple nodes for the
Documentwith the given documentId - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null or blank- Since:
- rice 2.6
-
getTerminalRouteNodeNames
List<String> getTerminalRouteNodeNames(String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets a list of terminal route node names for aDocumentwith the given documentId. Will never return null but an empty collection to indicate no results.- Parameters:
documentId- the unique id of a Document- Returns:
- an unmodifiable list of terminal route node names for the
Documentwith the given documentId - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null or blank- Since:
- rice 2.2
-
getCurrentRouteNodeNames
List<String> getCurrentRouteNodeNames(String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets a list of current route node names for aDocumentwith the given documentId. Will never return null but an empty collection to indicate no results.- Parameters:
documentId- the unique id of a Document- Returns:
- an unmodifiable list of current route node names for the
Documentwith the given documentId - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null or blank- Since:
- rice 2.2
-
getCurrentSimpleRouteNodeNames
List<String> getCurrentSimpleRouteNodeNames(String documentId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException Gets a list of simple current route node names for aDocumentwith the given documentId. Will never return null but an empty collection to indicate no results.- Parameters:
documentId- the unique id of a Document- Returns:
- an unmodifiable list of current simple route node names for the
Documentwith the given documentId - Throws:
org.kuali.rice.core.api.exception.RiceIllegalArgumentException- ifdocumentIdis null or blank- Since:
- rice 2.6
-