Java Doc for WorkflowDescriptor.java in  » Workflow-Engines » OSWorkflow » com » opensymphony » workflow » loader » 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 » OSWorkflow » com.opensymphony.workflow.loader 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.opensymphony.workflow.loader.AbstractDescriptor
      com.opensymphony.workflow.loader.WorkflowDescriptor

WorkflowDescriptor
public class WorkflowDescriptor extends AbstractDescriptor implements Validatable(Code)
Describes a single workflow
author:
   Pat Lightbody


Field Summary
final public static  StringDOCTYPE_DECL
    
final public static  StringXML_HEADER
    
protected  MapcommonActions
    
protected  ListcommonActionsList
    
protected  ListglobalActions
    
protected  ConditionsDescriptorglobalConditions
    
protected  ListinitialActions
    
protected  Listjoins
    
protected  MapmetaAttributes
    
protected  Listregisters
    
protected  Listsplits
    
protected  Liststeps
    
protected  MaptimerFunctions
    
protected  StringworkflowName
    

Constructor Summary
public  WorkflowDescriptor()
    
public  WorkflowDescriptor(Element root)
    

Method Summary
public  voidaddCommonAction(ActionDescriptor descriptor)
    
public  voidaddGlobalAction(ActionDescriptor descriptor)
    
public  voidaddInitialAction(ActionDescriptor descriptor)
    
public  voidaddJoin(JoinDescriptor descriptor)
    
public  voidaddSplit(SplitDescriptor descriptor)
    
public  voidaddStep(StepDescriptor descriptor)
    
public  ActionDescriptorgetAction(int id)
    
public  MapgetCommonActions()
    
public  ListgetGlobalActions()
    
public  ConditionsDescriptorgetGlobalConditions()
    
public  ActionDescriptorgetInitialAction(int id)
    
public  ListgetInitialActions()
    
public  JoinDescriptorgetJoin(int id)
    
public  ListgetJoins()
    
public  MapgetMetaAttributes()
    
public  StringgetName()
    
public  ListgetRegisters()
    
public  SplitDescriptorgetSplit(int id)
    
public  ListgetSplits()
    
public  StepDescriptorgetStep(int id)
    
public  ListgetSteps()
    
public  FunctionDescriptorgetTriggerFunction(int id)
    
public  MapgetTriggerFunctions()
    
protected  voidinit(Element root)
    
public  booleanremoveAction(ActionDescriptor actionToRemove)
     Remove an action from this workflow completely.
public  voidsetName(String name)
    
public  FunctionDescriptorsetTriggerFunction(int id, FunctionDescriptor descriptor)
    
public  voidvalidate()
    
public  voidwriteXML(PrintWriter out, int indent)
    

Field Detail
DOCTYPE_DECL
final public static String DOCTYPE_DECL(Code)



XML_HEADER
final public static String XML_HEADER(Code)



commonActions
protected Map commonActions(Code)



commonActionsList
protected List commonActionsList(Code)



globalActions
protected List globalActions(Code)



globalConditions
protected ConditionsDescriptor globalConditions(Code)



initialActions
protected List initialActions(Code)



joins
protected List joins(Code)



metaAttributes
protected Map metaAttributes(Code)



registers
protected List registers(Code)



splits
protected List splits(Code)



steps
protected List steps(Code)



timerFunctions
protected Map timerFunctions(Code)



workflowName
protected String workflowName(Code)




Constructor Detail
WorkflowDescriptor
public WorkflowDescriptor()(Code)
DescriptorFactory



WorkflowDescriptor
public WorkflowDescriptor(Element root)(Code)
DescriptorFactory




Method Detail
addCommonAction
public void addCommonAction(ActionDescriptor descriptor)(Code)
Add a common action
Parameters:
  descriptor - The action descriptor to add
throws:
  IllegalArgumentException - if the descriptor's ID already exists in the workflow



