Java Doc for ProcessDefinition.java in  » Workflow-Engines » jbpm-jpdl-3.2.2 » org » jbpm » graph » def » 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 » jbpm jpdl 3.2.2 » org.jbpm.graph.def 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jbpm.graph.def.GraphElement
      org.jbpm.graph.def.ProcessDefinition

ProcessDefinition
public class ProcessDefinition extends GraphElement implements NodeCollection(Code)


Field Summary
protected  Mapactions
    
protected  Mapdefinitions
    
protected  booleanisTerminationImplicit
    
protected  Listnodes
    
transient  MapnodesMap
    
protected  NodestartState
    
final public static  String[]supportedEventTypes
    
protected  intversion
    

Constructor Summary
public  ProcessDefinition()
    
public  ProcessDefinition(String name)
    
public  ProcessDefinition(String[] nodes, String[] transitions)
    

Method Summary
public  ActionaddAction(Action action)
     creates a bidirectional relation between this process definition and the given action.
public  ModuleDefinitionaddDefinition(ModuleDefinition moduleDefinition)
    
public  NodeaddNode(Node node)
    
static  booleancontainsName(List nodes, String name)
    
public  ObjectcreateInstance()
    
public static  ProcessDefinitioncreateNewProcessDefinition()
    
public  ProcessInstancecreateProcessInstance()
    
public  ProcessInstancecreateProcessInstance(Map variables)
    
public  ProcessInstancecreateProcessInstance(Map variables, String businessKey)
    
public  NodefindNode(String hierarchicalName)
    
public static  NodefindNode(NodeCollection nodeCollection, String hierarchicalName)
    
public  StringgenerateNodeName()
    
public static  StringgenerateNodeName(List nodes)
    
public  ActiongetAction(String name)
    
public  MapgetActions()
    
public  ContextDefinitiongetContextDefinition()
    
public  ModuleDefinitiongetDefinition(Class clazz)
    
public  MapgetDefinitions()
    
public  FileDefinitiongetFileDefinition()
    
public  NodegetNode(String name)
    
public  ListgetNodes()
    
public  MapgetNodesMap()
    
public  GraphElementgetParent()
    
public  NodegetStartState()
    
public  String[]getSupportedEventTypes()
    
public  TaskMgmtDefinitiongetTaskMgmtDefinition()
    
public  intgetVersion()
    
public  booleanhasActions()
    
public  booleanhasNode(String name)
    
public  booleanisTerminationImplicit()
    
public static  ProcessDefinitionparseParResource(String parResource)
     parse a process definition from a process archive resource.
public static  ProcessDefinitionparseParZipInputStream(ZipInputStream zipInputStream)
     parse a process definition from a process archive zip-stream.
public static  ProcessDefinitionparseXmlInputStream(InputStream inputStream)
     parse a process definition from an xml input stream.
public static  ProcessDefinitionparseXmlReader(Reader reader)
     parse a process definition from an xml reader.
public static  ProcessDefinitionparseXmlResource(String xmlResource)
     parse a process definition from an xml resource file.
public static  ProcessDefinitionparseXmlString(String xml)
     parse a process definition from an xml string.
public  voidremoveAction(Action action)
     removes the bidirectional relation between this process definition and the given action.
public  ModuleDefinitionremoveDefinition(ModuleDefinition moduleDefinition)
    
public  NoderemoveNode(Node node)
    
public  voidreorderNode(int oldIndex, int newIndex)
    
public  voidsetDefinitions(Map definitions)
    
public  voidsetProcessDefinition(ProcessDefinition processDefinition)
    
public  voidsetStartState(StartState startState)
    
public  voidsetStartState(Node startState)
    
public  voidsetTerminationImplicit(boolean isTerminationImplicit)
    
public  voidsetVersion(int version)
    

Field Detail
actions
protected Map actions(Code)



definitions
protected Map definitions(Code)



isTerminationImplicit
protected boolean isTerminationImplicit(Code)



nodes
protected List nodes(Code)



nodesMap
transient Map nodesMap(Code)



startState
protected Node startState(Code)



supportedEventTypes
final public static String[] supportedEventTypes(Code)



version
protected int version(Code)




Constructor Detail
ProcessDefinition
public ProcessDefinition()(Code)



ProcessDefinition
public ProcessDefinition(String name)(Code)



ProcessDefinition
public ProcessDefinition(String[] nodes, String[] transitions)(Code)




Method Detail
addAction
public Action addAction(Action action)(Code)
creates a bidirectional relation between this process definition and the given action.
throws:
  IllegalArgumentException - if action is null or if action.getName() is null.



addDefinition
public ModuleDefinition addDefinition(ModuleDefinition moduleDefinition)(Code)



addNode
public Node addNode(Node node)(Code)



containsName
static boolean containsName(List nodes, String name)(Code)



createInstance
public Object createInstance()(Code)



createNewProcessDefinition
public static ProcessDefinition createNewProcessDefinition()(Code)



createProcessInstance
public ProcessInstance createProcessInstance()(Code)



createProcessInstance
public ProcessInstance createProcessInstance(Map variables)(Code)



createProcessInstance
public ProcessInstance createProcessInstance(Map variables, String businessKey)(Code)



findNode
public Node findNode(String hierarchicalName)(Code)



findNode
public static Node findNode(NodeCollection nodeCollection, String hierarchicalName)(Code)



generateNodeName
public String generateNodeName()(Code)



generateNodeName
public static String generateNodeName(List nodes)(Code)



getAction
public Action getAction(String name)(Code)



getActions
public Map getActions()(Code)



