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


java.lang.Object
   org.jbpm.db.GraphSession

GraphSession
public class GraphSession (Code)
are the graph related database operations.

Inner Class :public static class AverageNodeTimeEntry

Field Summary
 JbpmSessionjbpmSession
    
 Sessionsession
    

Constructor Summary
public  GraphSession(JbpmSession jbpmSession)
    
public  GraphSession(Session session)
    

Method Summary
public  ListcalculateAverageTimeByNode(long processDefinitionId, long minumumDurationMillis)
    
public  voiddeleteProcessDefinition(long processDefinitionId)
    
public  voiddeleteProcessDefinition(ProcessDefinition processDefinition)
    
public  voiddeleteProcessInstance(long processInstanceId)
    
public  voiddeleteProcessInstance(ProcessInstance processInstance)
    
public  voiddeleteProcessInstance(ProcessInstance processInstance, boolean includeTasks, boolean includeJobs)
    
 voiddeleteSubProcesses(Token token)
    
public  voiddeployProcessDefinition(ProcessDefinition processDefinition)
    
public  ListfindActiveNodesByProcessInstance(ProcessInstance processInstance)
    
public  ListfindAllProcessDefinitionVersions(String name)
     queries the database for all versions of process definitions with the given name, ordered by version (descending).
public  ListfindAllProcessDefinitions()
     queries the database for all process definitions, ordered by name (ascending), then by version (descending).
public  ProcessDefinitionfindLatestProcessDefinition(String name)
     queries the database for the latest version of a process definition with the given name.
public  ListfindLatestProcessDefinitions()
     queries the database for the latest version of each process definition.
public  ProcessDefinitionfindProcessDefinition(String name, int version)
     queries the database for a process definition with the given name and version.
public  ListfindProcessInstances(long processDefinitionId)
     fetches all processInstances for the given process definition from the database.
public  ProcessDefinitiongetProcessDefinition(long processDefinitionId)
     gets a process definition from the database by the identifier.
public  ProcessInstancegetProcessInstance(long processInstanceId)
     gets a process instance from the database by the identifier. This method returns null in case the given process instance doesn't exist.
public  ProcessInstancegetProcessInstance(ProcessDefinition processDefinition, String key)
    
public  TokengetToken(long tokenId)
     gets a token from the database by the identifier. the token or null in case the token doesn't exist.
public  ProcessDefinitionloadProcessDefinition(long processDefinitionId)
     loads a process definition from the database by the identifier.
public  ProcessInstanceloadProcessInstance(long processInstanceId)
     loads a process instance from the database by the identifier. This throws an exception in case the process instance doesn't exist.
public  ProcessInstanceloadProcessInstance(ProcessDefinition processDefinition, String key)
    
public  TokenloadToken(long tokenId)
     loads a token from the database by the identifier.
public  voidlockProcessInstance(long processInstanceId)
     locks a process instance in the database.
public  voidlockProcessInstance(ProcessInstance processInstance)
     locks a process instance in the database.
public  voidsaveProcessDefinition(ProcessDefinition processDefinition)
     saves the process definitions.
public  voidsaveProcessInstance(ProcessInstance processInstance)
    

Field Detail
jbpmSession
JbpmSession jbpmSession(Code)



session
Session session(Code)




Constructor Detail
GraphSession
public GraphSession(JbpmSession jbpmSession)(Code)



GraphSession
public GraphSession(Session session)(Code)




Method Detail
calculateAverageTimeByNode
public List calculateAverageTimeByNode(long processDefinitionId, long minumumDurationMillis)(Code)



deleteProcessDefinition
public void deleteProcessDefinition(long processDefinitionId)(Code)



deleteProcessDefinition
public void deleteProcessDefinition(ProcessDefinition processDefinition)(Code)



deleteProcessInstance
public void deleteProcessInstance(long processInstanceId)(Code)



deleteProcessInstance
public void deleteProcessInstance(ProcessInstance processInstance)(Code)



deleteProcessInstance
public void deleteProcessInstance(ProcessInstance processInstance, boolean includeTasks, boolean includeJobs)(Code)



deleteSubProcesses
void deleteSubProcesses(Token token)(Code)



deployProcessDefinition
public void deployProcessDefinition(ProcessDefinition processDefinition)(Code)



findActiveNodesByProcessInstance
public List findActiveNodesByProcessInstance(ProcessInstance processInstance)(Code)



findAllProcessDefinitionVersions
public List findAllProcessDefinitionVersions(String name)(Code)
queries the database for all versions of process definitions with the given name, ordered by version (descending).



findAllProcessDefinitions
public List findAllProcessDefinitions()(Code)
queries the database for all process definitions, ordered by name (ascending), then by version (descending).



findLatestProcessDefinition
public ProcessDefinition findLatestProcessDefinition(String name)(Code)
queries the database for the latest version of a process definition with the given name.



findLatestProcessDefinitions
public List findLatestProcessDefinitions()(Code)
queries the database for the latest version of each process definition. Process definitions are distinct by name.



findProcessDefinition
public ProcessDefinition findProcessDefinition(String name, int version)(Code)
queries the database for a process definition with the given name and version.



findProcessInstances
public List findProcessInstances(long processDefinitionId)(Code)
fetches all processInstances for the given process definition from the database. The returned list of process instances is sorted start date, youngest first.



getProcessDefinition
public ProcessDefinition getProcessDefinition(long processDefinitionId)(Code)
gets a process definition from the database by the identifier. the referenced process definition or null in case it doesn't exist.



getProcessInstance
public ProcessInstance getProcessInstance(long processInstanceId)(Code)
gets a process instance from the database by the identifier. This method returns null in case the given process instance doesn't exist.



getProcessInstance
public ProcessInstance getProcessInstance(ProcessDefinition processDefinition, String key)(Code)



getToken
public Token getToken(long tokenId)(Code)
gets a token from the database by the identifier. the token or null in case the token doesn't exist.



loadProcessDefinition
public ProcessDefinition loadProcessDefinition(long processDefinitionId)(Code)
loads a process definition from the database by the identifier.
throws:
  JbpmException - in case the referenced process definition doesn't exist.



loadProcessInstance
public ProcessInstance loadProcessInstance(long processInstanceId)(Code)
loads a process instance from the database by the identifier. This throws an exception in case the process instance doesn't exist.
See Also:   GraphSession.getProcessInstance(long)
throws:
  JbpmException - in case the process instance doesn't exist.



loadProcessInstance
public ProcessInstance loadProcessInstance(ProcessDefinition processDefinition, String key)(Code)



loadToken
public Token loadToken(long tokenId)(Code)
loads a token from the database by the identifier. the token.
throws:
  JbpmException - in case the referenced token doesn't exist.



lockProcessInstance
public void lockProcessInstance(long processInstanceId)(Code)
locks a process instance in the database.



lockProcessInstance
public void lockProcessInstance(ProcessInstance processInstance)(Code)
locks a process instance in the database.



saveProcessDefinition
public void saveProcessDefinition(ProcessDefinition processDefinition)(Code)
saves the process definitions. this method does not assign a version number. that is the responsibility of the org.jbpm.jpdl.par.ProcessArchiveDeployer .



saveProcessInstance
public void saveProcessInstance(ProcessInstance processInstance)(Code)
org.jbpm.JbpmContext.save(ProcessInstance)
throws:
  UnsupportedOperationException -



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.