Java Doc for SimpleDocumentActionsWebServiceImpl.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) 


java.lang.Object
   edu.iu.uis.eden.server.SimpleDocumentActionsWebServiceImpl

SimpleDocumentActionsWebServiceImpl
public class SimpleDocumentActionsWebServiceImpl implements SimpleDocumentActionsWebService(Code)
Implementation of the SimpleDocumentActionsWebService
author:
   Bryan G. Hutchinson (bh79 at cornell dot edu)
author:
   ewestfal
author:
   Aaron Hamid (arh14 at cornell dot edu)




Method Summary
public  StandardResponseacknowledge(String docId, String userId, String annotation)
    
public  NoteResponseaddNote(String docId, String userId, String noteText)
     Add a note to this KEW document.
public  StandardResponseapprove(String docId, String userId, String docTitle, String docContent, String annotation)
    
public  StandardResponseblanketApprove(String docId, String userId, String docTitle, String docContent, String annotation)
    
  1. Create a WorkflowDocument based on the docId and userId passed in
  2. Set the docTitle and docContent if they are passed in
  3. Blanket Approve the document with the passed in annotation
  4. Return the standard set of return values
Blanket Approval means all future approval requests will be satisfied Can only be performed by a super user.
public  StandardResponsecancel(String docId, String userId, String annotation)
    
public  DocumentResponsecreate(String initiatorId, String appDocId, String docType, String docTitle)
    
public  ErrorResponsedeleteNote(String docId, String noteId, String userId)
     Delete an existing note.
public  StandardResponsedisapprove(String docId, String userId, String annotation)
    
public  StandardResponsefyi(String docId, String userId)
    
public  DocumentResponsegetDocument(String docId, String userId)
    
public  UserInRouteLogResponseisUserInRouteLog(String docId, String userId)
    
  1. Create a new WorkflowInfo object
  2. Call isUserAuthenticatedByRouteLog on the WorkflowInfo object to see if the user is in the route log
  3. Return True/False and an error message if any
Useful for security purposes (if return is False, user shouldn't be able to see the document unless it's public.) Call isUserAuthenticatedByRouteLog with true for the lookFuture parameter so that we will check future workflow requests as well as currently outstanding requests.
public  StandardResponserequestAdHocAckToGroup(String docId, String userId, String recipientGroupId, String annotation)
    
public  StandardResponserequestAdHocAckToUser(String docId, String userId, String recipientUserId, String annotation)
    
public  StandardResponserequestAdHocApproveToGroup(String docId, String userId, String recipientGroupId, String annotation)
    
public  StandardResponserequestAdHocApproveToUser(String docId, String userId, String recipientUserId, String annotation)
    
public  StandardResponserequestAdHocFyiToGroup(String docId, String userId, String recipientGroupId, String annotation)
    
public  StandardResponserequestAdHocFyiToUser(String docId, String userId, String recipientUserId, String annotation)
    
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)
    
public  StandardResponsesave(String docId, String userId, String docTitle, String annotation)
    
public  NoteResponseupdateNote(String docId, String noteId, String userId, String noteText)
     Update an existing note to this KEW document.



Method Detail
acknowledge
public StandardResponse acknowledge(String docId, String userId, String annotation)(Code)
  1. Create a WorkflowDocument based on the docId and userId passed in
  2. Acknowledge the document with the passed in annotation
  3. Return the standard set of return values.

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 Map including the standard set of return values
See Also:   edu.cornell.kew.service.CornellKewService.acknowledge(java.lang.Stringjava.lang.Stringjava.lang.String)



addNote
public NoteResponse addNote(String docId, String userId, String noteText)(Code)
Add a note 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 Map containing relevant note information (author, noteId, timestamp, noteText)along with an error message (if any)
See Also:   edu.cornell.kew.service.CornellKewService.addNote(java.lang.Stringjava.lang.Stringjava.lang.String)



approve
public StandardResponse approve(String docId, String userId, String docTitle, String docContent, String annotation)(Code)
  1. Create a WorkflowDocument based on the docId and userId passed in
  2. Set the docTitle and docContent if they are passed in
  3. Approve the document with the passed in annotation
  4. Return the standard set of return values

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 Map including the standard set of return values
See Also:   edu.cornell.kew.service.CornellKewService.approve(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String)



