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


com.opensymphony.workflow.spi.WorkflowStore

All known Subclasses:   com.opensymphony.workflow.spi.jdbc.JDBCWorkflowStore,  com.opensymphony.workflow.spi.prevayler.PrevaylerWorkflowStore,  com.opensymphony.workflow.spi.memory.MemoryWorkflowStore,  com.opensymphony.workflow.spi.ejb.EJBWorkflowStore,  com.opensymphony.workflow.spi.ofbiz.OfbizWorkflowStore,  com.opensymphony.workflow.spi.hibernate.HibernateWorkflowStore,  com.opensymphony.workflow.spi.hibernate.AbstractHibernateWorkflowStore,  com.opensymphony.workflow.spi.ojb.OJBWorkflowStore,  com.opensymphony.workflow.spi.hibernate3.AbstractHibernateWorkflowStore,  com.opensymphony.workflow.spi.hibernate.SpringHibernateWorkflowStore,  com.opensymphony.workflow.spi.prevayler.WorkflowSystem,
WorkflowStore
public interface WorkflowStore (Code)
Interface for pluggable workflow stores configured in osworkflow.xml. Only one instance of a workflow store is ever created, meaning that if your persistence connections (such as java.sql.Connection) time out, it would be un-wise to use just one Connection for the entire object.
author:
   Pat Lightbody




Method Summary
public  StepcreateCurrentStep(long entryId, int stepId, String owner, Date startDate, Date dueDate, String status, long[] previousIds)
     Persists a step with the given parameters.
public  WorkflowEntrycreateEntry(String workflowName)
     Persists a new workflow entry that has not been initialized.
public  ListfindCurrentSteps(long entryId)
     Returns a list of all current steps for the given workflow instance ID.
Parameters:
  entryId - The workflow instance id.
public  WorkflowEntryfindEntry(long entryId)
     Pulls up the workflow entry data for the entry ID given.
Parameters:
  entryId - The workflow instance id.
public  ListfindHistorySteps(long entryId)
     Returns a list of all steps that are finished for the given workflow instance ID.
Parameters:
  entryId - The workflow instance id.
public  PropertySetgetPropertySet(long entryId)
     Returns a PropertySet that is associated with this workflow instance ID.
Parameters:
  entryId - The workflow instance id.
public  voidinit(Map props)
     Called once when the store is first created.
public  StepmarkFinished(Step step, int actionId, Date finishDate, String status, String caller)
     Mark the specified step as finished.
Parameters:
  step - the step to finish.
Parameters:
  actionId - The action that caused the step to finish.
Parameters:
  finishDate - the date when the step was finished.
Parameters:
  status - The status to set the finished step to.
Parameters:
  caller - The caller that caused the step to finish.
public  voidmoveToHistory(Step step)
     Called when a step is finished and can be moved to workflow history.
public  Listquery(WorkflowQuery query)
    
public  Listquery(WorkflowExpressionQuery query)
    
public  voidsetEntryState(long entryId, int state)
     Set the state of the workflow instance.



Method Detail
createCurrentStep
public Step createCurrentStep(long entryId, int stepId, String owner, Date startDate, Date dueDate, String status, long[] previousIds) throws StoreException(Code)
Persists a step with the given parameters.
Parameters:
  entryId - The workflow instance id.
Parameters:
  stepId - the ID of the workflow step associated with this newStep (not to be confused with the step primary key)
Parameters:
  owner - the owner of the step
Parameters:
  startDate - the start date of the step
Parameters:
  status - the status of the step
Parameters:
  previousIds - the previous step IDs a representation of the workflow step persisted



createEntry
public WorkflowEntry createEntry(String workflowName) throws StoreException(Code)
Persists a new workflow entry that has not been initialized.
Parameters:
  workflowName - the workflow name that this entry is an instance of a representation of the workflow instance persisted



findCurrentSteps
public List findCurrentSteps(long entryId) throws StoreException(Code)
Returns a list of all current steps for the given workflow instance ID.
Parameters:
  entryId - The workflow instance id. a List of Steps
See Also:   com.opensymphony.workflow.spi.Step



findEntry
public WorkflowEntry findEntry(long entryId) throws StoreException(Code)
Pulls up the workflow entry data for the entry ID given.
Parameters:
  entryId - The workflow instance id. a representation of the workflow instance persisted



findHistorySteps
public List findHistorySteps(long entryId) throws StoreException(Code)
Returns a list of all steps that are finished for the given workflow instance ID.
Parameters:
  entryId - The workflow instance id. a List of Steps
See Also:   com.opensymphony.workflow.spi.Step



getPropertySet
public PropertySet getPropertySet(long entryId) throws StoreException(Code)
Returns a PropertySet that is associated with this workflow instance ID.
Parameters:
  entryId - The workflow instance id. a property set unique to this entry ID



init
public void init(Map props) throws StoreException(Code)
Called once when the store is first created.
Parameters:
  props - properties set in osworkflow.xml



markFinished
public Step markFinished(Step step, int actionId, Date finishDate, String status, String caller) throws StoreException(Code)
Mark the specified step as finished.
Parameters:
  step - the step to finish.
Parameters:
  actionId - The action that caused the step to finish.
Parameters:
  finishDate - the date when the step was finished.
Parameters:
  status - The status to set the finished step to.
Parameters:
  caller - The caller that caused the step to finish. the finished step



moveToHistory
public void moveToHistory(Step step) throws StoreException(Code)
Called when a step is finished and can be moved to workflow history.
Parameters:
  step - the step to be moved to workflow history



query
public List query(WorkflowQuery query) throws StoreException(Code)
WorkflowStore.query(WorkflowExpressionQuery)
Parameters:
  query - the query to use a List of workflow instance ID's



query
public List query(WorkflowExpressionQuery query) throws StoreException(Code)

Parameters:
  query - the query to use a List of workflow instance ID's



setEntryState
public void setEntryState(long entryId, int state) throws StoreException(Code)
Set the state of the workflow instance.
Parameters:
  entryId - The workflow instance id.
Parameters:
  state - The state to move the workflow instance to.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.