1 5 package com.opensymphony.workflow.config; 6 7 import com.opensymphony.workflow.FactoryException; 8 import com.opensymphony.workflow.StoreException; 9 import com.opensymphony.workflow.loader.WorkflowDescriptor; 10 import com.opensymphony.workflow.spi.WorkflowStore; 11 12 import java.net.URL ; 13 14 import java.util.Map ; 15 16 17 27 public interface Configuration { 28 30 35 boolean isInitialized(); 36 37 40 String getPersistence(); 41 42 48 Map getPersistenceArgs(); 49 50 55 WorkflowDescriptor getWorkflow(String name) throws FactoryException; 56 57 62 String [] getWorkflowNames() throws FactoryException; 63 64 WorkflowStore getWorkflowStore() throws StoreException; 65 66 70 void load(URL url) throws FactoryException; 71 72 79 boolean removeWorkflow(String workflow) throws FactoryException; 80 81 boolean saveWorkflow(String name, WorkflowDescriptor descriptor, boolean replace) throws FactoryException; 82 } 83 | Popular Tags |