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

All known Subclasses:   org.jbpm.graph.def.ProcessDefinition,  org.jbpm.graph.def.Transition,  org.jbpm.taskmgmt.def.Task,  org.jbpm.graph.def.Node,
GraphElement
abstract public class GraphElement implements Serializable(Code)


Field Summary
protected  Stringdescription
    
protected  Mapevents
    
protected  ListexceptionHandlers
    
 longid
    
protected  Stringname
    
protected  ProcessDefinitionprocessDefinition
    

Constructor Summary
public  GraphElement()
    
public  GraphElement(String name)
    

Method Summary
public  EventaddEvent(Event event)
    
public  ExceptionHandleraddExceptionHandler(ExceptionHandler exceptionHandler)
    
 voidaddParentChain(List parentChain)
    
protected  ExecuteActionJobcreateAsyncActionExecutionJob(Token token, Action action)
    
public  booleanequals(Object o)
    
public  voidexecuteAction(Action action, ExecutionContext executionContext)
    
 voidexecuteActions(List actions, ExecutionContext executionContext, boolean isPropagated)
    
protected  ExceptionHandlerfindExceptionHandler(Throwable exception)
    
public  voidfireAndPropagateEvent(String eventType, ExecutionContext executionContext)
    
public  voidfireEvent(String eventType, ExecutionContext executionContext)
    
public  StringgetDescription()
    
public  EventgetEvent(String eventType)
    
public  MapgetEvents()
     gets the events, keyd by eventType (java.lang.String).
public  ListgetExceptionHandlers()
     is the list of exception handlers associated to this graph element.
public  longgetId()
    
public  StringgetName()
    
public  GraphElementgetParent()
    
public  ListgetParentChain()
    
public  ListgetParents()
    
public  ProcessDefinitiongetProcessDefinition()
    
 ListgetRuntimeActionsForEvent(ExecutionContext executionContext, String eventType)
    
abstract public  String[]getSupportedEventTypes()
     indicative set of event types supported by this graph element. this is currently only used by the process designer to know which event types to show on a given graph element.
public  booleanhasEvent(String eventType)
    
public  booleanhasEvents()
    
public  voidraiseException(Throwable exception, ExecutionContext executionContext)
     throws an ActionException if no applicable exception handler is found. An ExceptionHandler is searched for in this graph element and then recursively up the parent hierarchy.
public  EventremoveEvent(Event event)
    
public  voidremoveExceptionHandler(ExceptionHandler exceptionHandler)
    
public  voidreorderExceptionHandler(int oldIndex, int newIndex)
    
public  voidsetDescription(String description)
    
public  voidsetName(String name)
    
public  voidsetProcessDefinition(ProcessDefinition processDefinition)
    
public  StringtoString()
    

Field Detail
description
protected String description(Code)



events
protected Map events(Code)



exceptionHandlers
protected List exceptionHandlers(Code)



id
long id(Code)



name
protected String name(Code)



processDefinition
protected ProcessDefinition processDefinition(Code)




Constructor Detail
GraphElement
public GraphElement()(Code)



GraphElement
public GraphElement(String name)(Code)




Method Detail
addEvent
public Event addEvent(Event event)(Code)



addExceptionHandler
public ExceptionHandler addExceptionHandler(ExceptionHandler exceptionHandler)(Code)



addParentChain
void addParentChain(List parentChain)(Code)



createAsyncActionExecutionJob
protected ExecuteActionJob createAsyncActionExecutionJob(Token token, Action action)(Code)



equals
public boolean equals(Object o)(Code)



executeAction
public void executeAction(Action action, ExecutionContext executionContext)(Code)



executeActions
void executeActions(List actions, ExecutionContext executionContext, boolean isPropagated)(Code)



findExceptionHandler
protected ExceptionHandler findExceptionHandler(Throwable exception)(Code)



fireAndPropagateEvent
public void fireAndPropagateEvent(String eventType, ExecutionContext executionContext)(Code)



fireEvent
public void fireEvent(String eventType, ExecutionContext executionContext)(Code)



getDescription
public String getDescription()(Code)



getEvent
public Event getEvent(String eventType)(Code)



getEvents
public Map getEvents()(Code)
gets the events, keyd by eventType (java.lang.String).



getExceptionHandlers
public List getExceptionHandlers()(Code)
is the list of exception handlers associated to this graph element.



getId
public long getId()(Code)



getName
public String getName()(Code)



getParent
public GraphElement getParent()(Code)



getParentChain
public List getParentChain()(Code)
this graph element plus all the parents ordered by age.



getParents
public List getParents()(Code)
all the parents of this graph element ordered by age.



getProcessDefinition
public ProcessDefinition getProcessDefinition()(Code)



getRuntimeActionsForEvent
List getRuntimeActionsForEvent(ExecutionContext executionContext, String eventType)(Code)



getSupportedEventTypes
abstract public String[] getSupportedEventTypes()(Code)
indicative set of event types supported by this graph element. this is currently only used by the process designer to know which event types to show on a given graph element. in process definitions and at runtime, there are no contstraints on the event-types.



hasEvent
public boolean hasEvent(String eventType)(Code)



hasEvents
public boolean hasEvents()(Code)



raiseException
public void raiseException(Throwable exception, ExecutionContext executionContext) throws DelegationException(Code)
throws an ActionException if no applicable exception handler is found. An ExceptionHandler is searched for in this graph element and then recursively up the parent hierarchy. If an exception handler is found, it is applied. If the exception handler does not throw an exception, the exception is considered handled. Otherwise the search for an applicable exception handler continues where it left of with the newly thrown exception.



removeEvent
public Event removeEvent(Event event)(Code)



removeExceptionHandler
public void removeExceptionHandler(ExceptionHandler exceptionHandler)(Code)



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



setDescription
public void setDescription(String description)(Code)



setName
public void setName(String name)(Code)



setProcessDefinition
public void setProcessDefinition(ProcessDefinition processDefinition)(Code)



toString
public String toString()(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.