Java Doc for WorkflowInfo.java in  » ERP-CRM-Financial » Kuali-Financial-System » edu » iu » uis » eden » clientapp » 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.clientapp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   edu.iu.uis.eden.clientapp.WorkflowInfo

WorkflowInfo
public class WorkflowInfo implements java.io.Serializable(Code)
Convenience class for client applications to query workflow. This class is one of two (Java) client interfaces to the KEW system (the other being WorkflowDocument class).

The first time an instance of this class is created, it will read the client configuration to determine how to connect to KEW. To use this API, simply create a new instance using the empty constructor.
author:
   rkirkend
author:
   ewestfal





Method Summary
public  booleandocumentWillHaveAtLeastOneActionRequest(ReportCriteriaVO reportCriteriaVO, String[] actionRequestedCodes)
    
public  ActionRequestVO[]getActionRequests(Long routeHeaderId)
    
public  ActionRequestVO[]getActionRequests(Long routeHeaderId, String nodeName, UserIdVO userId)
     Returns the pending action requests of the document of the specified id for the specified user and/or the specified node name.
public  ActionTakenVO[]getActionsTaken(Long routeHeaderId)
    
public  RouteNodeInstanceVO[]getActiveNodeInstances(Long routeHeaderId)
     Returns all active node instances on the document.
public  DocumentTypeVOgetDocType(Long documentTypeId)
    
public  DocumentTypeVOgetDocType(String documentTypeName)
    
public  DocumentContentVOgetDocumentContent(Long routeHeaderId)
    
public  DocumentDetailVOgetDocumentDetail(Long documentId)
     Returns a document detail VO representing the route header along with action requests, actions taken, and route node instances.
public  RouteNodeInstanceVO[]getDocumentRouteNodeInstances(Long routeHeaderId)
     Returns the route node instances that have been created so far during the life of the specified document.
public  LonggetNewResponsibilityId()
    
public  RouteNodeInstanceVOgetNodeInstance(Long nodeInstanceId)
    
public  String[]getPreviousRouteNodeNames(Long documentId)
    
public  RouteTemplateEntryVO[]getRoute(String documentTypeName)
    
public  RouteHeaderVOgetRouteHeader(UserIdVO userId, Long routeHeaderId)
    
public  RouteHeaderVOgetRouteHeader(Long documentId)
    
public  RouteNodeInstanceVO[]getTerminalNodeInstances(Long routeHeaderId)
     Returns all node instances on the document which have no successor.
public  WorkgroupVO[]getUserWorkgroups(UserIdVO userId)
     Returns an array of workgroups the specified user is in.
public  UserVOgetWorkflowUser(UserIdVO userId)
    
public  WorkgroupVOgetWorkgroup(WorkgroupIdVO workgroupId)
    
public  WorkgroupVOgetWorkgroup(String workgroupName)
    
public  WorkgroupVOgetWorkgroup(Long workgroupId)
    
public  booleanisFinalApprover(Long routeHeaderId, UserIdVO userId)
    
protected  booleanisLastApproverAtNode(Long routeHeaderId, UserIdVO userId, String nodeName)
    
protected  booleanisLastApproverInRouteLevel(Long routeHeaderId, UserIdVO userId, Integer routeLevel)
    
public  booleanisUserAuthenticatedByRouteLog(Long routeHeaderId, UserIdVO userId, boolean lookFuture)
    
public  voidreResolveRole(String documentTypeName, String roleName, String qualifiedRoleNameLabel)
     Re-resolves the specified role on the document, and refreshes any pending action requests.
public  voidreResolveRole(Long documentId, String roleName, String qualifiedRoleNameLabel)
     Re-resolves the specified role on the document, and refreshes any pending action requests.
protected  booleanrouteLevelHasApproverActionRequest(String docType, String docContent, Integer routeLevel)
    
protected  booleanrouteNodeHasApproverActionRequest(String docType, String docContent, String nodeName)
    
public  DocumentDetailVOroutingReport(ReportCriteriaVO reportCriteria)
    
public  RuleVO[]ruleReport(RuleReportCriteriaVO ruleReportCriteria)
     Runs a "rule report" give a rule report criteria.
public  WorkflowAttributeValidationErrorVO[]validAttributeDefinition(WorkflowAttributeDefinitionVO attributeDefinition)
     Validate the WorkflowAttributeDefinition against it's attribute on the server.



Method Detail
documentWillHaveAtLeastOneActionRequest
public boolean documentWillHaveAtLeastOneActionRequest(ReportCriteriaVO reportCriteriaVO, String[] actionRequestedCodes) throws WorkflowException(Code)
Checks whether a document would product at least one action request under the specified criteria
Parameters:
  reportCriteriaVO - criteria under which to perform the check