addGlobalAction
public void addGlobalAction(ActionDescriptor descriptor)(Code)
Add a global action
Parameters:
  descriptor - The action descriptor to add
throws:
  IllegalArgumentException - if the descriptor's ID already exists in the workflow



addInitialAction
public void addInitialAction(ActionDescriptor descriptor)(Code)
Add an initial action
Parameters:
  descriptor - The action descriptor to add
throws:
  IllegalArgumentException - if the descriptor's ID already exists in the workflow



addJoin
public void addJoin(JoinDescriptor descriptor)(Code)
Add a join
Parameters:
  descriptor - The join descriptor to add
throws:
  IllegalArgumentException - if the descriptor's ID already exists in the workflow



addSplit
public void addSplit(SplitDescriptor descriptor)(Code)
Add a split
Parameters:
  descriptor - The split descriptor to add
throws:
  IllegalArgumentException - if the descriptor's ID already exists in the workflow



addStep
public void addStep(StepDescriptor descriptor)(Code)
Add a step
Parameters:
  descriptor - The step descriptor to add
throws:
  IllegalArgumentException - if the descriptor's ID already exists in the workflow



getAction
public ActionDescriptor getAction(int id)(Code)



getCommonActions
public Map getCommonActions()(Code)
Get a Map of the common actions specified, keyed on actionId (an Integer) A list of ActionDescriptor objects



getGlobalActions
public List getGlobalActions()(Code)
Get a List of the global actions specified A list of ActionDescriptor objects



getGlobalConditions
public ConditionsDescriptor getGlobalConditions()(Code)



getInitialAction
public ActionDescriptor getInitialAction(int id)(Code)



getInitialActions
public List getInitialActions()(Code)
Get a List of initial steps for this workflow A list of ActionDescriptor objects



getJoin
public JoinDescriptor getJoin(int id)(Code)



getJoins
public List getJoins()(Code)
Get a List of initial steps for this workflow A list of JoinDescriptor objects



getMetaAttributes
public Map getMetaAttributes()(Code)



getName
public String getName()(Code)



getRegisters
public List getRegisters()(Code)



getSplit
public SplitDescriptor getSplit(int id)(Code)



getSplits
public List getSplits()(Code)
Get a List of initial steps for this workflow A list of SplitDescriptor objects



getStep
public StepDescriptor getStep(int id)(Code)



getSteps
public List getSteps()(Code)
Get a List of steps in this workflow a List of StepDescriptor objects



getTriggerFunction
public FunctionDescriptor getTriggerFunction(int id)(Code)



getTriggerFunctions
public Map getTriggerFunctions()(Code)
Get a Map of all trigger functions in this workflow a Map with Integer keys and FunctionDescriptor values



init
protected void init(Element root)(Code)



removeAction
public boolean removeAction(ActionDescriptor actionToRemove)(Code)
Remove an action from this workflow completely.

This method will check global actions and all steps. true if the action was successfully removed, false if it was not found




setName
public void setName(String name)(Code)



setTriggerFunction
public FunctionDescriptor setTriggerFunction(int id, FunctionDescriptor descriptor)(Code)
Update a trigger function
Parameters:
  id - The id for the trigger function
Parameters:
  descriptor - The descriptor for the trigger function The old trigger function with the specified ID, if any existed



validate
public void validate() throws InvalidWorkflowDescriptorException(Code)



writeXML
public void writeXML(PrintWriter out, int indent)(Code)



Methods inherited from com.opensymphony.workflow.loader.AbstractDescriptor
public String asXML()(Code)(Java Doc)
public int getEntityId()(Code)(Java Doc)
public int getId()(Code)(Java Doc)
public AbstractDescriptor getParent()(Code)(Java Doc)
public boolean hasId()(Code)(Java Doc)
public void setEntityId(int entityId)(Code)(Java Doc)
public void setId(int id)(Code)(Java Doc)
public void setParent(AbstractDescriptor parent)(Code)(Java Doc)

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.