|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WorkflowDocumentService
TODO ... annotate for JAX-WS!
| Method Summary | |
|---|---|
List<ActionTaken> |
_getActionsTaken(String documentId)
Deprecated. mistaken operation name...use getActionsTaken instead |
DocumentLink |
addDocumentLink(DocumentLink documentLink)
Saves the passed in DocumentLink. |
DocumentLink |
deleteDocumentLink(String documentLinkId)
Removes the DocumentLink with the given documentLinkId. |
List<DocumentLink> |
deleteDocumentLinksByDocumentId(String originatingDocumentId)
Removes all DocumentLinks for the given Document with the given originatingDocumentId. |
DocumentSearchResults |
documentSearch(String principalId,
DocumentSearchCriteria criteria)
Executes a search for workflow documents using the given criteria and as the principal with the given id. |
boolean |
doesDocumentExist(String documentId)
Returns a boolean depending on if a Document exists with the specified documentId |
List<ActionRequest> |
getActionRequestsForPrincipalAtNode(String documentId,
String nodeName,
String principalId)
Gets a list of ActionRequests for a given documentId, nodeName and principalId |
List<ActionTaken> |
getActionsTaken(String documentId)
Gets a list of past ActionTaken of a Document with the given documentId |
List<RouteNodeInstance> |
getActiveRouteNodeInstances(String documentId)
Gets a list of active RouteNodeInstance for a Document with the given documentId |
List<String> |
getActiveRouteNodeNames(String documentId)
Gets a list of active route node names for a Document with the given documentId. |
List<ActionTaken> |
getAllActionsTaken(String documentId)
Gets a list of all ActionTaken of a Document with the given documentId |
String |
getApplicationDocumentId(String documentId)
Gets a value application document id of a Document with the given documentId |
String |
getApplicationDocumentStatus(String documentId)
Gets a value application document status of a Document with the given documentId |
List<RouteNodeInstance> |
getCurrentRouteNodeInstances(String documentId)
Gets a list of current RouteNodeInstances for a Document with the given documentId |
List<String> |
getCurrentRouteNodeNames(String documentId)
Gets a list of current route node names for a Document with the given documentId. |
Document |
getDocument(String documentId)
Gets a Document from a documentId. |
DocumentContent |
getDocumentContent(String documentId)
Gets DocumentContent from a documentId. |
DocumentDetail |
getDocumentDetail(String documentId)
Gets a DocumentDetail of a Document with the given documentId |
DocumentDetail |
getDocumentDetailByAppId(String documentTypeName,
String appId)
Gets a DocumentDetail of a Document with the given documentTypeName and appId |
String |
getDocumentInitiatorPrincipalId(String documentId)
Gets the Document initiator's principalId with the given documentId |
DocumentLink |
getDocumentLink(String documentLinkId)
Gets the DocumentLink for with the given documentLinkId. |
DocumentStatus |
getDocumentStatus(String documentId)
Gets the status value for a Document with the given documentId |
List<DocumentStatusTransition> |
getDocumentStatusTransitionHistory(String documentId)
Gets a list of DocumentStatusTransitions for the Document with the given documentId |
List<DocumentLink> |
getIncomingDocumentLinks(String originatingDocumentId)
Gets a list of all DocumentLinks for incoming links from the Document with the given documentId. |
List<DocumentLink> |
getOutgoingDocumentLinks(String originatingDocumentId)
Gets a list of all DocumentLinks for outgoing links from the Document with the given documentId. |
List<ActionRequest> |
getPendingActionRequests(String documentId)
Gets a list of ActionRequests which are pending for a given documentId |
List<String> |
getPreviousRouteNodeNames(String documentId)
Gets a list of all previous RouteNodeInstance's node names for a Document with the given documentId |
List<String> |
getPrincipalIdsWithPendingActionRequestByActionRequestedAndDocId(String actionRequestedCd,
String documentId)
Gets a list of principalId values for a Document with the given documentId
and action request code that have pending action requests |
List<ActionRequest> |
getRootActionRequests(String documentId)
Gets a list of root ActionRequests for a given documentId |
String |
getRoutedByPrincipalIdByDocumentId(String documentId)
Gets the Document's 'routed by' principalId with the given documentId
Returns null if the document is not found |
RouteNodeInstance |
getRouteNodeInstance(String routeNodeInstanceId)
Gets a RouteNodeInstance with the given nodeInstanceId |
List<RouteNodeInstance> |
getRouteNodeInstances(String documentId)
Gets a list of all RouteNodeInstance for a Document with the given documentId |
List<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 searchableAttributes |
List<BigDecimal> |
getSearchableAttributeFloatValuesByKey(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 searchableAttributes |
List<Long> |
getSearchableAttributeLongValuesByKey(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 searchableAttributes |
List<String> |
getSearchableAttributeStringValuesByKey(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 searchableAttributes |
List<RouteNodeInstance> |
getTerminalRouteNodeInstances(String documentId)
Gets a list of terminal RouteNodeInstances for a Document with the given documentId |
List<String> |
getTerminalRouteNodeNames(String documentId)
Gets a list of terminal route node names for a Document with the given documentId. |
| Method Detail |
|---|
Document getDocument(String documentId)
throws RiceIllegalArgumentException
Document from a documentId.
This method will return null if the Document does not exist.
documentId - the unique id of the document to return
RiceIllegalArgumentException - if documentId is null
boolean doesDocumentExist(String documentId)
throws RiceIllegalArgumentException
Document exists with the specified documentId
This method will return false if the responsibility does not exist.
documentId - the unique id of the document to check for existence
RiceIllegalArgumentException - if documentId is null
DocumentContent getDocumentContent(String documentId)
throws RiceIllegalArgumentException
DocumentContent from a documentId.
This method will return null if the document does not exist.
documentId - the unique id of the document content to return
RiceIllegalArgumentException - if documentId is null
List<ActionRequest> getRootActionRequests(String documentId)
throws RiceIllegalArgumentException
documentId - the unique id of a document
RiceIllegalArgumentException - if documentId is nullList<ActionRequest> getPendingActionRequests(String documentId)
documentId - the unique id of a document
RiceIllegalArgumentException - if documentId is null
List<ActionRequest> getActionRequestsForPrincipalAtNode(String documentId,
String nodeName,
String principalId)
throws RiceIllegalArgumentException
documentId - the unique id of a documentnodeName - the name of a RouteNodeprincipalId - the unique id of a principal
RiceIllegalArgumentException - if documentId is null
List<ActionTaken> getActionsTaken(String documentId)
throws RiceIllegalArgumentException
ActionTaken of a Document with the given documentId
documentId - the unique id of a document
RiceIllegalArgumentException - if documentId is null
@Deprecated
List<ActionTaken> _getActionsTaken(String documentId)
throws RiceIllegalArgumentException
documentId - the unique id of a document
RiceIllegalArgumentException - if documentId is null
List<ActionTaken> getAllActionsTaken(String documentId)
throws RiceIllegalArgumentException
ActionTaken of a Document with the given documentId
documentId - the unique id of a document
RiceIllegalArgumentException - if documentId is null
DocumentDetail getDocumentDetailByAppId(String documentTypeName,
String appId)
throws RiceIllegalArgumentException
DocumentDetail of a Document with the given documentTypeName and appId
documentTypeName - the name of the DocumentTypeappId - the unique id of the application
DocumentDetail for with the given documentTypeName and appId
RiceIllegalArgumentException - if documentTypeName is null
RiceIllegalArgumentException - if appId is nullDocumentDetail getDocumentDetail(String documentId)
DocumentDetail of a Document with the given documentId
documentId - the unique id of the Document
DocumentDetail for with the given documentId
RiceIllegalArgumentException - if documentId is null
RouteNodeInstance getRouteNodeInstance(String routeNodeInstanceId)
throws RiceIllegalArgumentException
RouteNodeInstance with the given nodeInstanceId
routeNodeInstanceId - the unique id of the RouteNodeInstance
DocumentDetail for with the given documentId
RiceIllegalArgumentException - if nodeInstanceId is null
String getApplicationDocumentId(String documentId)
throws RiceIllegalArgumentException
Document with the given documentId
documentId - the unique id of the Document
Document with the given documentId
RiceIllegalArgumentException - if documentId is null
String getApplicationDocumentStatus(String documentId)
throws RiceIllegalArgumentException
Document with the given documentId
documentId - the unique id of the Document
Document with the given documentId
RiceIllegalArgumentException - if documentId is null
DocumentSearchResults documentSearch(String principalId,
DocumentSearchCriteria criteria)
throws RiceIllegalArgumentException
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
RiceIllegalArgumentException - if the given criteria is null
List<RouteNodeInstance> getRouteNodeInstances(String documentId)
throws RiceIllegalArgumentException
RouteNodeInstance for a Document with the given documentId
documentId - the unique id of a Document
RouteNodeInstances for the Document with the given documentId
RiceIllegalArgumentException - if documentId is null
List<RouteNodeInstance> getActiveRouteNodeInstances(String documentId)
throws RiceIllegalArgumentException
RouteNodeInstance for a Document with the given documentId
documentId - the unique id of a Document
RouteNodeInstances for the Document with the given documentId
RiceIllegalArgumentException - if documentId is null
List<RouteNodeInstance> getTerminalRouteNodeInstances(String documentId)
throws RiceIllegalArgumentException
RouteNodeInstances for a Document with the given documentId
documentId - the unique id of a Document
RouteNodeInstances for the Document with the given documentId
RiceIllegalArgumentException - if documentId is null
List<RouteNodeInstance> getCurrentRouteNodeInstances(String documentId)
throws RiceIllegalArgumentException
RouteNodeInstances for a Document with the given documentId
documentId - the unique id of a Document
RouteNodeInstances for the Document with the given documentId
RiceIllegalArgumentException - if documentId is null
List<String> getPreviousRouteNodeNames(String documentId)
throws RiceIllegalArgumentException
RouteNodeInstance's node names for a Document with the given documentId
documentId - the unique id of a Document
RouteNodeInstance's node names for the Document with the
given documentId
RiceIllegalArgumentException - if documentId is null
DocumentStatus getDocumentStatus(String documentId)
throws RiceIllegalArgumentException
Document with the given documentId
documentId - the unique id of a Document
Document with the
given documentId
RiceIllegalArgumentException - if documentId is null
List<String> getPrincipalIdsWithPendingActionRequestByActionRequestedAndDocId(String actionRequestedCd,
String documentId)
throws RiceIllegalArgumentException
Document with the given documentId
and action request code that have pending action requests
actionRequestedCd - code for the pending action requesteddocumentId - the unique id of a Document
Document with the
given parameters and have a pending action request
RiceIllegalArgumentException - if documentId is null
RiceIllegalArgumentException - if actionRequestCd is null
String getDocumentInitiatorPrincipalId(String documentId)
throws RiceIllegalArgumentException
Document initiator's principalId with the given documentId
documentId - the unique id of a Document
Document initiator's principalId
RiceIllegalArgumentException - if documentId is null
String getRoutedByPrincipalIdByDocumentId(String documentId)
throws RiceIllegalArgumentException
Document's 'routed by' principalId with the given documentId
Returns null if the document is not found
documentId - the unique id of a Document
Document's 'routed by' principalId
RiceIllegalArgumentException - if documentId is null
List<String> getSearchableAttributeStringValuesByKey(String documentId,
String key)
throws RiceIllegalArgumentException
documentId - the unique id of a Documentkey - the searchableAttributes key value
Document with the
given documentId and searchable attribute key
RiceIllegalArgumentException - if documentId is null
RiceIllegalArgumentException - if key is null
List<org.joda.time.DateTime> getSearchableAttributeDateTimeValuesByKey(String documentId,
String key)
throws RiceIllegalArgumentException
documentId - the unique id of a Documentkey - the searchableAttributes key value
Document with the
given documentId and searchable attribute key
RiceIllegalArgumentException - if documentId is null
RiceIllegalArgumentException - if key is null
List<BigDecimal> getSearchableAttributeFloatValuesByKey(String documentId,
String key)
throws RiceIllegalArgumentException
documentId - the unique id of a Documentkey - the searchableAttributes key value
Document with the
given documentId and searchable attribute key
RiceIllegalArgumentException - if documentId is null
RiceIllegalArgumentException - if key is null
List<Long> getSearchableAttributeLongValuesByKey(String documentId,
String key)
throws RiceIllegalArgumentException
documentId - the unique id of a Documentkey - the searchableAttributes key value
Document with the
given documentId and searchable attribute key
RiceIllegalArgumentException - if documentId is null
RiceIllegalArgumentException - if key is null
List<DocumentStatusTransition> getDocumentStatusTransitionHistory(String documentId)
throws RiceIllegalArgumentException
Document with the given documentId
documentId - the unique id of a Document
Document with the
given documentId
RiceIllegalArgumentException - if documentId is null
DocumentLink addDocumentLink(DocumentLink documentLink)
throws RiceIllegalArgumentException
DocumentLink. If the DocumentLink'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.
documentLink - the unique id of a Document
DocumentLink
RiceIllegalArgumentException - if documentLink is null
RiceIllegalArgumentException - if documentLink's is id value is populated
DocumentLink deleteDocumentLink(String documentLinkId)
throws RiceIllegalArgumentException
DocumentLink with the given documentLinkId.
documentLinkId - the unique id of a Document
DocumentLink
RiceIllegalArgumentException - if documentLink is null
RiceIllegalStateException - if no DocumentLink with the passed indocumentLink exist
List<DocumentLink> deleteDocumentLinksByDocumentId(String originatingDocumentId)
throws RiceIllegalArgumentException
DocumentLinks for the given Document with the given originatingDocumentId.
originatingDocumentId - the unique id of the originating Document of the document links to delete
DocumentLinks
RiceIllegalArgumentException - if documentLink is null
List<DocumentLink> getOutgoingDocumentLinks(String originatingDocumentId)
throws RiceIllegalArgumentException
DocumentLinks for outgoing links from the Document with the given documentId.
originatingDocumentId - the unique id of the originating Document of the document links to retrieve
DocumentLinks for the originating document
RiceIllegalArgumentException - if originatingDocumentId is null
List<DocumentLink> getIncomingDocumentLinks(String originatingDocumentId)
throws RiceIllegalArgumentException
DocumentLinks for incoming links from the Document with the given documentId.
originatingDocumentId - the unique id of the incoming Document of the document links to retrieve
DocumentLinks for the incoming document
RiceIllegalArgumentException - if originatingDocumentId is null
DocumentLink getDocumentLink(String documentLinkId)
throws RiceIllegalArgumentException
DocumentLink for with the given documentLinkId.
documentLinkId - the unique id of the DocumentLink to retrieve
DocumentLink with the passed in documentLinkId
RiceIllegalArgumentException - if documentLinkId is null
List<String> getActiveRouteNodeNames(String documentId)
throws RiceIllegalArgumentException
Document with the given documentId. Will never return null but an empty collection to indicate no results.
documentId - the unique id of a Document
Document with the given documentId
RiceIllegalArgumentException - if documentId is null or blank
List<String> getTerminalRouteNodeNames(String documentId)
throws RiceIllegalArgumentException
Document with the given documentId. Will never return null but an empty collection to indicate no results.
documentId - the unique id of a Document
Document with the given documentId
RiceIllegalArgumentException - if documentId is null or blank
List<String> getCurrentRouteNodeNames(String documentId)
throws RiceIllegalArgumentException
Document with the given documentId. Will never return null but an empty collection to indicate no results.
documentId - the unique id of a Document
Document with the given documentId
RiceIllegalArgumentException - if documentId is null or blank
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||