Parameters:
  actionRequestedCodes - the types of action requests to check for whether a document would product at least one action request under the specified criteria
throws:
  WorkflowException - if an error occurs
See Also:   WorkflowUtility.documentWillHaveAtLeastOneActionRequest(ReportCriteriaVOString[])



getActionRequests
public ActionRequestVO[] getActionRequests(Long routeHeaderId) throws WorkflowException(Code)
Returns the pending action requests of the document of the specified id
Parameters:
  routeHeaderId - the id of the document whose action requests will be retrieved the pending action requests of the document of the specified id
throws:
  WorkflowException - if an error occurs obtaining the documents action requests
See Also:   WorkflowUtility.getActionRequests(Long)



getActionRequests
public ActionRequestVO[] getActionRequests(Long routeHeaderId, String nodeName, UserIdVO userId) throws WorkflowException(Code)
Returns the pending action requests of the document of the specified id for the specified user and/or the specified node name. If both user and node name are empty then will return all pending action requests.
Parameters:
  routeHeaderId - the id of the document whose action requests will be retrieved
Parameters:
  nodeName - the node name of the requests to be retrieved
Parameters:
  userId - the user that the requests would be satisfied by the pending action requests of the document of the specified id
throws:
  WorkflowException - if an error occurs obtaining the documents action requests
See Also:   WorkflowUtility.getActionRequests(Long)



getActionsTaken
public ActionTakenVO[] getActionsTaken(Long routeHeaderId) throws WorkflowException(Code)
Returns the actions taken on the document of the specified id
Parameters:
  routeHeaderId - the id of the document whose actions taken will be retrieved the actions taken on the document of the specified id
throws:
  WorkflowException - if an error occurs obtaining the actions taken
See Also:   WorkflowUtility.getActionsTaken(Long)



getActiveNodeInstances
public RouteNodeInstanceVO[] getActiveNodeInstances(Long routeHeaderId) throws WorkflowException(Code)
Returns all active node instances on the document.
Parameters:
  routeHeaderId - id of the document whose active node instances should be returned all active node instances on the document
throws:
  WorkflowException - if there is an error obtaining the currently active nodes on the document
See Also:   WorkflowUtility.getActiveNodeInstances(Long)



getDocType
public DocumentTypeVO getDocType(Long documentTypeId) throws WorkflowException(Code)
Returns the DocumentType of the document with the specified id
Parameters:
  documentTypeId - the id of the document whose document type we should return the DocumentTypeVO of the document with the specified id
throws:
  WorkflowException - if an error occurs obtaining the document type
See Also:   WorkflowUtility.getDocumentType(Long)



getDocType
public DocumentTypeVO getDocType(String documentTypeName) throws WorkflowException(Code)
Returns the DocumentType of the document type with the specified name
Parameters:
  documentTypeName - the name of the document type whose DocumentType we should return the DocumentTypeVO of the document type with the specified name
throws:
  WorkflowException - if an error occurs obtaining the document type
See Also:   WorkflowUtility.getDocumentTypeByName(String)



getDocumentContent
public DocumentContentVO getDocumentContent(Long routeHeaderId) throws WorkflowException(Code)
Returns the document content VO of the specified document
Parameters:
  routeHeaderId - the id of the document whose content should be returned the document content VO of the specified document
throws:
  WorkflowException - if an error occurs obtaining the document content
See Also:   WorkflowUtility.getDocumentContent(Long)



getDocumentDetail
public DocumentDetailVO getDocumentDetail(Long documentId) throws WorkflowException(Code)
Returns a document detail VO representing the route header along with action requests, actions taken, and route node instances.
Parameters:
  documentId - id of the document whose details should be returned Returns a document detail VO representing the route header along with action requests, actions taken, and route node instances.
throws:
  WorkflowException -
See Also:   WorkflowUtility.getDocumentDetail(Long)



getDocumentRouteNodeInstances
public RouteNodeInstanceVO[] getDocumentRouteNodeInstances(Long routeHeaderId) throws WorkflowException(Code)
Returns the route node instances that have been created so far during the life of the specified document. This includes all previous instances which have already been processed and are no longer active.
Parameters:
  routeHeaderId - the id of the document whose route node instances should be returned the route node instances that have been created so far during the life of this document
throws:
  WorkflowException - if there is an error getting the route node instances for the document
See Also:   WorkflowUtility.getDocumentRouteNodeInstances(Long)



getNewResponsibilityId
public Long getNewResponsibilityId() throws WorkflowException(Code)
Returns a new unique id to be used as a responsibility id a new unique id to be used as a responsibility id
throws:
  WorkflowException - if an error occurs obtaining a new responsibility id
