package com.xfaccp.interf;
import java.util.List;
import java.util.Map;
import com.xfaccp.base.BaseForm;
public interface ICommand {
/*
* 实义事务的基本接口方法
*/
//处理create类方法的事务
public Map create(BaseForm form) throws Exception;
public Map create(List list) throws Exception;
public Map create(Map map) throws Exception;
//处理update类方法的事务
public Map update(BaseForm form) throws Exception;
public Map update(List List) throws Exception;
public Map update(Map map) throws Exception;
//处理delete类方法的事务
public Map delete(BaseForm form) throws Exception;
//处理其它类的方法的事务
public Map load(BaseForm form) throws Exception;
public List findByExample(BaseForm form) throws Exception;
public List findById(Integer id) throws Exception;
public List findAllList() throws Exception;
public List checkLogin(String useName,String pwd)throws Exception;
public List findBySql()throws Exception;
public List findBySqlto(String hsql, Object[] obj) throws Exception;
}