blanketApprove
public StandardResponse blanketApprove(String docId, String userId, String docTitle, String docContent, String annotation)(Code)
  1. Create a WorkflowDocument based on the docId and userId passed in
  2. Set the docTitle and docContent if they are passed in
  3. Blanket Approve the document with the passed in annotation
  4. Return the standard set of return values
Blanket Approval means all future approval requests will be satisfied 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 Map including the standard set of return values
See Also:   edu.cornell.kew.service.CornellKewService.blanketApprove(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String)



cancel
public StandardResponse cancel(String docId, String userId, String annotation)(Code)
  1. Create a WorkflowDocument based on the docId and userId passed in
  2. Cancel the document with the passed in annotation
  3. Return the standard set of return values

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 Map including the standard set of return values
See Also:   edu.cornell.kew.service.CornellKewService.cancel(java.lang.Stringjava.lang.Stringjava.lang.String)



create
public DocumentResponse create(String initiatorId, String appDocId, String docType, String docTitle)(Code)
  1. Create a WorkflowDocument with the docType and userId passed in
  2. Set the document title to be the docTitle that was passed in
  3. Save the Routing data (Route Header info)
  4. Return the standard set of return values and the docId of the newly created 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 Map including the standard set of return values and the docId of the newly created document
See Also:   edu.cornell.kew.service.CornellKewService.create(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String)



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 Map containing an error message if any
See Also:   edu.cornell.kew.service.CornellKewService.deleteNote(java.lang.Stringjava.lang.Stringjava.lang.String)



disapprove
public StandardResponse disapprove(String docId, String userId, String annotation)(Code)
  1. Create a WorkflowDocument based on the docId and userId passed in
  2. Disapprove the document with the passed in annotation
  3. Return the standard set of return values

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 Map including the standard set of return values
See Also:   edu.cornell.kew.service.CornellKewService.disapprove(java.lang.Stringjava.lang.Stringjava.lang.String)



fyi
public StandardResponse fyi(String docId, String userId)(Code)
  1. Create a WorkflowDocument based on the docId and userId passed in
  2. Clear the FYI request on the document
  3. Return the standard set of return values

Parameters:
  docId - KEW document id of the document to acknowledge
Parameters:
  userId - netid of the user who is acknowledging the document Map including the standard set of return values
See Also:   edu.cornell.kew.service.CornellKewService.fyi(java.lang.Stringjava.lang.String)



getDocument
public DocumentResponse getDocument(String docId, String userId)(Code)
  1. Create a WorkflowDocument based on the docId and userId passed in
  2. Get the document content and the action requested (Approve, Acknowledge, etc) of the user
  3. Return the standard set of return values, the docContent, the title, and the actionRequested

Parameters:
  docId - KEW document id of the document to retrieve information about
Parameters:
  userId - netid of the user to retrieve the document for Map including the standard set of return values, the xml document content,the action requested ( Approve, Aknowledge, Fyi, Complete ) and an array of Mapscontaining the following for each Note (author, noteId, timestamp, noteText).
See Also:   edu.cornell.kew.service.CornellKewService.getDocument(java.lang.Stringjava.lang.String)



isUserInRouteLog
public UserInRouteLogResponse isUserInRouteLog(String docId, String userId)(Code)
  1. Create a new WorkflowInfo object
  2. Call isUserAuthenticatedByRouteLog on the WorkflowInfo object to see if the user is in the route log
  3. Return True/False and an error message if any
Useful for security purposes (if return is False, user shouldn't be able to see the document unless it's public.) Call isUserAuthenticatedByRouteLog with true for the lookFuture parameter so that we will check future workflow requests as well as currently outstanding requests.
Parameters:
  docId - KEW document id of the document to check
Parameters:
  userId - netid of the user to check Map containing True/False for isUserInRouteLog and an error message ifa problem occured
See Also:   edu.cornell.kew.service.CornellKewService.isUserInRouteLog(java.lang.Stringjava.lang.String)