See Also:   WorkflowUtility.getNewResponsibilityId



getNodeInstance
public RouteNodeInstanceVO getNodeInstance(Long nodeInstanceId) throws WorkflowException(Code)
Returns a node instance of the specified note instance id
Parameters:
  nodeInstanceId - the id of the node instance to return a node instance of the specified note instance id
throws:
  WorkflowException - if an error occurs obtaining the node instance
See Also:   WorkflowUtility.getNodeInstance(Long)



getPreviousRouteNodeNames
public String[] getPreviousRouteNodeNames(Long documentId) throws RemoteException, WorkflowException(Code)
Returns names of nodes already traversed
Parameters:
  documentId - id of the document to check names of nodes already traversed
throws:
  RemoteException - if an error occurs
throws:
  WorkflowException - if an error occurs
See Also:   WorkflowUtility.getPreviousRouteNodeNames(Long)
See Also:   TODO: RemoteException not thrown



getRoute
public RouteTemplateEntryVO[] getRoute(String documentTypeName) throws WorkflowException(Code)



getRouteHeader
public RouteHeaderVO getRouteHeader(UserIdVO userId, Long routeHeaderId) throws WorkflowException(Code)
Returns the RouteHeaderVO of the specified document for the specified user
Parameters:
  userId - userId as whom to obtain the route header VO
Parameters:
  routeHeaderId - the id of the document whose route header VO to obtain the RouteHeaderVO of the specified document for the specified user
throws:
  WorkflowException - if an error occurs obtaining the route header VO
See Also:   WorkflowUtility.getRouteHeaderWithUser(UserIdVOLong)



getRouteHeader
public RouteHeaderVO getRouteHeader(Long documentId) throws WorkflowException(Code)
Returns the RouteHeaderVO of the specified document
Parameters:
  routeHeaderId - the id of the document whose route header VO to obtain the RouteHeaderVO of the specified document
throws:
  WorkflowException - if an error occurs obtaining the route header VO
See Also:   WorkflowUtility.getRouteHeader(Long)



getTerminalNodeInstances
public RouteNodeInstanceVO[] getTerminalNodeInstances(Long routeHeaderId) throws WorkflowException(Code)
Returns all node instances on the document which have no successor.
Parameters:
  routeHeaderId - id of the document whose terminal node instances should be returned all terminal node instances of the document
throws:
  WorkflowException - if there is an error obtaining the terminal node instances on the document
See Also:   WorkflowUtility.getTerminalNodeInstances(Long)



getUserWorkgroups
public WorkgroupVO[] getUserWorkgroups(UserIdVO userId) throws WorkflowException(Code)
Returns an array of workgroups the specified user is in.
Parameters:
  userId - the id of the user whose workgroups we are to return an array of workgroups the specified user is in
throws:
  WorkflowException - if an error occurs obtaining the user's workgroups
See Also:   WorkflowUtility.getUserWorkgroups(UserIdVO)



getWorkflowUser
public UserVO getWorkflowUser(UserIdVO userId) throws WorkflowException(Code)
Returns the UserVO given a user id
Parameters:
  userId - id of the user to obtain the UserVO given a user id
throws:
  WorkflowException - if an error occurs obtaining the user
See Also:   WorkflowUtility.getWorkflowUser(UserIdVO)



getWorkgroup
public WorkgroupVO getWorkgroup(WorkgroupIdVO workgroupId) throws WorkflowException(Code)
Returns the WorkgroupVO given a workgroup id
Parameters:
  workgroupId - id of the workgroup to obtain the WorkgroupVO given a workgroup id
throws:
  WorkflowException - if an error occurs obtaining the workgroup
See Also:   WorkflowUtility.getWorkgroup(WorkgroupIdVO)



getWorkgroup
public WorkgroupVO getWorkgroup(String workgroupName) throws WorkflowException(Code)



getWorkgroup
public WorkgroupVO getWorkgroup(Long workgroupId) throws WorkflowException(Code)



isFinalApprover
public boolean isFinalApprover(Long routeHeaderId, UserIdVO userId) throws WorkflowException(Code)
Returns whether the specified user is the final approver for the document
Parameters:
  routeHeaderId - the id of document to check
Parameters:
  userId - the id of the user to check whether the specified user is the final approver for the document
throws:
  WorkflowException - if an error occurs determining whether the user is the final approver on the document
See Also:   WorkflowUtility.isFinalApprover(LongUserIdVO)



isLastApproverAtNode
protected boolean isLastApproverAtNode(Long routeHeaderId, UserIdVO userId, String nodeName) throws WorkflowException(Code)
Returns whether the specified user is the last approver at the specified node name
Parameters:
  routeHeaderId - the id of document to check
