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


java.lang.Object
   org.obe.engine.repository.AbstractRepository
      org.obe.engine.persistence.memory.BasicProcessRepository

BasicProcessRepository
final public class BasicProcessRepository extends AbstractRepository implements ProcessRepository(Code)
Provides file system-based storage for packages and process definitions.
author:
   Anthony Eden
author:
   Adrian Price



Constructor Summary
public  BasicProcessRepository(ServiceManager svcMgr)
    

Method Summary
public synchronized  voidcreatePackage(XPDLPackage pkg)
     Creates a package using the supplied content.
public synchronized  voiddeletePackage(String packageId)
     Permanently deletes the specified package.
public synchronized  voidexit()
    
public synchronized  XPDLPackagefindPackage(String packageId)
     Retrieves the specified package.
Parameters:
  packageId - The ID of the package to retrieve.
public synchronized  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.
public synchronized  intfindProcessDefinitionState(String processDefinitionId)
    
public synchronized  WorkflowProcessfindWorkflowProcess(String processDefinitionId)
     Retrieves a process definition in executable form.
Parameters:
  processDefinitionId - The process definition ID.
public  WorkflowProcess[]findWorkflowProcesses(String name, boolean validOnly)
    
public synchronized  WorkflowProcess[]findWorkflowProcesses(WMFilter filter, boolean countFlag)
     Retrieves a list of process definitions.
Parameters:
  filter - A process definition filter specification.
protected  LoggetLogger()
    
public  StringgetServiceName()
    
protected synchronized  voidload()
    
public synchronized  voidpurge()
    
public synchronized  voidupdatePackage(XPDLPackage pkg)
     Sets the content of the specified package.
public synchronized  voidupdateProcessDefinitionState(String processDefinitionId, int newState)
     Changes the process definition state.


Constructor Detail
BasicProcessRepository
public BasicProcessRepository(ServiceManager svcMgr)(Code)




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



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



exit
public synchronized void exit()(Code)



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



findPackages
public synchronized 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
public synchronized int findProcessDefinitionState(String processDefinitionId) throws RepositoryException(Code)



findWorkflowProcess
public synchronized 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
public WorkflowProcess[] findWorkflowProcesses(String name, boolean validOnly)(Code)



findWorkflowProcesses
public synchronized WorkflowProcess[] findWorkflowProcesses(WMFilter filter, boolean countFlag) throws RepositoryException(Code)
Retrieves a list of process definitions.
Parameters:
  filter - A process definition filter specification. An array of matching process definitions.



getLogger
protected Log getLogger()(Code)



getServiceName
public String getServiceName()(Code)



load
protected synchronized void load() throws IOException, RepositoryException(Code)



purge
public synchronized void purge() throws RepositoryException(Code)



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



updateProcessDefinitionState
public synchronized 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



Fields inherited from org.obe.engine.repository.AbstractRepository
final protected static String NOT_FOUND_MSG(Code)(Java Doc)
final protected static String SERVICE(Code)(Java Doc)
final protected ServiceManager _svcMgr(Code)(Java Doc)

Methods inherited from org.obe.engine.repository.AbstractRepository
protected synchronized void clear()(Code)(Java Doc)
protected void createEntry(AbstractMetaData metaData) throws RepositoryException(Code)(Java Doc)
protected synchronized Entry createEntry(String key, AbstractMetaData metaData, Object instance) throws RepositoryException(Code)(Java Doc)
protected synchronized void deleteEntry(String key) throws RepositoryException(Code)(Java Doc)
public synchronized void exit()(Code)(Java Doc)
protected Entry[] findEntries()(Code)(Java Doc)
protected Entry findEntry(String key, boolean throwException) throws RepositoryException(Code)(Java Doc)
protected Object findInstance(String key, boolean throwException) throws RepositoryException(Code)(Java Doc)
protected synchronized AbstractMetaData[] findMetaData()(Code)(Java Doc)
protected AbstractMetaData findMetaData(String key, boolean throwException) throws RepositoryException(Code)(Java Doc)
protected AbstractMetaData findObjectType(String className) throws RepositoryException(Code)(Java Doc)
protected AbstractMetaData[] findObjectTypes()(Code)(Java Doc)
protected String getConfigurationFileName()(Code)(Java Doc)
protected static Log getLog(Class clazz)(Code)(Java Doc)
abstract protected Log getLogger()(Code)(Java Doc)
final public ServiceManager getServiceManager()(Code)(Java Doc)
public synchronized void init() throws IOException, RepositoryException(Code)(Java Doc)
public synchronized boolean isInitialized()(Code)(Java Doc)
protected synchronized void load() throws RepositoryException, IOException(Code)(Java Doc)
protected void registerObjectType(AbstractMetaData objectType) throws ObjectAlreadyExistsException(Code)(Java Doc)
public synchronized void store()(Code)(Java Doc)
protected Entry updateEntry(String key, AbstractMetaData metaData) throws RepositoryException(Code)(Java Doc)
protected synchronized Entry updateEntry(String key, AbstractMetaData metaData, Object implementation) throws RepositoryException(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.