/*
 * Created on 2004-2-17
 *
 * To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
package workflow.store;

import workflow.WorkflowException;
import workflow.WorkflowInterface;
import workflow.services.WorkflowService;

import com.zosatapo.commons.store.Store;

/**
 * @author zosatapo
 *
 * To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
public interface Database extends WorkflowInterface
{
//------------------------------------------------------------------------------------
// Store utilities
//------------------------------------------------------------------------------------ 
	public Store                getStore();  
	public void                 setStore(Store store);
		
//------------------------------------------------------------------------------------
// SchemaContext utilities
//------------------------------------------------------------------------------------ 
	public SchemaContext        getSchemaContext();
	public void                 setSchemaContext(SchemaContext schemaContext);
	
//------------------------------------------------------------------------------------
// WorkflowService utilities   
//------------------------------------------------------------------------------------                                        
	public  WorkflowService      getWorkflowService();	
	public  void                 setWorkflowService(WorkflowService workflowService);

//------------------------------------------------------------------------------------
// Lifecycle utilities   
//------------------------------------------------------------------------------------                                        
	public void start() throws WorkflowException;
	public void stop()  throws WorkflowException;
}
