package com.vci.web.service;
|
|
import com.vci.common.exception.VciException;
|
import com.vci.corba.common.PLException;
|
import com.vci.corba.framework.data.*;
|
import com.vci.pagemodel.ExpExcelConditionVO;
|
import com.vci.pagemodel.MenuVO;
|
import com.vci.starter.web.exception.VciBaseException;
|
import com.vci.starter.web.pagemodel.BaseResult;
|
|
import javax.servlet.http.HttpServletResponse;
|
import java.io.File;
|
import java.io.IOException;
|
import java.util.LinkedList;
|
import java.util.List;
|
|
/**
|
* 首页系统模块配置添加按钮、添加操作类型等接口服务
|
* @author ludc
|
* @date 2024/8/19 12:42
|
*/
|
public interface SmHMSysModConfigServiceI {
|
|
/**
|
* 添加模块
|
* @param menuVO
|
* @return
|
*/
|
MenuVO addModule(MenuVO menuVO) throws VciBaseException;
|
|
/**
|
* 修改模块
|
* @param menuVO
|
* @return
|
*/
|
MenuVO updateModule(MenuVO menuVO) throws VciBaseException;
|
|
/**
|
* 删除模块
|
* @param menuVO
|
* @return
|
*/
|
boolean delModule(MenuVO menuVO);
|
|
/**
|
* 删除模块下关联的操作类型
|
* @param funcOperationInfo
|
* @return
|
*/
|
boolean delFuncOperation(FuncOperationInfo funcOperationInfo);
|
|
/**
|
* 增加操作类型
|
* @return
|
*/
|
boolean addFuncOperationType(List<FuncOperationInfo> funcOperationInfoList);
|
|
/**
|
* 增加操作类型
|
* @return
|
*/
|
OperateInfo addOperationType(OperateInfo operateInfo);
|
|
/**
|
* 修改操作类型
|
* @param operateInfo
|
* @return
|
*/
|
OperateInfo updateOperationType(OperateInfo operateInfo) throws VciBaseException;
|
|
/**
|
* 删除操作类型
|
* @param operateInfo
|
* @return
|
*/
|
boolean delOperationType(OperateInfo operateInfo);
|
|
/**
|
* 删除非系统模块
|
* @return
|
*/
|
boolean delNonsysModule();
|
|
/**
|
* 删除业务模块
|
* @return
|
*/
|
boolean delBusinessModule();
|
|
/**
|
* 导出管理功能模块或操作类型管理模块sql
|
* @param exportPath 导出路径
|
* @param isFunction 是否是导出管理功能模块sql
|
* @return
|
* @throws PLException
|
*/
|
File exportFunctionSql(HttpServletResponse response,String exportPath,boolean isFunction/*是否是导出管理功能模块sql*/) throws PLException;
|
|
/**
|
* 导出
|
* @return
|
*/
|
String exportModule(HttpServletResponse response) throws PLException, IOException;
|
|
/**
|
* 导入
|
* @param files
|
* @return
|
* @throws PLException
|
*/
|
BaseResult importModule(LinkedList<File> files) throws PLException, IOException;
|
|
/**
|
* 管理功能模块、业务功能模块下的叶子节点—修改操作别名接口
|
* @param menuVO
|
* @return
|
* @throws VciException
|
*/
|
boolean updateAlias(MenuVO menuVO) throws VciException;
|
|
//系统配置相关接口
|
/**
|
* 查询系统配置树
|
*/
|
List<AppConfigCategoryInfo>getAppConfigCategoryInfo();
|
|
/**
|
* 根据分类ID返回全部的 AppConfigDetail 对象
|
* @return
|
*/
|
List<AppConfigDetailInfo> getAppConfigDetailsByID(String clsId);
|
|
/**
|
* 增加配置项分类或配置项
|
* @return
|
*/
|
boolean addAppConf(AppConfigDetailInfo appConfigDetailInfo,boolean isConfCategorys/*是否为操作配置项分配*/);
|
|
/**
|
* 修改配置项分类或配置项
|
* @return
|
*/
|
boolean updateAppConf(AppConfigDetailInfo appConfigDetailInfo,boolean isConfCategorys/*是否为操作配置项分配*/);
|
|
/**
|
* 删除配置项分类或配置项
|
* @return
|
*/
|
boolean delAppConf(String[] ids,boolean isConfCategorys/*是否为操作配置项分配*/);
|
|
/**
|
* 导出系统配置(配置项分类或配置项)
|
* @param response
|
* @return
|
*/
|
String exportSysConf(ExpExcelConditionVO expExcelConditionVO, HttpServletResponse response) throws IOException;
|
|
/**
|
* 获取当前在线人数
|
* @return
|
*/
|
long getOnlineUsersNum();
|
|
/**
|
* 获取在线人员
|
* @return
|
*/
|
List<OnlinUserInfo> getOnlinUsers();
|
|
}
|