package com.yihu.ehr.service.intf; import com.yihu.ehr.framework.model.Result; import com.yihu.ehr.model.DataSource; import com.yihu.ehr.model.SystemParams; import javax.servlet.http.HttpSession; /** * Created by HZP on 2016/02/26. */ public interface ISystemManager { SystemParams getSystemParams() throws Exception; String getSystemParam(String name) throws Exception; DataSource getDataSource() throws Exception; Result saveParams(String interval,String updateInterval) throws Exception; Result saveDataSource(String id,String name,String config) throws Exception; Result testDataSource(String uri) throws Exception; Result loginAction(HttpSession session ,String user,String password) throws Exception; }