requestAdHocAckToGroup
public StandardResponse requestAdHocAckToGroup(String docId, String userId, String recipientGroupId, String annotation)(Code)
  1. Create a WorkflowDocument based on the docId and userId passed in
  2. Add the adhoc acknowlege request (app specific route) to the passed in group with the passed in annotation
  3. Return the standard set of return values

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 Map including the standard set of return values
See Also:   edu.cornell.kew.service.CornellKewService.requestAdHocAckToGroup(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String)



requestAdHocAckToUser
public StandardResponse requestAdHocAckToUser(String docId, String userId, String recipientUserId, String annotation)(Code)
  1. Create a WorkflowDocument based on the docId and userId passed in
  2. Add the adhoc acknowlege request (app specific route) to the passed in user with the passed in annotation
  3. Return the standard set of return values

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 Map including the standard set of return values
See Also:   edu.cornell.kew.service.CornellKewService.requestAdHocAckToUser(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String)



requestAdHocApproveToGroup
public StandardResponse requestAdHocApproveToGroup(String docId, String userId, String recipientGroupId, String annotation)(Code)
  1. Create a WorkflowDocument based on the docId and userId passed in
  2. Add the adhoc approve request (app specific route) to the passed in group with the passed in annotation
  3. Return the standard set of return values

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 Map including the standard set of return values
See Also:   edu.cornell.kew.service.CornellKewService.requestAdHocApproveToGroup(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String)



requestAdHocApproveToUser
public StandardResponse requestAdHocApproveToUser(String docId, String userId, String recipientUserId, String annotation)(Code)
  1. Create a WorkflowDocument based on the docId and userId passed in
  2. Add the adhoc approve request (app specific route) to the passed in user with the passed in annotation
  3. Return the standard set of return values

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 Map including the standard set of return values
See Also:   edu.cornell.kew.service.CornellKewService.requestAdHocApproveToUser(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String)



requestAdHocFyiToGroup
public StandardResponse requestAdHocFyiToGroup(String docId, String userId, String recipientGroupId, String annotation)(Code)
  1. Create a WorkflowDocument based on the docId and userId passed in
  2. Add the adhoc fyi request (app specific route) to the passed in group with the passed in annotation
  3. Return the standard set of return values

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 Map including the standard set of return values
See Also:   edu.cornell.kew.service.CornellKewService.requestAdHocFyiToGroup(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String)



requestAdHocFyiToUser
public StandardResponse requestAdHocFyiToUser(String docId, String userId, String recipientUserId, String annotation)(Code)
  1. Create a WorkflowDocument based on the docId and userId passed in
  2. Add the adhoc fyi request (app specific route) to the passed in user with the passed in annotation
  3. Return the standard set of return values

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 Map including the standard set of return values
See Also:   edu.cornell.kew.service.CornellKewService.requestAdHocFyiToUser(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String)



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:
  annotation - a comment associated with this request
Parameters:
  nodeName - name of the route node to return to Map including the standard set of return values
See Also:   edu.cornell.kew.service.CornellKewService.returnToPreviousNode(java.lang.Stringjava.lang.String)



route
public StandardResponse route(String docId, String userId, String docTitle, String docContent, String annotation)(Code)
  1. Create a WorkflowDocument based on the docId and userId passed in
  2. Set the docTitle and docContent if they are passed in
  3. Route the document with the passed in annotation
  4. Return the standard set of return values.

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 Map including the standard set of return values
See Also:   edu.cornell.kew.service.CornellKewService.route(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String)



save
public StandardResponse save(String docId, String userId, String docTitle, String annotation)(Code)
  1. Create a WorkflowDocument based on the docId and userId passed in
  2. Set the docTitle if it was passed in
  3. Save the document with the passed in annotation (keep in user's action list)
  4. Return the standard set of return values.

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 Map including the standard set of return values
See Also:   edu.cornell.kew.service.CornellKewService.save(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String)



updateNote
public NoteResponse updateNote(String docId, String noteId, String userId, String noteText)(Code)
Update an existing note 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 Map containing relevant note information (author, noteId, timestamp, noteText)along with an error message (if any)
See Also:   edu.cornell.kew.service.CornellKewService.updateNote(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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