//----------------------------BEGIN LICENSE----------------------------
/* 
 * Willow : the Open Source WorkFlow Project
 * Distributable under GNU LGPL license by gun.org
 *
 * Copyright (C) 2004-2010 huihoo.org 
 * Copyright (C) 2004-2010  ZosaTapo <dertyang@hotmail.com> 
 * 
 * ====================================================================
 * Project Homepage : http://www.huihoo.org/willow
 * Source Forge     : http://sourceforge.net/projects/huihoo
 * Mailing list     : willow@lists.sourceforge.net 
 */
//----------------------------END  LICENSE----------------------------

package org.huihoo.workflow.desktop;

import java.rmi.RemoteException;

import org.huihoo.workflow.SchemaContext;
import org.huihoo.workflow.WorkflowRemoteComponent;
import org.huihoo.workflow.WorkflowSerializable;

import org.huihoo.commons.jdbc.Store;

public interface RemoteDatabase extends WorkflowRemoteComponent,WorkflowSerializable
{
	//------------------------------------------------------------------------------------
	// Store utilities
	//------------------------------------------------------------------------------------ 
	public Store getStore() throws RemoteException;
	
	//------------------------------------------------------------------------------------
	// SchemaContext utilities
	//------------------------------------------------------------------------------------ 
	public SchemaContext getSchemaContext()throws RemoteException;
}
