Java Doc for SimpleDocumentActionsWebService.java in  » ERP-CRM-Financial » Kuali-Financial-System » edu » iu » uis » eden » server » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » Kuali Financial System » edu.iu.uis.eden.server 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


edu.iu.uis.eden.server.SimpleDocumentActionsWebService

All known Subclasses:   edu.iu.uis.eden.server.SimpleDocumentActionsWebServiceImpl,
SimpleDocumentActionsWebService
public interface SimpleDocumentActionsWebService (Code)
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:
  • docStatus String - current status of document in KEW
  • createDate String - date document was created in KEW
  • initiatorId String - netid of document initiator
  • appDocId String - application specific document id
  • initiatorName String - display name of the document initiator
  • routedByUserId String - id of the user that routed the document (can be different from initiator)
  • routedByUserName String - display name of the user that routed the document (can be different from initiator)
  • errorMessage String - error message from KEW if any

author:
   Bryan G. Hutchinson (bh79 at cornell dot edu)
author:
   Aaron Hamid (arh14 at cornell dot edu)

Inner Class :public static class UserInRouteLogResponse extends ErrorResponse
Inner Class :public static class ErrorResponse
Inner Class :public static class NoteResponse extends ErrorResponse
Inner Class :public static class StandardResponse extends ErrorResponse
Inner Class :public static class DocumentResponse extends StandardResponse
Inner Class :public static class NoteDetail



Method Summary
public  StandardResponseacknowledge(String docId, String userId, String annotation)
     Acknowledge the KEW document, in response to an acknowledge action request.
public  NoteResponseaddNote(String docId, String userId, String noteText)
     Add a note (possibly including a binary attachment) to this KEW document.
public  StandardResponseapprove(String docId, String userId, String docTitle, String docContent, String annotation)
     Approve the KEW document, in response to an approval action request.
