Java Doc for WorkflowUtilities.java in  » Workflow-Engines » obe-1.0 » org » obe » util » 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 » Workflow Engines » obe 1.0 » org.obe.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.obe.util.WorkflowUtilities

WorkflowUtilities
final public class WorkflowUtilities (Code)
Utility class for searching activity/workflow/package for settings and definitions.
author:
   Anthony Eden
author:
   Adrian Price




Method Summary
public static  ActivityfindActivity(WorkflowProcess workflow, String activityId)
     Finds an activity within a workflow process definition.
Parameters:
  workflow - The workflow process definition to search.
Parameters:
  activityId - The activity ID.
public static  intfindActivityPriority(Activity activity)
     Finds the priority to assign to an activity.
public static  ParameterModefindParameterMode(Application app, String paramName)
     Gets the ParameterMode for the named parameter in the given application.
public static  ParticipantfindParticipant(WorkflowProcess wp, String participantId)
     Finds the Participant with the specified ID in the given workflow or package.
Parameters:
  wp - The workflow process definition.
Parameters:
  participantId - The participant ID.
public static  Participant[]findParticipants(WorkflowProcess wp, String particips)
     Find the Participants with the specified IDs in the given workflow or package.
Parameters:
  wp - The workflow process definition.
Parameters:
  particips - The participant ID(s).
public static  ApplicationfindToolDefinition(WorkflowProcess wp, String toolId)
     Finds the definition of the specified tool in a workflow or package.
Parameters:
  wp - The WorkflowProcess to search.
Parameters:
  toolId - The ID of the tool for which the definition is required.
public static  TypeDeclarationfindTypeDeclaration(XPDLPackage pkg, String declaredTypeId)
     Finds a type declaration within a package.
Parameters:
  pkg - The package to search.
Parameters:
  declaredTypeId - The ID of the declared type.
public static  intfindWorkflowPriority(WorkflowProcess workflow)
     Finds the workflow priority from the workflow or its package.
Parameters:
  workflow - The workflow definition to search.
public static  WorkflowProcessfindWorkflowProcess(XPDLPackage pkg, String processDefinitionId)
     Finds a workflow definition within a package.
Parameters:
  pkg - The package to search.
Parameters:
  processDefinitionId - The ID of the process definition required.
public static  String[]getResponsibles(WorkflowProcess workflow)
    



Method Detail
findActivity
public static Activity findActivity(WorkflowProcess workflow, String activityId) throws WMInvalidActivityNameException(Code)
Finds an activity within a workflow process definition.
Parameters:
  workflow - The workflow process definition to search.
Parameters:
  activityId - The activity ID. The activity definition.
throws:
  WMInvalidActivityNameException - if the activity was not found.



findActivityPriority
public static int findActivityPriority(Activity activity)(Code)
Finds the priority to assign to an activity. The priority is taken from the activity itself if defined therein, or from its associated workflow priority if not.
Parameters:
  activity - The activity definition. The activity priority.



findParameterMode
public static ParameterMode findParameterMode(Application app, String paramName) throws FormalParameterNotFoundException(Code)
Gets the ParameterMode for the named parameter in the given application.
Parameters:
  app - The Application
Parameters:
  paramName - The parameter name The ParameterMode
throws:
  FormalParameterNotFoundException - If the named parameter couldbe found.



findParticipant
public static Participant findParticipant(WorkflowProcess wp, String participantId) throws WMInvalidTargetUserException(Code)
Finds the Participant with the specified ID in the given workflow or package.
Parameters:
  wp - The workflow process definition.
Parameters:
  participantId - The participant ID. This can be a comma-separatedlist if there are two or more participants. The participant definition.
throws:
  WMInvalidTargetUserException - if any of the participants couldnot be located.



findParticipants
public static Participant[] findParticipants(WorkflowProcess wp, String particips) throws WMInvalidTargetUserException(Code)
Find the Participants with the specified IDs in the given workflow or package.
Parameters:
  wp - The workflow process definition.
Parameters:
  particips - The participant ID(s). This can be a comma-separatedlist if there are two or more participants. The participant definition.
throws:
  WMInvalidTargetUserException - if any of the participants couldnot be located.



findToolDefinition
public static Application findToolDefinition(WorkflowProcess wp, String toolId) throws WMInvalidToolException(Code)
Finds the definition of the specified tool in a workflow or package.
Parameters:
  wp - The WorkflowProcess to search.
Parameters:
  toolId - The ID of the tool for which the definition is required. The tool definition.
throws:
  WMInvalidToolException - if the tool definition could not belocated.



findTypeDeclaration
public static TypeDeclaration findTypeDeclaration(XPDLPackage pkg, String declaredTypeId) throws WMInvalidProcessDefinitionException(Code)
Finds a type declaration within a package.
Parameters:
  pkg - The package to search.
Parameters:
  declaredTypeId - The ID of the declared type. The type declaration.
throws:
  WMInvalidProcessDefinitionException - if the type declaration couldnot be found.



findWorkflowPriority
public static int findWorkflowPriority(WorkflowProcess workflow)(Code)
Finds the workflow priority from the workflow or its package.
Parameters:
  workflow - The workflow definition to search. The workflow or package priority.



findWorkflowProcess
public static WorkflowProcess findWorkflowProcess(XPDLPackage pkg, String processDefinitionId) throws WMInvalidProcessDefinitionException(Code)
Finds a workflow definition within a package.
Parameters:
  pkg - The package to search.
Parameters:
  processDefinitionId - The ID of the process definition required. The process definition.
throws:
  WMInvalidProcessDefinitionException - if the process definitioncould not be found in the package.



getResponsibles
public static String[] getResponsibles(WorkflowProcess workflow)(Code)



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.