Parameters:
  userId - the id of the user to check
Parameters:
  nodeName - name of node to check whether the specified user is the last approver at the specified node name
throws:
  WorkflowException - if an error occurs determining whether the user is the last approver at the specified node
See Also:   WorkflowUtility.isLastApproverAtNode(LongUserIdVOString)



isLastApproverInRouteLevel
protected boolean isLastApproverInRouteLevel(Long routeHeaderId, UserIdVO userId, Integer routeLevel) throws WorkflowException(Code)
WorkflowInfo.isLastApproverAtNode(Long,UserIdVO,String)



isUserAuthenticatedByRouteLog
public boolean isUserAuthenticatedByRouteLog(Long routeHeaderId, UserIdVO userId, boolean lookFuture) throws WorkflowException(Code)
Returns whether the user is in the document's route log (whether an action request has been, or may be, generated for the user)
Parameters:
  routeHeaderId - the id of the document to analyze
Parameters:
  userId - the id of the user to check
Parameters:
  lookFuture - whether to evaluate potential future requests whether the user is in the document's route log
throws:
  WorkflowException - if an error occurs determining whether the user is in the document's route log
See Also:   WorkflowUtility.isUserInRouteLog(LongUserIdVOboolean)



reResolveRole
public void reResolveRole(String documentTypeName, String roleName, String qualifiedRoleNameLabel) throws WorkflowException(Code)
Re-resolves the specified role on the document, and refreshes any pending action requests.
Parameters:
  documentTypeName - the type of the document for which to re-resolve roles
Parameters:
  roleName - the role name to re-resolve
Parameters:
  qualifiedRoleNameLabel - the qualified role name label
throws:
  WorkflowException - if an error occurs re-resolving the role
See Also:   WorkflowUtility.reResolveRole(StringStringString)



reResolveRole
public void reResolveRole(Long documentId, String roleName, String qualifiedRoleNameLabel) throws WorkflowException(Code)
Re-resolves the specified role on the document, and refreshes any pending action requests.
Parameters:
  documentId - the id of the document for which to re-resolve roles
Parameters:
  roleName - the role name to re-resolve
Parameters:
  qualifiedRoleNameLabel - the qualified role name label
throws:
  WorkflowException - if an error occurs re-resolving the role
See Also:   WorkflowUtility.reResolveRoleByDocumentId(LongStringString)



routeLevelHasApproverActionRequest
protected boolean routeLevelHasApproverActionRequest(String docType, String docContent, Integer routeLevel) throws WorkflowException(Code)
WorkflowInfo.routeNodeHasApproverActionRequest(String,String,String)



routeNodeHasApproverActionRequest
protected boolean routeNodeHasApproverActionRequest(String docType, String docContent, String nodeName) throws WorkflowException(Code)
Returns whether the specified node on the specified document type would produce approve or complete requests
Parameters:
  docType - the type of the document to check
Parameters:
  docContent - the content to use
Parameters:
  nodeName - the node to check whether the specified node on the specified document type would produce approve or complete requests
throws:
  WorkflowException - if an error occurs
See Also:   WorkflowUtility.routeNodeHasApproverActionRequest(StringStringString)



routingReport
public DocumentDetailVO routingReport(ReportCriteriaVO reportCriteria) throws WorkflowException(Code)
Runs a "routing report"
Parameters:
  reportCriteria - routing report criteria DocumentDetailVO detailing the actionrequests that would be generated under the specified criteria
See Also:   WorkflowUtility.routingReport(ReportCriteriaVO)



ruleReport
public RuleVO[] ruleReport(RuleReportCriteriaVO ruleReportCriteria) throws WorkflowException(Code)
Runs a "rule report" give a rule report criteria.
Parameters:
  ruleReportCriteria - the criteria for the rule report an array of RuleVO representing rules that will fire under the specified criteria
See Also:   WorkflowUtility.ruleReport(RuleReportCriteriaVO)



validAttributeDefinition
public WorkflowAttributeValidationErrorVO[] validAttributeDefinition(WorkflowAttributeDefinitionVO attributeDefinition) throws WorkflowException(Code)
Validate the WorkflowAttributeDefinition against it's attribute on the server. This will validate the inputs that will eventually become xml. Only applies to attributes implementing WorkflowAttributeXmlValidator.
Parameters:
  attributeDefinition - the attribute definition to validate WorkflowAttributeValidationErrorVO[] of error from the attribute
throws:
  WorkflowException - when attribute doesn't implement WorkflowAttributeXmlValidator
See Also:   WorkflowUtility.validateWorkflowAttributeDefinitionVO(WorkflowAttributeDefinitionVO)



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.