public  StandardResponseblanketApprove(String docId, String userId, 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.
public  StandardResponsecancel(String docId, String userId, String annotation)
     Cancel the KEW document.
public  DocumentResponsecreate(String initiatorId, String appDocId, String docType, String docTitle)
     Create a KEW document.
public  ErrorResponsedeleteNote(String docId, String noteId, String userId)
     Delete an existing note.
public  StandardResponsedisapprove(String docId, String userId, String annotation)
     Disapprove the KEW document, in response to an approval action request.
public  StandardResponsefyi(String docId, String userId)
     Clear an FYI request for this KEW document from the user's action list, in response to an FYI action request.
public  DocumentResponsegetDocument(String docId, String userId)
     Retrieve a KEW document based on the docId and userId passed in, and return the information about the document.
public  UserInRouteLogResponseisUserInRouteLog(String docId, String userId)
     Check to see if the user is associated with this KEW document.
public  StandardResponserequestAdHocAckToGroup(String docId, String userId, String recipientGroupId, String annotation)
     Create an Adhoc Acknowledge request for another group for this KEW document. NOTE: Must make a subsequent call to route in order for the action request to be created.
public  StandardResponserequestAdHocAckToUser(String docId, String userId, String recipientUserId, String annotation)
     Create an Adhoc Acknowledge request for another user for this KEW document. NOTE: Must make a subsequent call to route in order for the action request to be created.
public  StandardResponserequestAdHocApproveToGroup(String docId, String userId, String recipientGroupId, String annotation)
     Create an Adhoc Approval request for another group for this KEW document. NOTE: Must make a subsequent call to route in order for the action request to be created.
public  StandardResponserequestAdHocApproveToUser(String docId, String userId, String recipientUserId, String annotation)
     Create an Adhoc Approval request for another user for this KEW document. NOTE: Must make a subsequent call to route in order for the action request to be created.
public  StandardResponserequestAdHocFyiToGroup(String docId, String userId, String recipientGroupId, String annotation)
     Create an Adhoc FYI request for another group for this KEW document. NOTE: Must make a subsequent call to route in order for the action request to be created.
public  StandardResponserequestAdHocFyiToUser(String docId, String userId, String recipientUserId, String annotation)
     Create an Adhoc FYI request for another user for this KEW document. NOTE: Must make a subsequent call to route in order for the action request to be created.
public  StandardResponsereturnToPreviousNode(String docId, String userId, String annotation, String nodeName)
     Return a KEW document to a previous route node.
public  StandardResponseroute(String docId, String userId, String docTitle, String docContent, String annotation)
     Route a KEW document.
public  StandardResponsesave(String docId, String userId, String docTitle, String annotation)
     Save the KEW document, keeps it in the user's action list for completion later.
public  NoteResponseupdateNote(String docId, String noteId, String userId, String noteText)
     Update an existing note (possibly including a binary attachment) to this KEW document.



Method Detail
acknowledge
public StandardResponse acknowledge(String docId, String userId, String annotation)(Code)
Acknowledge the KEW document, in response to an acknowledge action request.
Parameters:
  docId - KEW document id of the document to acknowledge
Parameters:
  userId - netid of the user who is acknowledging the document
Parameters:
  annotation - a comment associated with this request StandardResponse including the standard set of return values



addNote
public NoteResponse addNote(String docId, String userId, String noteText)(Code)
Add a note (possibly including a binary attachment) to this KEW document.
Parameters:
  docId - KEW document id of the document to add the note to
Parameters:
  userId - netid of the user who is adding the note
Parameters:
  noteText - text of the note NoteResponse containing relevant note information (author, noteId, timestamp, noteText)along with an error message (if any)



approve
public StandardResponse approve(String docId, String userId, String docTitle, String docContent, String annotation)(Code)
Approve the KEW document, in response to an approval action request.
Parameters:
  docId - KEW document id of the document to approve
Parameters:
  userId - netid of the user who is approving the document
Parameters:
  docTitle - title for this document
Parameters:
  docContent - xml content for this document
Parameters:
  annotation - a comment associated with this request StandardResponse including the standard set of return values



blanketApprove
public StandardResponse blanketApprove(String docId, String userId, String docTitle, String docContent, String annotation)(Code)
Blanket Approve the KEW document (all future approval requests will be satisfied), in response to an approval action request. Can only be performed by a super user.
Parameters:
  docId - KEW document id of the document to blanket approve
Parameters:
  userId - netid of the user who is blanket approving the document
Parameters:
  docTitle - title for this document
Parameters:
  docContent - xml content for this document
Parameters:
  annotation - a comment associated with this request StandardResponse including the standard set of return values



cancel
public StandardResponse cancel(String docId, String userId, String annotation)(Code)
Cancel the KEW document.
Parameters:
  docId - KEW document id of the document to cancel
Parameters:
  userId - netid of the user who is canceling the document
Parameters:
  annotation - a comment associated with this request StandardResponse including the standard set of return values



create
public DocumentResponse create(String initiatorId, String appDocId, String docType, String docTitle)(Code)
Create a KEW document.
Parameters:
  initiatorId - netid of the document initiator
Parameters:
  appDocId - application specific document id
Parameters:
  docType - KEW document type for the document to be created
Parameters:
  docTitle - title for this document DocumentResponse including the standard set of return values and the docId of the newly created document



deleteNote
public ErrorResponse deleteNote(String docId, String noteId, String userId)(Code)
Delete an existing note.
Parameters:
  docId - KEW document id of the document to delete the note from
Parameters:
  noteId - the id of the note to delete
Parameters:
  userId - netid of the user who is deleting the note ErrorResponse containing an error message if any



disapprove
public StandardResponse disapprove(String docId, String userId, String annotation)(Code)
Disapprove the KEW document, in response to an approval action request.
Parameters:
  docId - KEW document id of the document to disapprove
Parameters:
  userId - netid of the user who is disapproving the document
Parameters:
  annotation - a comment associated with this request StandardResponse including the standard set of return values



fyi
public StandardResponse fyi(String docId, String userId)(Code)
Clear an FYI request for this KEW document from the user's action list, in response to an FYI action request.
Parameters:
  docId - KEW document id of the document to acknowledge
Parameters:
  userId - netid of the user who is acknowledging the document StandardResponse including the standard set of return values



getDocument
public DocumentResponse getDocument(String docId, String userId)(Code)
Retrieve a KEW document based on the docId and userId passed in, and return the information about the document.
Parameters:
  docId - KEW document id of the document to retrieve information about
Parameters:
  userId - netid of the user to retrieve the document for DocumentResponse including the standard set of return values, the xml document content, the title, the action requested ( Approve, Aknowledge, Fyi, Complete ) and an array of Maps containing the following for each Note (author, noteId, timestamp, noteText).



isUserInRouteLog
public UserInRouteLogResponse isUserInRouteLog(String docId, String userId)(Code)
Check to see if the user is associated with this KEW document. Useful for security purposes (if return is False, user shouldn't be able to see the document unless it's public.)
Parameters:
  docId - KEW document id of the document to check
Parameters:
  userId - netid of the user to check UserInRouteLogResponse containing True/False for isUserInRouteLog and an error message ifa problem occured



requestAdHocAckToGroup
public StandardResponse requestAdHocAckToGroup(String docId, String userId, String recipientGroupId, String annotation)(Code)
Create an Adhoc Acknowledge request for another group for this KEW document. NOTE: Must make a subsequent call to route in order for the action request to be created. This allows the user to create multiple adhoc requests at the same time prior to routing.
Parameters:
  docId - KEW document id of the document to create the adhoc request for
Parameters:
  userId - netid of the user who is making this request
Parameters:
  recipientGroupId - workgroupId of the group to create this request for
Parameters:
  annotation - a comment associated with this request StandardResponse including the standard set of return values



requestAdHocAckToUser
public StandardResponse requestAdHocAckToUser(String docId, String userId, String recipientUserId, String annotation)(Code)
Create an Adhoc Acknowledge request for another user for this KEW document. NOTE: Must make a subsequent call to route in order for the action request to be created. This allows the user to create multiple adhoc requests at the same time prior to routing.
Parameters:
  docId - KEW document id of the document to create the adhoc request for
Parameters:
  userId - netid of the user who is making this request
Parameters:
  recipientUserId - netid of the user for whom the request is being created
Parameters:
  annotation - a comment associated with this request StandardResponse including the standard set of return values



requestAdHocApproveToGroup
public StandardResponse requestAdHocApproveToGroup(String docId, String userId, String recipientGroupId, String annotation)(Code)
Create an Adhoc Approval request for another group for this KEW document. NOTE: Must make a subsequent call to route in order for the action request to be created. This allows the user to create multiple adhoc requests at the same time prior to routing.
Parameters:
  docId - KEW document id of the document to create the adhoc request for
Parameters:
  userId - netid of the user who is making this request
Parameters:
  recipientGroupId - workgroupId of the group to create this request for
Parameters:
  annotation - a comment associated with this request StandardResponse including the standard set of return values



requestAdHocApproveToUser
public StandardResponse requestAdHocApproveToUser(String docId, String userId, String recipientUserId, String annotation)(Code)
Create an Adhoc Approval request for another user for this KEW document. NOTE: Must make a subsequent call to route in order for the action request to be created. This allows the user to create multiple adhoc requests at the same time prior to routing.
Parameters:
  docId - KEW document id of the document to create the adhoc request for
Parameters:
  userId - netid of the user who is making this request
Parameters:
  recipientUserId - netid of the user for whom the request is being created
Parameters:
  annotation - a comment associated with this request StandardResponse including the standard set of return values



requestAdHocFyiToGroup
public StandardResponse requestAdHocFyiToGroup(String docId, String userId, String recipientGroupId, String annotation)(Code)
Create an Adhoc FYI request for another group for this KEW document. NOTE: Must make a subsequent call to route in order for the action request to be created. This allows the user to create multiple adhoc requests at the same time prior to routing.
Parameters:
  docId - KEW document id of the document to create the adhoc request for
Parameters:
  userId - netid of the user who is making this request
Parameters:
  recipientGroupId - workgroupId of the group to create this request for
Parameters:
  annotation - a comment associated with this request StandardResponse including the standard set of return values



requestAdHocFyiToUser
public StandardResponse requestAdHocFyiToUser(String docId, String userId, String recipientUserId, String annotation)(Code)
Create an Adhoc FYI request for another user for this KEW document. NOTE: Must make a subsequent call to route in order for the action request to be created. This allows the user to create multiple adhoc requests at the same time prior to routing.
Parameters:
  docId - KEW document id of the document to create the adhoc request for
Parameters:
  userId - netid of the user who is making this request
Parameters:
  recipientUserId - netid of the user for whom the request is being created
Parameters:
  annotation - a comment associated with this request StandardResponse including the standard set of return values



returnToPreviousNode
public StandardResponse returnToPreviousNode(String docId, String userId, String annotation, String nodeName)(Code)
Return a KEW document to a previous route node. This method should be used with caution.
Parameters:
  docId - KEW document id of the document to return to a previous node
Parameters:
  userId - netid of the user who is requesting this action
Parameters:
  annotation - a comment associated with this request
Parameters:
  nodeName - name of the route node to return to StandardResponse including the standard set of return values



route
public StandardResponse route(String docId, String userId, String docTitle, String docContent, String annotation)(Code)
Route a KEW document.
Parameters:
  docId - KEW document id of the document to route
Parameters:
  userId - netid of the user who is routing the document
Parameters:
  docTitle - title for this document
Parameters:
  docContent - xml content for this document
Parameters:
  annotation - a comment associated with this request StandardResponse including the standard set of return values



save
public StandardResponse save(String docId, String userId, String docTitle, String annotation)(Code)
Save the KEW document, keeps it in the user's action list for completion later.
Parameters:
  docId - KEW document id of the document to save
Parameters:
  userId - netid of the user who is saving the document
Parameters:
  docTitle - title for this document
Parameters:
  annotation - a comment associated with this request StandardResponse including the standard set of return values



updateNote
public NoteResponse updateNote(String docId, String noteId, String userId, String noteText)(Code)
Update an existing note (possibly including a binary attachment) to this KEW document.
Parameters:
  docId - KEW document id of the document to update the note for
Parameters:
  noteId - the id of the note to update
Parameters:
  userId - netid of the user who is updating the note
Parameters:
  noteText - text of the note if changed NoteResponse containing relevant note information (author, noteId, timestamp, noteText)along with an error message (if any)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.