Java Doc for ProcessRepository.java in  » Workflow-Engines » obe-1.0 » org » obe » spi » service » 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 » obe 1.0 » org.obe.spi.service 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.obe.spi.service.ProcessRepository

All known Subclasses:   org.obe.server.j2ee.repository.EJBProcessRepository,  org.obe.engine.persistence.memory.BasicProcessRepository,
ProcessRepository
public interface ProcessRepository extends WorkflowService(Code)
Provides persistence for packages and process definitions. Methods return either the parsed, in-memory form as required to support the run-time, or WAPI value objects as required to support the client API.

TODO: in the future, it may be desirable to support the WAPI2 process modeling APIs, although there may be no reason for this to be a remote API.

TODO: Think about implementing a WebDAV interface to the process repository.
author:
   Adrian Price



Field Summary
 StringSERVICE_NAME
    


Method Summary
 voidcreatePackage(XPDLPackage pkg)
     Creates a package using the supplied content.
 voiddeletePackage(String packageId)
     Permanently deletes the specified package.
 XPDLPackagefindPackage(String packageId)
     Retrieves the specified package.
Parameters:
  packageId - The ID of the package to retrieve.
 XPDLPackage[]findPackages(WMFilter filter, boolean countFlag)
     Retrieves a set of packages.
Parameters:
  filter - A package filter specification.
Parameters:
  countFlag - Flag to return just a count of the matching packages.
 intfindProcessDefinitionState(String processDefinitionId)
     Returns the state of a process definition.
 WorkflowProcessfindWorkflowProcess(String processDefinitionId)
     Retrieves a process definition in executable form.
Parameters:
  processDefinitionId - The process definition ID.
 WorkflowProcess[]findWorkflowProcesses(String name, boolean validOnly)
     Retrieves process definitions in executable form.
 WorkflowProcess[]findWorkflowProcesses(WMFilter filter, boolean countFlag)
     Retrieves a list of process definitions in executable form.
 voidpurge()
     Purges all data from the process repository.
 voidupdatePackage(XPDLPackage pkg)
     Sets the content of the specified package.
 voidupdateProcessDefinitionState(String processDefinitionId, int newState)
     Changes the process definition state.

Field Detail
SERVICE_NAME
String SERVICE_NAME(Code)





Method Detail
createPackage
void createPackage(XPDLPackage pkg) throws RepositoryException(Code)
Creates a package using the supplied content.
Parameters:
  pkg - The pre-parsed package object.
throws:
  RepositoryException -



deletePackage
void deletePackage(String packageId) throws RepositoryException(Code)
Permanently deletes the specified package.
Parameters:
  packageId - The package ID.
throws:
  RepositoryException -



findPackage
XPDLPackage findPackage(String packageId) throws RepositoryException(Code)
Retrieves the specified package.
Parameters:
  packageId - The ID of the package to retrieve. The requested package.



findPackages
XPDLPackage[] findPackages(WMFilter filter, boolean countFlag) throws RepositoryException(Code)
Retrieves a set of packages.
Parameters:
  filter - A package filter specification.
Parameters:
  countFlag - Flag to return just a count of the matching packages. An array of matching packages.



findProcessDefinitionState
int findProcessDefinitionState(String processDefinitionId) throws RepositoryException(Code)
Returns the state of a process definition.
Parameters:
  processDefinitionId - The process definition id The process definition state, as defined inWMProcessDefinitionState
throws:
  RepositoryException -



findWorkflowProcess
WorkflowProcess findWorkflowProcess(String processDefinitionId) throws RepositoryException(Code)
Retrieves a process definition in executable form.
Parameters:
  processDefinitionId - The process definition ID. The requested process definition.



findWorkflowProcesses
WorkflowProcess[] findWorkflowProcesses(String name, boolean validOnly) throws RepositoryException(Code)
Retrieves process definitions in executable form. The method returns all process definitions with the specified name. If the validOnly flag is true the method returns only versions of the specified workflow which could be instantiated at the current time, according to their state, status, and validFrom and validTo dates.
Parameters:
  name - The process definition name. Must not be nullTo find all workflows, callProcessRepository.findWorkflowProcesses(WMFilter,boolean).
Parameters:
  validOnly - true to return only workflows which areavailable for instantiation at the current time. The process definition(s) matching the specified name.
See Also:   ProcessRepository.findWorkflowProcesses(WMFilter,boolean)



findWorkflowProcesses
WorkflowProcess[] findWorkflowProcesses(WMFilter filter, boolean countFlag) throws RepositoryException(Code)
Retrieves a list of process definitions in executable form. The method returns all process definitions which match the supplied filter.
Parameters:
  filter - A process definition filter specification. An array of matching process definitions.
See Also:   ProcessRepository.findWorkflowProcesses(String,boolean)



purge
void purge() throws RepositoryException(Code)
Purges all data from the process repository. WARNING! All packages and process definitions will be permanently deleted.



updatePackage
void updatePackage(XPDLPackage pkg) throws RepositoryException(Code)
Sets the content of the specified package.
Parameters:
  pkg - The package to write.
throws:
  RepositoryException -



updateProcessDefinitionState
void updateProcessDefinitionState(String processDefinitionId, int newState) throws RepositoryException(Code)
Changes the process definition state.
Parameters:
  processDefinitionId - The process definition id
Parameters:
  newState - The new process definition state
throws:
  RepositoryException - Workflow client exception



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