ISystemManager.java 749 B

123456789101112131415161718192021222324252627
  1. package com.yihu.ehr.service.intf;
  2. import com.yihu.ehr.framework.model.Result;
  3. import com.yihu.ehr.model.DataSource;
  4. import com.yihu.ehr.model.SystemParams;
  5. import javax.servlet.http.HttpSession;
  6. /**
  7. * Created by HZP on 2016/02/26.
  8. */
  9. public interface ISystemManager {
  10. SystemParams getSystemParams() throws Exception;
  11. String getSystemParam(String name) throws Exception;
  12. DataSource getDataSource() throws Exception;
  13. Result saveParams(String interval,String updateInterval) throws Exception;
  14. Result saveDataSource(String id,String name,String config) throws Exception;
  15. Result testDataSource(String uri) throws Exception;
  16. Result loginAction(HttpSession session ,String user,String password) throws Exception;
  17. }