getContextDefinition
public ContextDefinition getContextDefinition()(Code)



getDefinition
public ModuleDefinition getDefinition(Class clazz)(Code)



getDefinitions
public Map getDefinitions()(Code)



getFileDefinition
public FileDefinition getFileDefinition()(Code)



getNode
public Node getNode(String name)(Code)



getNodes
public List getNodes()(Code)



getNodesMap
public Map getNodesMap()(Code)



getParent
public GraphElement getParent()(Code)



getStartState
public Node getStartState()(Code)



getSupportedEventTypes
public String[] getSupportedEventTypes()(Code)



getTaskMgmtDefinition
public TaskMgmtDefinition getTaskMgmtDefinition()(Code)



getVersion
public int getVersion()(Code)



hasActions
public boolean hasActions()(Code)



hasNode
public boolean hasNode(String name)(Code)



isTerminationImplicit
public boolean isTerminationImplicit()(Code)



parseParResource
public static ProcessDefinition parseParResource(String parResource)(Code)
parse a process definition from a process archive resource.
throws:
  org.jbpm.jpdl.JpdlException - if parsing reported an error.



parseParZipInputStream
public static ProcessDefinition parseParZipInputStream(ZipInputStream zipInputStream)(Code)
parse a process definition from a process archive zip-stream.
throws:
  org.jbpm.jpdl.JpdlException - if parsing reported an error.



parseXmlInputStream
public static ProcessDefinition parseXmlInputStream(InputStream inputStream)(Code)
parse a process definition from an xml input stream.
throws:
  org.jbpm.jpdl.JpdlException - if parsing reported an error.



parseXmlReader
public static ProcessDefinition parseXmlReader(Reader reader)(Code)
parse a process definition from an xml reader.
throws:
  org.jbpm.jpdl.JpdlException - if parsing reported an error.



parseXmlResource
public static ProcessDefinition parseXmlResource(String xmlResource)(Code)
parse a process definition from an xml resource file.
throws:
  org.jbpm.jpdl.JpdlException - if parsing reported an error.



parseXmlString
public static ProcessDefinition parseXmlString(String xml)(Code)
parse a process definition from an xml string.
throws:
  org.jbpm.jpdl.JpdlException - if parsing reported an error.



removeAction
public void removeAction(Action action)(Code)
removes the bidirectional relation between this process definition and the given action.
throws:
  IllegalArgumentException - if action is null or if the action was not present in the actions of this process definition.



removeDefinition
public ModuleDefinition removeDefinition(ModuleDefinition moduleDefinition)(Code)



removeNode
public Node removeNode(Node node)(Code)



reorderNode
public void reorderNode(int oldIndex, int newIndex)(Code)



setDefinitions
public void setDefinitions(Map definitions)(Code)



setProcessDefinition
public void setProcessDefinition(ProcessDefinition processDefinition)(Code)



setStartState
public void setStartState(StartState startState)(Code)



setStartState
public void setStartState(Node startState)(Code)



setTerminationImplicit
public void setTerminationImplicit(boolean isTerminationImplicit)(Code)



setVersion
public void setVersion(int version)(Code)



Fields inherited from org.jbpm.graph.def.GraphElement
protected String description(Code)(Java Doc)
protected Map events(Code)(Java Doc)
protected List exceptionHandlers(Code)(Java Doc)
long id(Code)(Java Doc)
protected String name(Code)(Java Doc)
protected ProcessDefinition processDefinition(Code)(Java Doc)

Methods inherited from org.jbpm.graph.def.GraphElement
public Event addEvent(Event event)(Code)(Java Doc)
public ExceptionHandler addExceptionHandler(ExceptionHandler exceptionHandler)(Code)(Java Doc)
void addParentChain(List parentChain)(Code)(Java Doc)
protected ExecuteActionJob createAsyncActionExecutionJob(Token token, Action action)(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
public void executeAction(Action action, ExecutionContext executionContext)(Code)(Java Doc)
void executeActions(List actions, ExecutionContext executionContext, boolean isPropagated)(Code)(Java Doc)
protected ExceptionHandler findExceptionHandler(Throwable exception)(Code)(Java Doc)
public void fireAndPropagateEvent(String eventType, ExecutionContext executionContext)(Code)(Java Doc)
public void fireEvent(String eventType, ExecutionContext executionContext)(Code)(Java Doc)
public String getDescription()(Code)(Java Doc)
public Event getEvent(String eventType)(Code)(Java Doc)
public Map getEvents()(Code)(Java Doc)
public List getExceptionHandlers()(Code)(Java Doc)
public long getId()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public GraphElement getParent()(Code)(Java Doc)
public List getParentChain()(Code)(Java Doc)
public List getParents()(Code)(Java Doc)
public ProcessDefinition getProcessDefinition()(Code)(Java Doc)
List getRuntimeActionsForEvent(ExecutionContext executionContext, String eventType)(Code)(Java Doc)
abstract public String[] getSupportedEventTypes()(Code)(Java Doc)
public boolean hasEvent(String eventType)(Code)(Java Doc)
public boolean hasEvents()(Code)(Java Doc)
public void raiseException(Throwable exception, ExecutionContext executionContext) throws DelegationException(Code)(Java Doc)
public Event removeEvent(Event event)(Code)(Java Doc)
public void removeExceptionHandler(ExceptionHandler exceptionHandler)(Code)(Java Doc)
public void reorderExceptionHandler(int oldIndex, int newIndex)(Code)(Java Doc)
public void setDescription(String description)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void setProcessDefinition(ProcessDefinition processDefinition)(Code)(Java Doc)
public String toString()(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.