SMILA (incubation) API documentation

org.eclipse.smila.processing.bpel
Class WorkflowStorage

java.lang.Object
  extended by org.eclipse.smila.processing.bpel.WorkflowStorage

public final class WorkflowStorage
extends java.lang.Object

Helper class to store workflow definitions in objectstore.

Author:
aweber

Constructor Summary
WorkflowStorage(java.lang.String storeName, ObjectStoreService objectStore, ClusterConfigService clusterConfig)
           
 
Method Summary
 void deleteWorkflow(java.lang.String workflowName)
          delete workflow with given name.
 AnyMap getWorkflow(java.lang.String workflowName)
          return workflow with given name.
 java.util.Collection<java.lang.String> getWorkflowNames()
          return names of all stored workflows.
 void setWorkflow(java.lang.String workflowName, AnyMap workflow)
          add/update workflow with given name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowStorage

public WorkflowStorage(java.lang.String storeName,
                       ObjectStoreService objectStore,
                       ClusterConfigService clusterConfig)
Method Detail

setWorkflow

public void setWorkflow(java.lang.String workflowName,
                        AnyMap workflow)
                 throws ProcessingException
add/update workflow with given name.

Throws:
ProcessingException

deleteWorkflow

public void deleteWorkflow(java.lang.String workflowName)
                    throws ProcessingException
delete workflow with given name.

Throws:
ProcessingException

getWorkflow

public AnyMap getWorkflow(java.lang.String workflowName)
                   throws ProcessingException
return workflow with given name.

Throws:
ProcessingException

getWorkflowNames

public java.util.Collection<java.lang.String> getWorkflowNames()
                                                        throws ProcessingException
return names of all stored workflows.

Throws:
ProcessingException

SMILA (incubation) API documentation