|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SimpleDocumentActionsWebService
SimpleDocumentActionsWebService is a simplified view into KEW that exposes those methods that would be required by a basic client as a web service that is meant to be as interoperable as possible (using simple types, etc.) The standard return is a simple structure containing a standard set of return values:
| Method Summary | |
|---|---|
StandardResponse |
acknowledge(String docId,
String principalId,
String annotation)
Acknowledge the KEW document, in response to an acknowledge action request. |
NoteResponse |
addNote(String docId,
String principalId,
String noteText)
Add a note (possibly including a binary attachment) to this KEW document. |
StandardResponse |
approve(String docId,
String principalId,
String docTitle,
String docContent,
String annotation)
Approve the KEW document, in response to an approval action request. |
StandardResponse |
blanketApprove(String docId,
String principalId,
String docTitle,
String docContent,
String annotation)
Blanket Approve the KEW document (all future approval requests will be satisfied), in response to an approval action request. |
StandardResponse |
cancel(String docId,
String principalId,
String annotation)
Cancel the KEW document. |
DocumentResponse |
create(String initiatorPrincipalId,
String appDocId,
String docType,
String docTitle)
Create a KEW document. |
ErrorResponse |
deleteNote(String docId,
String noteId,
String principalId)
Delete an existing note. |
StandardResponse |
disapprove(String docId,
String principalId,
String annotation)
Disapprove the KEW document, in response to an approval action request. |
StandardResponse |
fyi(String docId,
String principalId)
Clear an FYI request for this KEW document from the user's action list, in response to an FYI action request. |
DocumentResponse |
getDocument(String docId,
String principalId)
Retrieve a KEW document based on the docId and principalId passed in, and return the information about the document. |
UserInRouteLogResponse |
isUserInRouteLog(String docId,
String principalId)
Check to see if the user is associated with this KEW document. |
StandardResponse |
requestAdHocAckToGroup(String docId,
String principalId,
String recipientGroupId,
String annotation)
Create an Adhoc Acknowledge request for another group for this KEW document. |
StandardResponse |
requestAdHocAckToPrincipal(String docId,
String principalId,
String recipientPrincipalId,
String annotation)
Create an Adhoc Acknowledge request for another user for this KEW document. |
StandardResponse |
requestAdHocApproveToGroup(String docId,
String principalId,
String recipientGroupId,
String annotation)
Create an Adhoc Approval request for another group for this KEW document. |
StandardResponse |
requestAdHocApproveToPrincipal(String docId,
String principalId,
String recipientPrincipalId,
String annotation)
Create an Adhoc Approval request for another user for this KEW document. |
StandardResponse |
requestAdHocFyiToGroup(String docId,
String principalId,
String recipientGroupId,
String annotation)
Create an Adhoc FYI request for another group for this KEW document. |
StandardResponse |
requestAdHocFyiToPrincipal(String docId,
String principalId,
String recipientPrincipalId,
String annotation)
Create an Adhoc FYI request for another user for this KEW document. |
StandardResponse |
returnToPreviousNode(String docId,
String principalId,
String annotation,
String nodeName)
Return a KEW document to a previous route node. |
StandardResponse |
returnToPreviousNodeWithUpdates(String docId,
String principalId,
String annotation,
String nodeName,
String docTitle,
String docContent)
Return a KEW document to a previous route node. |
StandardResponse |
revokeAdHocRequestsByActionRequestId(String docId,
String principalId,
String docTitle,
String docContent,
String actionRequestId,
String annotation)
This method revokes the AdHoc request set on the document for the specified action request. |
StandardResponse |
revokeAdHocRequestsByGroupId(String docId,
String principalId,
String docTitle,
String docContent,
String groupId,
String annotation)
This method revokes all AdHoc requests set on the document for a specified group. |
StandardResponse |
revokeAdHocRequestsByNodeName(String docId,
String principalId,
String docTitle,
String docContent,
String nodeName,
String annotation)
This method revokes all AdHoc requests set on the document at the specified node. |
StandardResponse |
revokeAdHocRequestsByPrincipalId(String docId,
String principalId,
String docTitle,
String docContent,
String adhocPrincipalId,
String annotation)
This method revokes all AdHoc requests set on the document for the specified principal. |
StandardResponse |
route(String docId,
String principalId,
String docTitle,
String docContent,
String annotation)
Route a KEW document. |
StandardResponse |
save(String docId,
String principalId,
String docTitle,
String docContent,
String annotation)
Save the KEW document, keeps it in the user's action list for completion later. |
StandardResponse |
saveDocumentContent(String docId,
String principalId,
String docTitle,
String docContent)
Save the KEW document content and update the docTitle if fields are non-null. |
StandardResponse |
superUserApprove(String docId,
String superUserPrincipalId,
String docTitle,
String docContent,
String annotation)
This method will super user approve the document. |
StandardResponse |
superUserCancel(String docId,
String superUserPrincipalId,
String docTitle,
String docContent,
String annotation)
This method will super user cancel the document. |
StandardResponse |
superUserDisapprove(String docId,
String superUserPrincipalId,
String docTitle,
String docContent,
String annotation)
This method will super user disapprove the document. |
StandardResponse |
superUserReturnToPrevious(String docId,
String superUserPrincipalId,
String docTitle,
String docContent,
String nodeName,
String annotation)
Return a KEW document to a previous route node. |
NoteResponse |
updateNote(String docId,
String noteId,
String principalId,
String noteText)
Update an existing note (possibly including a binary attachment) to this KEW document. |
| Method Detail |
|---|
DocumentResponse create(String initiatorPrincipalId,
String appDocId,
String docType,
String docTitle)
initiatorPrincipalId - principal id of the document initiatorappDocId - application specific document iddocType - KEW document type for the document to be createddocTitle - title for this document
StandardResponse route(String docId,
String principalId,
String docTitle,
String docContent,
String annotation)
docId - KEW document id of the document to routeprincipalId - principal id of the user who is routing the documentdocTitle - title for this documentdocContent - xml content for this documentannotation - a comment associated with this request
StandardResponse approve(String docId,
String principalId,
String docTitle,
String docContent,
String annotation)
docId - KEW document id of the document to approveprincipalId - principal id of the user who is approving the documentdocTitle - title for this documentdocContent - xml content for this documentannotation - a comment associated with this request
StandardResponse blanketApprove(String docId,
String principalId,
String docTitle,
String docContent,
String annotation)
docId - KEW document id of the document to blanket approveprincipalId - principal id of the user who is blanket approving the documentdocTitle - title for this documentdocContent - xml content for this documentannotation - a comment associated with this request
StandardResponse cancel(String docId,
String principalId,
String annotation)
docId - KEW document id of the document to cancelprincipalId - principal id of the user who is canceling the documentannotation - a comment associated with this request
StandardResponse disapprove(String docId,
String principalId,
String annotation)
docId - KEW document id of the document to disapproveprincipalId - principal id of the user who is disapproving the documentannotation - a comment associated with this request
StandardResponse acknowledge(String docId,
String principalId,
String annotation)
docId - KEW document id of the document to acknowledgeprincipalId - principal id of the user who is acknowledging the documentannotation - a comment associated with this request
StandardResponse fyi(String docId,
String principalId)
docId - KEW document id of the document to acknowledgeprincipalId - principal id of the user who is acknowledging the document
StandardResponse save(String docId,
String principalId,
String docTitle,
String docContent,
String annotation)
docId - KEW document id of the document to saveprincipalId - principal id of the user who is saving the documentdocTitle - title for this documentdocContent - xml content for this documentannotation - a comment associated with this request
StandardResponse saveDocumentContent(String docId,
String principalId,
String docTitle,
String docContent)
docId - KEW document id of the document to saveprincipalId - principal id of the user who is saving the documentdocTitle - title for this documentdocContent - xml content for this document
StandardResponse requestAdHocFyiToPrincipal(String docId,
String principalId,
String recipientPrincipalId,
String annotation)
docId - KEW document id of the document to create the adhoc request forprincipalId - principal id of the user who is making this requestrecipientPrincipalId - principal id of the user for whom the request is being createdannotation - a comment associated with this request
StandardResponse requestAdHocFyiToGroup(String docId,
String principalId,
String recipientGroupId,
String annotation)
docId - KEW document id of the document to create the adhoc request forprincipalId - principal id of the user who is making this requestrecipientGroupId - group id of the group to create this request forannotation - a comment associated with this request
StandardResponse requestAdHocAckToPrincipal(String docId,
String principalId,
String recipientPrincipalId,
String annotation)
docId - KEW document id of the document to create the adhoc request forprincipalId - principal id of the user who is making this requestrecipientPrincipalId - principal id of the user for whom the request is being createdannotation - a comment associated with this request
StandardResponse requestAdHocAckToGroup(String docId,
String principalId,
String recipientGroupId,
String annotation)
docId - KEW document id of the document to create the adhoc request forprincipalId - principal id of the user who is making this requestrecipientGroupId - group id of the group to create this request forannotation - a comment associated with this request
StandardResponse requestAdHocApproveToPrincipal(String docId,
String principalId,
String recipientPrincipalId,
String annotation)
docId - KEW document id of the document to create the adhoc request forprincipalId - principal id of the user who is making this requestrecipientPrincipalId - principal id of the user for whom the request is being createdannotation - a comment associated with this request
StandardResponse requestAdHocApproveToGroup(String docId,
String principalId,
String recipientGroupId,
String annotation)
docId - KEW document id of the document to create the adhoc request forprincipalId - principal id of the user who is making this requestrecipientGroupId - group id of the group to create this request forannotation - a comment associated with this request
UserInRouteLogResponse isUserInRouteLog(String docId,
String principalId)
docId - KEW document id of the document to checkprincipalId - principal id of the user to check
DocumentResponse getDocument(String docId,
String principalId)
docId - KEW document id of the document to retrieve information aboutprincipalId - principal id of the user to retrieve the document for
NoteResponse addNote(String docId,
String principalId,
String noteText)
docId - KEW document id of the document to add the note toprincipalId - principal id of the user who is adding the notenoteText - text of the note
NoteResponse updateNote(String docId,
String noteId,
String principalId,
String noteText)
docId - KEW document id of the document to update the note fornoteId - the id of the note to updateprincipalId - principal id of the user who is updating the notenoteText - text of the note if changed
ErrorResponse deleteNote(String docId,
String noteId,
String principalId)
docId - KEW document id of the document to delete the note fromnoteId - the id of the note to deleteprincipalId - principal id of the user who is deleting the note
StandardResponse returnToPreviousNode(String docId,
String principalId,
String annotation,
String nodeName)
docId - KEW document id of the document to return to a previous nodeprincipalId - principal id of the user who is requesting this actionannotation - a comment associated with this requestnodeName - name of the route node to return to
StandardResponse returnToPreviousNodeWithUpdates(String docId,
String principalId,
String annotation,
String nodeName,
String docTitle,
String docContent)
docId - KEW document id of the document to return to a previous nodeprincipalId - principal id of the user who is requesting this actionannotation - a comment associated with this requestnodeName - name of the route node to return todocTitle - title for this documentdocContent - xml content for this document
StandardResponse revokeAdHocRequestsByNodeName(String docId,
String principalId,
String docTitle,
String docContent,
String nodeName,
String annotation)
docId - KEW document id of the documentprincipalId - principal id of the user who is revoking the requestsdocTitle - title for this document (updated if non-null)docContent - xml content for this document (updated if non-null)nodeName - name of the route node that adhoc requests should be revoked fromannotation - a comment associated with this request
StandardResponse revokeAdHocRequestsByPrincipalId(String docId,
String principalId,
String docTitle,
String docContent,
String adhocPrincipalId,
String annotation)
docId - KEW document id of the documentprincipalId - principal id of the user who is revoking the requestsdocTitle - title for this document (updated if non-null)docContent - xml content for this document (updated if non-null)adhocPrincipalId - principal ID of the principal that should have all their adhoc requests revokedannotation - a comment associated with this request
StandardResponse revokeAdHocRequestsByGroupId(String docId,
String principalId,
String docTitle,
String docContent,
String groupId,
String annotation)
docId - KEW document id of the document that is being returnedprincipalId - principal id of the user who is revoking the requestsdocTitle - title for this document (updated if non-null)docContent - xml content for this document (updated if non-null)groupId - groupId of the group that should have adhoc requests revokedannotation - a comment associated with this request
StandardResponse revokeAdHocRequestsByActionRequestId(String docId,
String principalId,
String docTitle,
String docContent,
String actionRequestId,
String annotation)
docId - KEW document id of the documentprincipalId - principal id of the user who is revoking the requestsdocTitle - title for this document (updated if non-null)docContent - xml content for this document (updated if non-null)actionRequestId - the id of the adhoc request to be revokedannotation - a comment associated with this request
StandardResponse superUserApprove(String docId,
String superUserPrincipalId,
String docTitle,
String docContent,
String annotation)
docId - KEW document id of the documentsuperUserPrincipalId - principal id of the super user who is taking the actiondocTitle - title for this document (updated if non-null)docContent - xml content for this document (updated if non-null)annotation - a comment associated with this request
StandardResponse superUserDisapprove(String docId,
String superUserPrincipalId,
String docTitle,
String docContent,
String annotation)
docId - KEW document id of the documentsuperUserPrincipalId - principal id of the super user who is taking the actiondocTitle - title for this document (updated if non-null)docContent - xml content for this document (updated if non-null)annotation - a comment associated with this request
StandardResponse superUserCancel(String docId,
String superUserPrincipalId,
String docTitle,
String docContent,
String annotation)
docId - KEW document id of the documentsuperUserPrincipalId - principal id of the super user who is taking the actiondocTitle - title for this document (updated if non-null)docContent - xml content for this document (updated if non-null)annotation - a comment associated with this request
StandardResponse superUserReturnToPrevious(String docId,
String superUserPrincipalId,
String docTitle,
String docContent,
String nodeName,
String annotation)
docId - KEW document id of the document to return to a previous nodesuperUserPrincipalId - principal id of the super user who is requesting this actiondocTitle - title for this document (updated if non-null)docContent - xml content for this document (updated if non-null)nodeName - name of the route node to return toannotation - a comment associated with this request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||