wangting
2025-01-16 18c43123b51a1688ab4ae01fe3d171c7d92e619b
Source/Common/PLTSlice/slice/02-framework.ice
@@ -237,52 +237,7 @@
         string licensor;
      };
      sequence<RoleRightInfo> RoleRightInfoList;
      /**-----------------------日志管理模块-------------------------**/
      //日志信息
      struct LogInfo {
         string puid;//ID
         string username;//用户名
         string truename;//姓名
         string userIp;//用户IP
         string result;//操作结果
         string content; // 日志内容
         string date;//操作日期
         string type;//操作类型
         string moduleName;//操作模块
         string entityDesc;//操作对象的描述
         string property;//操作的属性
         string previousVal;//操作前得值
         string newVal;//操作后的值
         string logType;// 日志类型
      };
      sequence<LogInfo> LogInfoList;
      //日志保存和备份期限信息
      struct LogPeriodInfo {
         string code;//对应的数值,以月为单位
         string value;//对应的显示名称
      };
      sequence<LogPeriodInfo> LogPeriodInfoList;
      //模块对应的树菜单
      struct SpecialRoleTreeInfo{
         string iconName;
         string nodeName;
         string panelName;
         string nodeShowInfo;
      };
      sequence<SpecialRoleTreeInfo> SpecialRoleTreeInfoList;
      //三员登录显示的模块信息
      struct SpecialRoleInfo{
         string logonUserId;
         string   logonRoleId;
         string   iconName;
         string   moduleName;
         string   panelName;
         string   moduleShowInfo;
         SpecialRoleTreeInfoList specialRoleTreeInfos;
      }
      sequence<SpecialRoleInfo> SpecialRoleInfoList;
      //数据库信息
      struct DataSourceInfo{
         string tbSpaceName;   // 表空间名称
@@ -366,538 +321,512 @@
      sequence<GrandValue> GrandValueArray;
      
   };//end data
   module method {
      interface FrameworkService {
         // 测试系统是否能连通
         bool test() throws common::VCIError;
         /**验证登录**/
         data::UserInfo checkLogin(string userName,string password) throws common::VCIError;
   interface FrameworkService {
      // 测试系统是否能连通
      bool test() throws common::VCIError;
         data::UserInfo checkLoginForBS(string userName,string password) throws common::VCIError;
      /**验证登录**/
      data::UserInfo checkLogin(string userName,string password) throws common::VCIError;
         data::UserInfo getUserObjectByUserName(string userName) throws common::VCIError;
      data::UserInfo checkLoginForBS(string userName,string password) throws common::VCIError;
         data::UserInfo checkByToken(string token) throws common::VCIError;
      data::UserInfo getUserObjectByUserName(string userName) throws common::VCIError;
         // 是否启用用户权限校验
         bool userSecuritySwith() throws common::VCIError;
         // 是否启用机器权限校验
         bool ipSecuritySwitch() throws common::VCIError;
         // 是否默认有权
         string defaultHasRight() throws common::VCIError;
      data::UserInfo checkByToken(string token) throws common::VCIError;
         //flag:nonsys删除非系统模块
         //flag:business删除业务模块
         bool deleteModules(string flag)throws common::VCIError;
         common::data::StringArray getClientDeployJarPath() throws common::VCIError;
         /** AppConfigCategory 对象接口 **/
         // 添加、保存 AppConfigCategory 对象
         string saveAppConfigCategory(data::AppConfigCategoryInfo info, common::data::UserEntityInfo userEntity) throws common::VCIError;
         // 修改、更新 AppConfigCategory 对象
         bool updateAppConfigCategory(data::AppConfigCategoryInfo info, common::data::UserEntityInfo userEntity) throws common::VCIError;
         // 根据ID删除  AppConfigCategory 对象(批量)
         bool deleteAppConfigCategory(common::data::StringArray ids, common::data::UserEntityInfo userEntity) throws common::VCIError;
         // 返回全部  AppConfigCategory 对象
         data::AppConfigCategoryInfoList getAppConfigCategorys(common::data::UserEntityInfo userEntity) throws common::VCIError;
         // 根据ID返回  AppConfigCategory 对象
         data::AppConfigCategoryInfo getAppConfigCategoryById(string id, common::data::UserEntityInfo userEntity) throws common::VCIError;
         /** AppConfigDetail 对象接口 **/
         // 添加、保存 AppConfigDetail 对象
         string saveAppConfigDetail(data::AppConfigDetailInfo info, common::data::UserEntityInfo userEntity) throws common::VCIError;
         // 修改、更新 AppConfigDetail 对象
         bool updateAppConfigDetail(data::AppConfigDetailInfo info, common::data::UserEntityInfo userEntity) throws common::VCIError;
         // 根据ID删除  AppConfigDetail 对象(批量)
         bool deleteAppConfigDetail(common::data::StringArray ids, common::data::UserEntityInfo userEntity) throws common::VCIError;
         // 返回全部  AppConfigDetail 对象
         data::AppConfigDetailInfoList getAppConfigDetails(common::data::UserEntityInfo userEntity) throws common::VCIError;
         // 返回指定分类的全部  AppConfigDetail 对象
         data::AppConfigDetailInfoList getAppConfigDetailsByCatId(string clsfId, common::data::UserEntityInfo userEntity) throws common::VCIError;
         data::AppConfigDetailInfoList getAppConfigDetailsByCategory(string catName, common::data::UserEntityInfo userEntity) throws common::VCIError;
         // 根据ID返回  AppConfigDetail 对象
         data::AppConfigDetailInfo getAppConfigDetailById(string id, common::data::UserEntityInfo userEntity) throws common::VCIError;
         // 根据配置Key返回  AppConfigDetail 对象
         data::AppConfigDetailInfo getAppConfigDetailByKey(string key, common::data::UserEntityInfo userEntity) throws common::VCIError;
         // 根据配置Key返回  AppConfigDetail 对象
         data::AppConfigDetailInfoList getAppConfigDetailsByName(string name, common::data::UserEntityInfo userEntity) throws common::VCIError;
         /** 根据key获取conf.properties中的参数值
            fileResourcePath:资源文件路径
            比如:/properties/conf.properties,xxx.properties 文件在项目主目录的properties文件夹下
            或者:properties/xxx.properties,xxx.properties 文件在src/properties/文件夹下
            如果传入空值,则从 /properties/conf.properties 中读取
            key:
         **/
         string getConfigValue(string key) throws common::VCIError;
         //得到一个随即的36位数
         string getRandomGUID36() throws common::VCIError;
         /***************************系统功能模块start**************************/
         //保存模块
         string saveModule(data::FunctionInfo function,common::data::UserEntityInfo userEntity) throws common::VCIError;
         //更新模块
         string updateModule(data::FunctionInfo function,common::data::UserEntityInfo userEntity) throws common::VCIError;
         //删除模块
         string deleteModule(string moduleId,common::data::UserEntityInfo userEntity) throws common::VCIError;
         //获取自动生成的编号
         //long getAutoModuleNo() throws common::VCIError;
         //获取子级模块
         data::FunctionInfoList getModuleListByParentId(string parentId,bool isAll) throws common::VCIError;
         data::FunctionInfoList getModuleListByParentIdForBS(string parentId,bool isAll) throws common::VCIError;
         data::FunctionInfoList getModuleListByParentIdForCS(string parentId,bool isAll) throws common::VCIError;
         //获取所有子级模块
         data::FunctionInfoList getChildrenFunctionsByParentId(string parentId,bool isAll) throws common::VCIError;
         //获取用户有权限的子级模块列表
         data::FunctionInfoList getModuleListByRoleRight(string parentId,string userName) throws common::VCIError;
         data::FunctionInfoList getModuleListByRoleRightForBS(string parentId,string userName) throws common::VCIError;
         //根据class查询模块对象
         data::FunctionInfo getModuleByClass(string classPath) throws common::VCIError;
         //根据funcOid查询模块对象
         data::FunctionInfo getFunctionObjectById(string funcOid) throws common::VCIError;
         //根据模块名称查询模块对象
         data::FunctionInfo getModuleByName(string moduleName) throws common::VCIError;
         //检查模块下是挂接模块还是挂接操作,true为挂接模块
         long checkChildObject(string moduleId) throws common::VCIError;
         //保存操作
         string saveOperate(data::OperateInfo operate,common::data::UserEntityInfo userEntity) throws common::VCIError;
         //修改操作
         string updateOperate(data::OperateInfo operate,common::data::UserEntityInfo userEntity) throws common::VCIError;
         //删除操作
         bool deleteOperate(string id,common::data::UserEntityInfo userEntity) throws common::VCIError;
         //获取全部操作列表(参数模块ID不为空的时候获取除该模块下操作之外的全部操作)
         data::OperateInfoList getOperateTreeList(string moduleId) throws common::VCIError;
         //检查操作是否被引用
         long checkOperateIsReferenced(string operateId) throws common::VCIError;
         //通过标识获取操作
         data::OperateInfo getOperateByIdentify(string identify) throws common::VCIError;
         //通过名称获取操作
         data::OperateInfo fetchOperateTypeByName(string name) throws common::VCIError;
         //获取模块下挂接的操作对象 onlyIsValid 参数表示是否仅仅返回是生效的操作 true:是 false :不是(此时返回模块下全部的操作,仅在定义模块下的操作时需要返回全部的操作,其它情况需要均只需要返回生效的操作)
         data::FuncOperationInfoList getFuncOperationByModule(string funcitonId,string operateId, bool onlyIsValid) throws common::VCIError;
         //通过操作标识和模块ID获取挂接关系
         data::FuncOperationInfo getFuncOperationByIdentify(string funcId,string identify) throws common::VCIError;
         //保存模块下的操作
         bool saveFuncOperation(data::FuncOperationInfoList funcOperationInfos,common::data::UserEntityInfo userEntity) throws common::VCIError;
         //修改模块下操作别名
         bool updateFuncOperation(string id, string alias, bool isSelected, common::data::UserEntityInfo userEntity) throws common::VCIError;
         //删除模块下的操作
         bool deleteFuncOperation(data::FuncOperationInfo funcOperation,common::data::UserEntityInfo userEntity) throws common::VCIError;
         //保存角色权限,通过用户名区分权限类型
         bool saveRoleRight(data::RoleRightInfoList roleRightInfos,string roleId,string userName,common::data::UserEntityInfo userEntity) throws common::VCIError;
         //增加角色权限,通过用户名区分权限类型
         bool addRoleRight(data::RoleRightInfoList roleRightInfos,string roleId,string userName,common::data::UserEntityInfo userEntity) throws common::VCIError;
         //获取角色权限,通过用户名区分权限类型
         data::RoleRightInfoList getRoleRightList(string roleId,string userName) throws common::VCIError;
         //根据授权角色的类型获取权限
         data::RoleRightInfoList getRoleRightListByType(common::data::StringArray rightType) throws common::VCIError;
         //删除角色权限,weidy@2018-10-12
         bool removeRoleRight(data::RoleRightInfoList roleRightInfos,string roleId,string userName,common::data::UserEntityInfo userEntity) throws common::VCIError;
         //清空角色权限,weidy@2019-01-24
         bool clearRoleRight(string roleId,string userName,common::data::UserEntityInfo userEntity, short functionType) throws common::VCIError;
         //获取用户对当前模块的权限值
         data::RoleRightInfoList getRoleRightByModule(string funcId,string userName) throws common::VCIError;
         //获取当前用户的权限
         data::RoleRightInfoList getRoleRightByUserName(string userName) throws common::VCIError;
         //获取当前用户的具有的功能模块权限
         data::RoleRightInfoList getFunctionRoleRightByUserName(string userName) throws common::VCIError;
      // 是否启用用户权限校验
      bool userSecuritySwith() throws common::VCIError;
      // 是否启用机器权限校验
      bool ipSecuritySwitch() throws common::VCIError;
      // 是否默认有权
      string defaultHasRight() throws common::VCIError;
         /***************************系统功能模块end**************************/
         /**日志管理模块**/
         //获取日志删除配置,true表示自动,false表示手动
         bool getIsAutoDelete() throws common::VCIError;
         //初始化下拉框,获取配置好的值
         data::LogPeriodInfoList getPeriods() throws common::VCIError;
         //获取日志页面显示条数
         long getPageSize() throws common::VCIError;
         //获取当前查询日志的总条数
         long getSumLogRows(string sql) throws common::VCIError;
         //获取当前查询的日志集合
         data::LogInfoList fetchLogInfo(long pageNo, long pagesize,string sql) throws common::VCIError;
         //保存日志保存期限
         bool savePeriod(data::SystemCfgInfo period,common::data::UserEntityInfo userEntity) throws common::VCIError;
         //获取当前日志保存期限
         long getCurPeriod(string type) throws common::VCIError;
         //删除日志
         bool deleteLog(string deleteDate) throws common::VCIError;
         //根据查询条件获取日志信息
         data::LogInfoList getLogListByContion(long pageNo,long pagesize,string sql) throws common::VCIError;
         /**获取所有部门**/
         data::DeptInfoList fetchDepartmentInfo() throws common::VCIError;
         data::DeptInfoList fetchDeptByUserNames(common::data::StringArray userNames) throws common::VCIError;
         /**根据id获取部门**/
         data::DeptInfo fetchDepartmentInfoById(string id) throws common::VCIError;
         /**根据人员id获取部门**/
         data::DeptInfo fetchDeptByUserId(string userId) throws common::VCIError;
         data::DeptInfo fetchDeptByDeptName(string deptName) throws common::VCIError;
         data::DeptInfo fetchDeptByParentIdAndName(string parentId,string deptName) throws common::VCIError;
         /**获取顶级部门**/
         data::DeptInfoList fetchDepartmentInfoRoot() throws common::VCIError;
         /**获取部门下的子部门**/
         data::DeptInfoList fetchDepartmentInfoByParentId(string prtoid) throws common::VCIError;
         /**根据id获取部门及其子部门**/
         data::DeptInfoList fetchDepartmentInfosById(string id) throws common::VCIError;
         data::DeptInfoList fetchDepartmentInfosBySonId(string id) throws common::VCIError;
         //根据部门id获取用户信息
         data::UserInfoList getUserByDeptId(string deptId)throws common::VCIError;
         /** 根据ID返回角色对象**/
         data::RoleInfo fetchRoleInfoById(string roleId) throws common::VCIError;
         data::RoleInfo fetchRoleByName(string name) throws common::VCIError;
         /**获取所有的角色**/
         data::RoleInfoList fetchRoleInfo() throws common::VCIError;
         /**根据用户类型获取角色**/
         data::RoleInfoList fetchRoleInfoByType(short type) throws common::VCIError;
         /**根据角色类型获取角色**/
         data::RoleInfoList fetchRoleInfoByRoleType(short type) throws common::VCIError;
         /**送检设备角色**/
         data::RoleInfoList getRoleListByTypeForMeasure(short type) throws common::VCIError;
         /**根据用户ID获取角色**/
         data::RoleInfoList fetchRoleInfoByUserId(string userId) throws common::VCIError;
         /**根据用户名获取角色**/
         data::RoleInfoList fetchRoleInfoByUserName(string userName) throws common::VCIError;
         /**根据用户名获取角色的分页实现**/
         data::RoleInfoList fetchRoleInfoByUserNameAndPage(long pageNo,long pageSize,string userName) throws common::VCIError;
         /**根据比用户类型低的角色**/
         data::RoleInfoList fetchRoleInfoByUserType(string userName) throws common::VCIError;
         /**根据用户名获取角色总数**/
         long getRoleTotalByUserName(string userName) throws common::VCIError;
         /**根据型号获取该型号下的型号总师**/
         data::UserInfoList fetchUserInfoByModel(string model) throws common::VCIError;
         /**根据型号获取该型号下的型号总师**/
         data::UserInfoList fetchUserInfoByModelId(string modelId) throws common::VCIError;
         /**获取所有的成员**/
         data::UserInfoList fetchUserInfo() throws common::VCIError;
         /**获取除去admin,developer,三员外所有的普通成员**/
         data::UserInfoList fetchUserInfoWithOutSanYuan() throws common::VCIError;
         /**根据条件查询用户**/
         data::UserInfoList fetchUserInfoByCondition(string searchName ,string searchUserName ,string deptId,
                     string roleId, string userName,long pageNo,long pageSize ) throws common::VCIError;
         //add by caill 2016.9.26
         data::UserInfoList fetchUserInfoByConditionUnited(string searchName ,string searchUserName ,string deptId,
                     string roleId, string userName,long pageNo,long pageSize ) throws common::VCIError;
         data::UserInfoList fetchNoramlUserInfoByConditionUnited(string searchName ,string searchUserName ,string deptId,
                     string roleId, string userName,long pageNo,long pageSize ) throws common::VCIError;
         data::UserInfoList fetchNormalUserInfoByCondition(string searchName ,string searchUserName ,string deptId,
                     string roleId, string userName,long pageNo,long pageSize ) throws common::VCIError;
         /**根据条件获取人员总数**/
         long getUserTotalByCondition(string searchName ,string searchUserName ,string deptId,
                     string roleId, string userName) throws common::VCIError;
         long getNormalUserTotalByCondition(string searchName ,string searchUserName ,string deptId,
                     string roleId, string userName) throws common::VCIError;
         /**获取所有的成员**/
         data::UserInfoList fetchUserInfoByType(short type) throws common::VCIError;
         /**根据用户名获取成员**/
         data::UserInfo fetchUserInfoByName(string userName) throws common::VCIError;
         /**根据文件柜Id和成员类型获取成**/
         data::UserInfoList fetchUserInfoByPvolumeId(string pvolumeId , short type) throws common::VCIError;
         /**根据角色Id和成员类型获取成**/
         data::UserInfoList fetchUserInfoByRoleId(string roleId , short type) throws common::VCIError;
         data::UserInfoList fetchUsersByRoleId(string roleId) throws common::VCIError;
         data::UserInfoList fetchUserInfoByDeptAndRole(common::data::StringArray deptIds , common::data::StringArray roleIds) throws common::VCIError;
         /**创建文件柜和用户的关**/
         bool savePvolumeUser(string pvolumId , common::data::StringArray userIds ,common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**创建角色和用户的关系**/
         bool saveRight(string roleId , common::data::StringArray userIds ,common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**创建部门和用户的关系**/
         bool saveRighForDept(string deptId , common::data::StringArray userIds ,common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**创建角色和用户的关系**/
         bool saveRights(common::data::StringArray roleIds , common::data::StringArray userIds ,common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**创建角色和用户的关系**/
         bool saveUserDept(common::data::StringArray userIds , string deptId ,common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**增加部门**/
         string saveDepartment(data::DeptInfo dept,common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**批量保存**/
         bool batchSaveDepart(data::DeptInfoList deptInfo,common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**增加角色**/
         string saveRole(data::RoleInfo role,common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**用于验证角色是否被引用**/
         long checkRoleIsquotedCount(string id )throws common::VCIError;
         data::UserInfoList selectUserByRoleId(string id) throws common::VCIError;
         /**增加成员**/
         string saveUser(data::UserInfo user,common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**批量增加成员*/
         bool batchSaveUsers(data::UserInfoList userInfos,common::data::StringArray2D deptAndUserRelation,common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**修改部门**/
         bool updateDepartment(data::DeptInfo dept, common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**修改角色**/
         bool updateRole(data::RoleInfo role, common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**修改成员**/
         bool updateUser(data::UserInfo user, common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**修改成员**/
         bool saveOrUpdateUser(data::UserInfo user, common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**更新部门的父ID**/
         bool updateDeptParentId(string id, string parentId, common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**修改用户密码**/
         string modifyUserPassword(string idUser, string oldPW, string newPW, common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**删除部门**/
         bool deleteDepartment(common::data::StringArray ids , common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**删除角色**/
         bool deleteRole(common::data::StringArray ids , common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**删除成员**/
         bool deleteUser(common::data::StringArray ids , common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**停用/启用**/
         bool stopUsers(common::data::StringArray ids ,bool flag, common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**系统配置模块**/
         //保存特殊字符分类
         string saveSpecialCharClsf(data::SpecialCharClsfInfo specialCharClsf, common::data::UserEntityInfo userEntity) throws common::VCIError;
         //删除特殊字符分类
         bool deletSpecialCharClsf(common::data::StringArray ids, common::data::UserEntityInfo userEntity)  throws common::VCIError;
         //更新特殊字符分类
         bool updateSpecialCharClsf(data::SpecialCharClsfInfo specialCharClsf, common::data::UserEntityInfo userEntity) throws common::VCIError;
         //获取特殊字符分类
         data::SpecialCharClsfInfoList getSpecialCharClsfList(long pageNo,long pageSize) throws common::VCIError;
         //获取特殊字符分类
         data::SpecialCharClsfInfoList getAllSpecialCharClsfList() throws common::VCIError;
         //获取特殊字符分类总数
         long getSpecialCharClsTotal()throws common::VCIError;
         //根据分类获取字符
         data::SpecialCharInfoList getBychar(string plscsfoId) throws common::VCIError;
         //保存特殊字符
         string saveSpecialChar(data::SpecialCharInfoList specialCharInfos, common::data::UserEntityInfo userEntity) throws common::VCIError;
         //删除特殊字符
         bool deletSpecialChar(common::data::StringArray ids, common::data::UserEntityInfo userEntity)  throws common::VCIError;
         //删除PID特殊字符
         bool deleteSpecialCharByParentId(string id, common::data::UserEntityInfo userEntity)  throws common::VCIError;
         //更新特殊字符
         bool updateSpecialChar(data::SpecialCharInfo specialChar, common::data::UserEntityInfo userEntity) throws common::VCIError;
         //获取特殊字符
         data::SpecialCharInfoList fetchSpecialChar(string classId) throws common::VCIError;
         //获取所有的密码策略
         data::PasswordStrategyInfoList fetchAllPasswordStrategy()throws common::VCIError;
         //获取密码策略的分页处理
         data::PasswordStrategyInfoList fetchAllPasswordStrategyByPage(long pageNo,long pageSize)throws common::VCIError;
         //获取密码策略总数
         long getPasswordStrategyTotal()throws common::VCIError;
         //保存密码策略
         bool savePasswordStrategy(data::PasswordStrategyInfo info, common::data::UserEntityInfo userEntity) throws common::VCIError;
         //修改密码策略
         bool editPasswordStrategy(data::PasswordStrategyInfo info, common::data::UserEntityInfo userEntity) throws common::VCIError;
         //删除密码策略
         bool deletePasswordStrategy(common::data::StringArray ids, common::data::UserEntityInfo userEntity) throws common::VCIError;
         //验证密码策略是否被引用
         long checkPasswordStrategyIsquotedCount(string id)throws common::VCIError;
         //根据人员 获取密码策略
         data::PasswordStrategyInfo fetchPasswordStrategyByUserId(string userId)throws common::VCIError;
         // 根据用户检查密码是否符合密码策略
         string checkPasswordStrategyByUserId(string userId, string password, common::data::UserEntityInfo userEnt) throws common::VCIError;
         /**创建密码策略和用户的关系**/
         bool saveUserPasswordStrateg(common::data::StringArray userIds , string passwordStrategId ,common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**根据登录用户名获取登录账户信息**/
         data::UserLogonInfo fetchUserLogonObj(string userId) throws common::VCIError;
         //获取时间
         long getSystemTime() throws common::VCIError;
         /**更新登录信息**/
         void updateLogonInfo(string userId,bool flag)throws common::VCIError;
         //解锁
         void deblock(common::data::StringArray ids , common::data::UserEntityInfo userEntity) throws common::VCIError;
         //通过ID取得操作类型信息
         data::OperateInfo getOperatetById(string id) throws common::VCIError;
         //简单记录系统登入/登出日志
         void savelog(string content, common::data::UserEntityInfo userEntity) throws common::VCIError;
         void saveLogV2(string result, string content, string type, short logTypeIntVal, string dataObjOid, common::data::UserEntityInfo userEntity) throws common::VCIError;
         void savelogfail(string content, common::data::UserEntityInfo userEntity) throws common::VCIError;
         //add by caill简单记录用户被锁定日志信息
         void blocklog(string userId, common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**获取所有的密码组合方式**/
         data::CombinationInfoList fetchAllCombinations() throws common::VCIError;
         /**分页查询密码组合方式**/
         data::CombinationInfoList fetchCombinationsToPage(long  pageIndex, long pageSize) throws common::VCIError;
         /**添加密码组合方式**/
         string saveCombination(data::CombinationInfo combination ,common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**修改密码组合方式**/
         bool updateCombination(data::CombinationInfo combination ,common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**删除密码组合方式**/
         bool deleteCombination(common::data::StringArray ids , common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**通过父id 获取组合方式取值范围**/
         data::CombinationValueInfoList fetchCombinationValuesByParentId(string parentId) throws common::VCIError;
         /**添加密码组合方式取值范围**/
         string saveCombinationValue(data::CombinationValueInfoList combinationValues ,common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**修改密码组合方式取值范围**/
         bool updateCombinationValue(data::CombinationValueInfo combinationValue, common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**删除密码组合方式取值范围**/
         bool deletCombinationValues(common::data::StringArray ids , common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**根据密码策略id 获取关联的密码组合方式**/
         data::CombinationInfoList fetchCombinationsByPstId(string pstId) throws common::VCIError;
         /**检验密码组合方式是否被密码策略引用**/
         long checkCombinationIsquotedCount(string combinationd )throws common::VCIError;
         /**保存三员和成员**/
         bool saveSpecialRole(string roleId , common::data::StringArray userIds ,common::data::UserEntityInfo userEntity) throws common::VCIError;
         //三员登录的模块信息
         //data::SpecialRoleInfoList getSpecialRoleList()  throws common::VCIError;
         //查询所有的子节点 add by caill
         common::data::StringArray2D checkLevel() throws common::VCIError;
         //导入功能模块管理数据 add by caill
         bool importModules(data::FunctionInfoList functionInfos,common::data::UserEntityInfo userEntity) throws common::VCIError;
         //保存操作模块关系对象 add by caill
         string saveFunOper(data::FuncOperationInfo funcOperation) throws common::VCIError;
         //add by caill
         bool saveFuncOperation2(data::FuncOperationInfo funcOperation,common::data::UserEntityInfo userEntity) throws common::VCIError;
         //判断第一级有没有重名的模块 add by caill
         bool firstLevel(string plName) throws common::VCIError;
         //覆盖重名的第一级 add by caill
         string changeFirstLevel(data::FunctionInfo function,string plName) throws common::VCIError;
         //判断第二级有没有重名的模块 add by caill
         bool secondLevel(string plName,string fParentId) throws common::VCIError;
         //覆盖重名的第二级 add by caill
         string changeSecondLevel(data::FunctionInfo function,string plName,string fParentId) throws common::VCIError;
         //判断模块中是否已经存在此操作类型 add by caill
         bool selSameOper(string dataOperName,string plFuncOid) throws common::VCIError;
         //覆盖操作类型 add by caill
         bool updateOperation(data::FuncOperationInfo funcOperation,common::data::UserEntityInfo userEntity,string dataOperName,string plFuncOid) throws common::VCIError;
         //
         common::data::StringArray2D getAllDatas(long size) throws common::VCIError;
         //
         long getAllOperitionsNum() throws common::VCIError;
         //
         common::data::StringArray2D getAllOperitions(long size) throws common::VCIError;
         //
         long getAllModelManagementNum() throws common::VCIError;
         //add by caill 2016.1.19批量增加角色*/
         bool batchSaveRoles(data::RoleInfoList roles,common::data::UserEntityInfo userEntity) throws common::VCIError;
         //保存一般操作类型日志
         void savelogGeneralOperation(string result, string content, common::data::UserEntityInfo userEntity,string dataId,string plType) throws common::VCIError;
         //获取数据库信息
         data::DataSourceInfo getDataSourceInfo() throws common::VCIError;
         //add by weidy 2021-1-2 把谢军添加的角色选择等接口整合进来
         /**根据id获取部门**/
         data::DeptInfoList fetchDepartmentInfoByIds(string otherFiterString) throws common::VCIError;
         /****根据查询条件获取下级部门***/
         data::DeptInfoList fetchChildrenDeptByParentOid(string prtoid,bool iscontains, string otherFiterString) throws common::VCIError;
         /***获取部门列表信息****/
         data::DeptInfoList gridDeptDataGrids(string filter,long pageNo,long pageSize)throws common::VCIError;
         long gridDeptDataGridsCount(string filter)throws common::VCIError;
         data::RoleInfoList queryRoleInfos(string filter,long pageNo,long pageSize)throws common::VCIError;
         long queryRoleInfosCount(string filter)throws common::VCIError;
         /****根据条件查询除去admin,developer,三员外所有的普通成员**/
         data::UserInfoList fetchUserInfoByFilterString( string filterString,long pageNo,long pageSize ) throws common::VCIError;
         long  fetchUserInfoByFilterStringCount( string filterString) throws common::VCIError;
         /****根据条件查询除去admin,developer,三员外所有的普通成员**/
         data::UserInfoList fetchUserInfosByFilterStringsql( string filterString) throws common::VCIError;
         /**根据用户名批量获取成员**/
         data::UserInfoList fetchUserInfoByNames(common::data::StringArray  userNames) throws common::VCIError;
         /**根据用户主键获取成员**/
         data::UserInfo getUserObjectByoid(string userOid) throws common::VCIError;
         /**根据用户主键批量获取成员**/
         data::UserInfoList getUserObjectByoids(common::data::StringArray userOid) throws common::VCIError;
         //=====================================================================================
         /**专业信息操作接口**/
         // 获取所有专业信息
         data::SpecialtyInfoList getAllSpecialtyInfo() throws common::VCIError;
         // 增加专业
         string saveSpecialty(data::SpecialtyInfo specialty,common::data::UserEntityInfo userEnt) throws common::VCIError;
         /**批量增加专业*/
         bool batchSaveSpecialties(data::SpecialtyInfoList specialties, common::data::UserEntityInfo userEnt) throws common::VCIError;
         /**修改专业**/
         bool updateSpecialty(data::SpecialtyInfo specialty, common::data::UserEntityInfo userEnt) throws common::VCIError;
         /**批量修改专业**/
         bool batchUpdateSpecialty(data::SpecialtyInfoList specialties, common::data::UserEntityInfo userEnt) throws common::VCIError;
         //删除专业
         bool deletSpecialty(common::data::StringArray ids, common::data::UserEntityInfo userEnt)  throws common::VCIError;
         //=====================================================================================
         /**机器密级信息操作接口**/
         // 获取机器密级信息总数
         long getMachSecurityTolal() throws common::VCIError;
         // 获取符合条件的机器密级信息总数
         long getMachSecurityTolalByCondition(string name, string ipAddress, short security) throws common::VCIError;
         // 获取所有机器密级信息
         data::MachSecurityInfoList getAllMachSecurity() throws common::VCIError;
         // 分页查询获取所有机器密级信息
         data::MachSecurityInfoList fetchMachSecurityByPage(long pageNo, long pageSize)throws common::VCIError;
         // 分页查询获取所有机器密级信息,按条件
         data::MachSecurityInfoList fetchMachSecurityConditionByPage(string name, string ipAddress, short security, long pageNo, long pageSize)throws common::VCIError;
         // 增加机器密级
         string saveMachSecurity(data::MachSecurityInfo info,common::data::UserEntityInfo userEnt) throws common::VCIError;
         /**批量增加机器密级*/
         bool batchSaveMachSecurity(data::MachSecurityInfoList infos, common::data::UserEntityInfo userEnt) throws common::VCIError;
         /**修改机器密级**/
         bool updateMachSecurity(data::MachSecurityInfo info, common::data::UserEntityInfo userEnt) throws common::VCIError;
         /**批量修改机器密级**/
         bool batchUpdateMachSecurity(data::MachSecurityInfoList infos, common::data::UserEntityInfo userEnt) throws common::VCIError;
         //删除机器密级
         bool deletMachSecurity(common::data::StringArray ids, common::data::UserEntityInfo userEnt)  throws common::VCIError;
         //获取机器密级, type=0 未使用
         long getMachSecurity(string ipAddress, short type, common::data::UserEntityInfo userEnt)  throws common::VCIError;
         //获取机器密级信息, type=0 未使用
         data::MachSecurityInfo getMachSecurityInfo(string ipAddress, short type, common::data::UserEntityInfo userEnt)  throws common::VCIError;
         //=====================================================================================
         /**数据授权接口**/
         //保存数据授权
         bool saveGrand(data::GrandValueArray values) throws common::VCIError;
         //查询数据授权
         data::GrandValueArray queryGrand(string identifier) throws common::VCIError;
         //删除数据授权
         bool deleteGrand(string ruleName)throws common::VCIError;
         //删除类型数据授权
         bool deleteTypeRuleGrand(string identifier,string ruleName)throws common::VCIError;
         // 检查权限
         string checkRight(data::CheckValue value) throws common::VCIError;
         //=====================================================================================
         /**卷管理**/
         /**读取所有的卷**/
         data::PvolumeInfoList getAllPvolumes() throws common::VCIError;
         // 查询默认卷
         data::PvolumeInfo getDefaultVolume() throws common::VCIError;
         // 读取指定名称的卷
         data::PvolumeInfo getVolumnByName(string volName) throws common::VCIError;
         /**分页读取卷**/
         data::PvolumeInfoList getPvolumesPage(short  pageSize, short pageIndex) throws common::VCIError;
         /**卷创建**/
         string savePvolume(data::PvolumeInfo vol, common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**卷修改**/
         bool updatePvolume(data::PvolumeInfo vol, common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**卷删除**/
         bool deletePvolume(common::data::StringArray ids, common::data::UserEntityInfo userEntity) throws common::VCIError;
         /**检查要删除的卷是否为首选路径**/
         bool checkIsvalid(string id) throws common::VCIError;
         /**修改卷,将系统中的其他卷设置为非首选 0**/
         void updatePvolumeInvalid(common::data::UserEntityInfo userEntity) throws common::VCIError;
      //flag:nonsys删除非系统模块
      //flag:business删除业务模块
      bool deleteModules(string flag)throws common::VCIError;
      common::data::StringArray getClientDeployJarPath() throws common::VCIError;
      
      }//end interface
   }//method
      /** AppConfigCategory 对象接口 **/
      // 添加、保存 AppConfigCategory 对象
      string saveAppConfigCategory(data::AppConfigCategoryInfo info, common::data::UserEntityInfo userEntity) throws common::VCIError;
      // 修改、更新 AppConfigCategory 对象
      bool updateAppConfigCategory(data::AppConfigCategoryInfo info, common::data::UserEntityInfo userEntity) throws common::VCIError;
      // 根据ID删除  AppConfigCategory 对象(批量)
      bool deleteAppConfigCategory(common::data::StringArray ids, common::data::UserEntityInfo userEntity) throws common::VCIError;
      // 返回全部  AppConfigCategory 对象
      data::AppConfigCategoryInfoList getAppConfigCategorys(common::data::UserEntityInfo userEntity) throws common::VCIError;
      // 根据ID返回  AppConfigCategory 对象
      data::AppConfigCategoryInfo getAppConfigCategoryById(string id, common::data::UserEntityInfo userEntity) throws common::VCIError;
      /** AppConfigDetail 对象接口 **/
      // 添加、保存 AppConfigDetail 对象
      string saveAppConfigDetail(data::AppConfigDetailInfo info, common::data::UserEntityInfo userEntity) throws common::VCIError;
      // 修改、更新 AppConfigDetail 对象
      bool updateAppConfigDetail(data::AppConfigDetailInfo info, common::data::UserEntityInfo userEntity) throws common::VCIError;
      // 根据ID删除  AppConfigDetail 对象(批量)
      bool deleteAppConfigDetail(common::data::StringArray ids, common::data::UserEntityInfo userEntity) throws common::VCIError;
      // 返回全部  AppConfigDetail 对象
      data::AppConfigDetailInfoList getAppConfigDetails(common::data::UserEntityInfo userEntity) throws common::VCIError;
      // 返回指定分类的全部  AppConfigDetail 对象
      data::AppConfigDetailInfoList getAppConfigDetailsByCatId(string clsfId, common::data::UserEntityInfo userEntity) throws common::VCIError;
      data::AppConfigDetailInfoList getAppConfigDetailsByCategory(string catName, common::data::UserEntityInfo userEntity) throws common::VCIError;
      // 根据ID返回  AppConfigDetail 对象
      data::AppConfigDetailInfo getAppConfigDetailById(string id, common::data::UserEntityInfo userEntity) throws common::VCIError;
      // 根据配置Key返回  AppConfigDetail 对象
      data::AppConfigDetailInfo getAppConfigDetailByKey(string key, common::data::UserEntityInfo userEntity) throws common::VCIError;
      // 根据配置Key返回  AppConfigDetail 对象
      data::AppConfigDetailInfoList getAppConfigDetailsByName(string name, common::data::UserEntityInfo userEntity) throws common::VCIError;
      /** 根据key获取conf.properties中的参数值
         fileResourcePath:资源文件路径
         比如:/properties/conf.properties,xxx.properties 文件在项目主目录的properties文件夹下
         或者:properties/xxx.properties,xxx.properties 文件在src/properties/文件夹下
         如果传入空值,则从 /properties/conf.properties 中读取
         key:
      **/
      string getConfigValue(string key) throws common::VCIError;
      //得到一个随即的36位数
      string getRandomGUID36() throws common::VCIError;
      /***************************系统功能模块start**************************/
      //保存模块
      string saveModule(data::FunctionInfo function,common::data::UserEntityInfo userEntity) throws common::VCIError;
      //更新模块
      string updateModule(data::FunctionInfo function,common::data::UserEntityInfo userEntity) throws common::VCIError;
      //删除模块
      string deleteModule(string moduleId,common::data::UserEntityInfo userEntity) throws common::VCIError;
      //获取自动生成的编号
      //long getAutoModuleNo() throws common::VCIError;
      //获取子级模块
      data::FunctionInfoList getModuleListByParentId(string parentId,bool isAll) throws common::VCIError;
      data::FunctionInfoList getModuleListByParentIdForBS(string parentId,bool isAll) throws common::VCIError;
      data::FunctionInfoList getModuleListByParentIdForCS(string parentId,bool isAll) throws common::VCIError;
      //获取所有子级模块
      data::FunctionInfoList getChildrenFunctionsByParentId(string parentId,bool isAll) throws common::VCIError;
      //获取用户有权限的子级模块列表
      data::FunctionInfoList getModuleListByRoleRight(string parentId,string userName) throws common::VCIError;
      data::FunctionInfoList getModuleListByRoleRightForBS(string parentId,string userName) throws common::VCIError;
      //根据class查询模块对象
      data::FunctionInfo getModuleByClass(string classPath) throws common::VCIError;
      //根据funcOid查询模块对象
      data::FunctionInfo getFunctionObjectById(string funcOid) throws common::VCIError;
      //根据模块名称查询模块对象
      data::FunctionInfo getModuleByName(string moduleName) throws common::VCIError;
      //检查模块下是挂接模块还是挂接操作,true为挂接模块
      long checkChildObject(string moduleId) throws common::VCIError;
      //保存操作
      string saveOperate(data::OperateInfo operate,common::data::UserEntityInfo userEntity) throws common::VCIError;
      //修改操作
      string updateOperate(data::OperateInfo operate,common::data::UserEntityInfo userEntity) throws common::VCIError;
      //删除操作
      bool deleteOperate(string id,common::data::UserEntityInfo userEntity) throws common::VCIError;
      //获取全部操作列表(参数模块ID不为空的时候获取除该模块下操作之外的全部操作)
      data::OperateInfoList getOperateTreeList(string moduleId) throws common::VCIError;
      //检查操作是否被引用
      long checkOperateIsReferenced(string operateId) throws common::VCIError;
      //通过标识获取操作
      data::OperateInfo getOperateByIdentify(string identify) throws common::VCIError;
      //通过名称获取操作
      data::OperateInfo fetchOperateTypeByName(string name) throws common::VCIError;
      //获取模块下挂接的操作对象 onlyIsValid 参数表示是否仅仅返回是生效的操作 true:是 false :不是(此时返回模块下全部的操作,仅在定义模块下的操作时需要返回全部的操作,其它情况需要均只需要返回生效的操作)
      data::FuncOperationInfoList getFuncOperationByModule(string funcitonId,string operateId, bool onlyIsValid) throws common::VCIError;
      //通过操作标识和模块ID获取挂接关系
      data::FuncOperationInfo getFuncOperationByIdentify(string funcId,string identify) throws common::VCIError;
      //保存模块下的操作
      bool saveFuncOperation(data::FuncOperationInfoList funcOperationInfos,common::data::UserEntityInfo userEntity) throws common::VCIError;
      //修改模块下操作别名
      bool updateFuncOperation(string id, string alias, bool isSelected, common::data::UserEntityInfo userEntity) throws common::VCIError;
      //删除模块下的操作
      bool deleteFuncOperation(data::FuncOperationInfo funcOperation,common::data::UserEntityInfo userEntity) throws common::VCIError;
      //保存角色权限,通过用户名区分权限类型
      bool saveRoleRight(data::RoleRightInfoList roleRightInfos,string roleId,string userName,common::data::UserEntityInfo userEntity) throws common::VCIError;
      //增加角色权限,通过用户名区分权限类型
      bool addRoleRight(data::RoleRightInfoList roleRightInfos,string roleId,string userName,common::data::UserEntityInfo userEntity) throws common::VCIError;
      //获取角色权限,通过用户名区分权限类型
      data::RoleRightInfoList getRoleRightList(string roleId,string userName) throws common::VCIError;
      //根据授权角色的类型获取权限
      data::RoleRightInfoList getRoleRightListByType(common::data::StringArray rightType) throws common::VCIError;
      //删除角色权限,weidy@2018-10-12
      bool removeRoleRight(data::RoleRightInfoList roleRightInfos,string roleId,string userName,common::data::UserEntityInfo userEntity) throws common::VCIError;
      //清空角色权限,weidy@2019-01-24
      bool clearRoleRight(string roleId,string userName,common::data::UserEntityInfo userEntity, short functionType) throws common::VCIError;
      //获取用户对当前模块的权限值
      data::RoleRightInfoList getRoleRightByModule(string funcId,string userName) throws common::VCIError;
      //获取当前用户的权限
      data::RoleRightInfoList getRoleRightByUserName(string userName) throws common::VCIError;
      //获取当前用户的具有的功能模块权限
      data::RoleRightInfoList getFunctionRoleRightByUserName(string userName) throws common::VCIError;
      /***************************系统功能模块end**************************/
      /**获取所有部门**/
      data::DeptInfoList fetchDepartmentInfo() throws common::VCIError;
      data::DeptInfoList fetchDeptByUserNames(common::data::StringArray userNames) throws common::VCIError;
      /**根据id获取部门**/
      data::DeptInfo fetchDepartmentInfoById(string id) throws common::VCIError;
      /**根据人员id获取部门**/
      data::DeptInfo fetchDeptByUserId(string userId) throws common::VCIError;
      data::DeptInfo fetchDeptByDeptName(string deptName) throws common::VCIError;
      data::DeptInfo fetchDeptByParentIdAndName(string parentId,string deptName) throws common::VCIError;
      /**获取顶级部门**/
      data::DeptInfoList fetchDepartmentInfoRoot() throws common::VCIError;
      /**获取部门下的子部门**/
      data::DeptInfoList fetchDepartmentInfoByParentId(string prtoid) throws common::VCIError;
      /**根据id获取部门及其子部门**/
      data::DeptInfoList fetchDepartmentInfosById(string id) throws common::VCIError;
      data::DeptInfoList fetchDepartmentInfosBySonId(string id) throws common::VCIError;
      //根据部门id获取用户信息
      data::UserInfoList getUserByDeptId(string deptId)throws common::VCIError;
      /** 根据ID返回角色对象**/
      data::RoleInfo fetchRoleInfoById(string roleId) throws common::VCIError;
      data::RoleInfo fetchRoleByName(string name) throws common::VCIError;
      /**获取所有的角色**/
      data::RoleInfoList fetchRoleInfo() throws common::VCIError;
      /**根据用户类型获取角色**/
      data::RoleInfoList fetchRoleInfoByType(short type) throws common::VCIError;
      /**根据角色类型获取角色**/
      data::RoleInfoList fetchRoleInfoByRoleType(short type) throws common::VCIError;
      /**送检设备角色**/
      data::RoleInfoList getRoleListByTypeForMeasure(short type) throws common::VCIError;
      /**根据用户ID获取角色**/
      data::RoleInfoList fetchRoleInfoByUserId(string userId) throws common::VCIError;
      /**根据用户名获取角色**/
      data::RoleInfoList fetchRoleInfoByUserName(string userName) throws common::VCIError;
      /**根据用户名获取角色的分页实现**/
      data::RoleInfoList fetchRoleInfoByUserNameAndPage(long pageNo,long pageSize,string userName) throws common::VCIError;
      /**根据比用户类型低的角色**/
      data::RoleInfoList fetchRoleInfoByUserType(string userName) throws common::VCIError;
      /**根据用户名获取角色总数**/
      long getRoleTotalByUserName(string userName) throws common::VCIError;
      /**根据型号获取该型号下的型号总师**/
      data::UserInfoList fetchUserInfoByModel(string model) throws common::VCIError;
      /**根据型号获取该型号下的型号总师**/
      data::UserInfoList fetchUserInfoByModelId(string modelId) throws common::VCIError;
      /**获取所有的成员**/
      data::UserInfoList fetchUserInfo() throws common::VCIError;
      /**获取除去admin,developer,三员外所有的普通成员**/
      data::UserInfoList fetchUserInfoWithOutSanYuan() throws common::VCIError;
      /**根据条件查询用户**/
      data::UserInfoList fetchUserInfoByCondition(string searchName ,string searchUserName ,string deptId,
                  string roleId, string userName,long pageNo,long pageSize ) throws common::VCIError;
      //add by caill 2016.9.26
      data::UserInfoList fetchUserInfoByConditionUnited(string searchName ,string searchUserName ,string deptId,
                  string roleId, string userName,long pageNo,long pageSize ) throws common::VCIError;
      data::UserInfoList fetchNoramlUserInfoByConditionUnited(string searchName ,string searchUserName ,string deptId,
                  string roleId, string userName,long pageNo,long pageSize ) throws common::VCIError;
      data::UserInfoList fetchNormalUserInfoByCondition(string searchName ,string searchUserName ,string deptId,
                  string roleId, string userName,long pageNo,long pageSize ) throws common::VCIError;
      /**根据条件获取人员总数**/
      long getUserTotalByCondition(string searchName ,string searchUserName ,string deptId,
                  string roleId, string userName) throws common::VCIError;
      long getNormalUserTotalByCondition(string searchName ,string searchUserName ,string deptId,
                  string roleId, string userName) throws common::VCIError;
      /**获取所有的成员**/
      data::UserInfoList fetchUserInfoByType(short type) throws common::VCIError;
      /**根据用户名获取成员**/
      data::UserInfo fetchUserInfoByName(string userName) throws common::VCIError;
      /**根据文件柜Id和成员类型获取成**/
      data::UserInfoList fetchUserInfoByPvolumeId(string pvolumeId , short type) throws common::VCIError;
      /**根据角色Id和成员类型获取成**/
      data::UserInfoList fetchUserInfoByRoleId(string roleId , short type) throws common::VCIError;
      data::UserInfoList fetchUsersByRoleId(string roleId) throws common::VCIError;
      data::UserInfoList fetchUserInfoByDeptAndRole(common::data::StringArray deptIds , common::data::StringArray roleIds) throws common::VCIError;
      /**创建文件柜和用户的关**/
      bool savePvolumeUser(string pvolumId , common::data::StringArray userIds ,common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**创建角色和用户的关系**/
      bool saveRight(string roleId , common::data::StringArray userIds ,common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**创建部门和用户的关系**/
      bool saveRighForDept(string deptId , common::data::StringArray userIds ,common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**创建角色和用户的关系**/
      bool saveRights(common::data::StringArray roleIds , common::data::StringArray userIds ,common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**创建角色和用户的关系**/
      bool saveUserDept(common::data::StringArray userIds , string deptId ,common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**增加部门**/
      string saveDepartment(data::DeptInfo dept,common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**批量保存**/
      bool batchSaveDepart(data::DeptInfoList deptInfo,common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**增加角色**/
      string saveRole(data::RoleInfo role,common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**用于验证角色是否被引用**/
      long checkRoleIsquotedCount(string id )throws common::VCIError;
      data::UserInfoList selectUserByRoleId(string id) throws common::VCIError;
      /**增加成员**/
      string saveUser(data::UserInfo user,common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**批量增加成员*/
      bool batchSaveUsers(data::UserInfoList userInfos,common::data::StringArray2D deptAndUserRelation,common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**修改部门**/
      bool updateDepartment(data::DeptInfo dept, common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**修改角色**/
      bool updateRole(data::RoleInfo role, common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**修改成员**/
      bool updateUser(data::UserInfo user, common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**修改成员**/
      bool saveOrUpdateUser(data::UserInfo user, common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**更新部门的父ID**/
      bool updateDeptParentId(string id, string parentId, common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**修改用户密码**/
      string modifyUserPassword(string idUser, string oldPW, string newPW, common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**删除部门**/
      bool deleteDepartment(common::data::StringArray ids , common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**删除角色**/
      bool deleteRole(common::data::StringArray ids , common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**删除成员**/
      bool deleteUser(common::data::StringArray ids , common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**停用/启用**/
      bool stopUsers(common::data::StringArray ids ,bool flag, common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**系统配置模块**/
      //保存特殊字符分类
      string saveSpecialCharClsf(data::SpecialCharClsfInfo specialCharClsf, common::data::UserEntityInfo userEntity) throws common::VCIError;
      //删除特殊字符分类
      bool deletSpecialCharClsf(common::data::StringArray ids, common::data::UserEntityInfo userEntity)  throws common::VCIError;
      //更新特殊字符分类
      bool updateSpecialCharClsf(data::SpecialCharClsfInfo specialCharClsf, common::data::UserEntityInfo userEntity) throws common::VCIError;
      //获取特殊字符分类
      data::SpecialCharClsfInfoList getSpecialCharClsfList(long pageNo,long pageSize) throws common::VCIError;
      //获取特殊字符分类
      data::SpecialCharClsfInfoList getAllSpecialCharClsfList() throws common::VCIError;
      //获取特殊字符分类总数
      long getSpecialCharClsTotal()throws common::VCIError;
      //根据分类获取字符
      data::SpecialCharInfoList getBychar(string plscsfoId) throws common::VCIError;
      //保存特殊字符
      string saveSpecialChar(data::SpecialCharInfoList specialCharInfos, common::data::UserEntityInfo userEntity) throws common::VCIError;
      //删除特殊字符
      bool deletSpecialChar(common::data::StringArray ids, common::data::UserEntityInfo userEntity)  throws common::VCIError;
      //删除PID特殊字符
      bool deleteSpecialCharByParentId(string id, common::data::UserEntityInfo userEntity)  throws common::VCIError;
      //更新特殊字符
      bool updateSpecialChar(data::SpecialCharInfo specialChar, common::data::UserEntityInfo userEntity) throws common::VCIError;
      //获取特殊字符
      data::SpecialCharInfoList fetchSpecialChar(string classId) throws common::VCIError;
      //获取所有的密码策略
      data::PasswordStrategyInfoList fetchAllPasswordStrategy()throws common::VCIError;
      //获取密码策略的分页处理
      data::PasswordStrategyInfoList fetchAllPasswordStrategyByPage(long pageNo,long pageSize)throws common::VCIError;
      //获取密码策略总数
      long getPasswordStrategyTotal()throws common::VCIError;
      //保存密码策略
      bool savePasswordStrategy(data::PasswordStrategyInfo info, common::data::UserEntityInfo userEntity) throws common::VCIError;
      //修改密码策略
      bool editPasswordStrategy(data::PasswordStrategyInfo info, common::data::UserEntityInfo userEntity) throws common::VCIError;
      //删除密码策略
      bool deletePasswordStrategy(common::data::StringArray ids, common::data::UserEntityInfo userEntity) throws common::VCIError;
      //验证密码策略是否被引用
      long checkPasswordStrategyIsquotedCount(string id)throws common::VCIError;
      //根据人员 获取密码策略
      data::PasswordStrategyInfo fetchPasswordStrategyByUserId(string userId)throws common::VCIError;
      // 根据用户检查密码是否符合密码策略
      string checkPasswordStrategyByUserId(string userId, string password, common::data::UserEntityInfo userEnt) throws common::VCIError;
      /**创建密码策略和用户的关系**/
      bool saveUserPasswordStrateg(common::data::StringArray userIds , string passwordStrategId ,common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**根据登录用户名获取登录账户信息**/
      data::UserLogonInfo fetchUserLogonObj(string userId) throws common::VCIError;
      //获取时间
      long getSystemTime() throws common::VCIError;
      /**更新登录信息**/
      void updateLogonInfo(string userId,bool flag)throws common::VCIError;
      //解锁
      void deblock(common::data::StringArray ids , common::data::UserEntityInfo userEntity) throws common::VCIError;
      //通过ID取得操作类型信息
      data::OperateInfo getOperatetById(string id) throws common::VCIError;
      /**获取所有的密码组合方式**/
      data::CombinationInfoList fetchAllCombinations() throws common::VCIError;
      /**分页查询密码组合方式**/
      data::CombinationInfoList fetchCombinationsToPage(long  pageIndex, long pageSize) throws common::VCIError;
      /**添加密码组合方式**/
      string saveCombination(data::CombinationInfo combination ,common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**修改密码组合方式**/
      bool updateCombination(data::CombinationInfo combination ,common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**删除密码组合方式**/
      bool deleteCombination(common::data::StringArray ids , common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**通过父id 获取组合方式取值范围**/
      data::CombinationValueInfoList fetchCombinationValuesByParentId(string parentId) throws common::VCIError;
      /**添加密码组合方式取值范围**/
      string saveCombinationValue(data::CombinationValueInfoList combinationValues ,common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**修改密码组合方式取值范围**/
      bool updateCombinationValue(data::CombinationValueInfo combinationValue, common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**删除密码组合方式取值范围**/
      bool deletCombinationValues(common::data::StringArray ids , common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**根据密码策略id 获取关联的密码组合方式**/
      data::CombinationInfoList fetchCombinationsByPstId(string pstId) throws common::VCIError;
      /**检验密码组合方式是否被密码策略引用**/
      long checkCombinationIsquotedCount(string combinationd )throws common::VCIError;
      /**保存三员和成员**/
      bool saveSpecialRole(string roleId , common::data::StringArray userIds ,common::data::UserEntityInfo userEntity) throws common::VCIError;
      //三员登录的模块信息
      //data::SpecialRoleInfoList getSpecialRoleList()  throws common::VCIError;
      //查询所有的子节点 add by caill
      common::data::StringArray2D checkLevel() throws common::VCIError;
      //导入功能模块管理数据 add by caill
      bool importModules(data::FunctionInfoList functionInfos,common::data::UserEntityInfo userEntity) throws common::VCIError;
      //保存操作模块关系对象 add by caill
      string saveFunOper(data::FuncOperationInfo funcOperation) throws common::VCIError;
      //add by caill
      bool saveFuncOperation2(data::FuncOperationInfo funcOperation,common::data::UserEntityInfo userEntity) throws common::VCIError;
      //判断第一级有没有重名的模块 add by caill
      bool firstLevel(string plName) throws common::VCIError;
      //覆盖重名的第一级 add by caill
      string changeFirstLevel(data::FunctionInfo function,string plName) throws common::VCIError;
      //判断第二级有没有重名的模块 add by caill
      bool secondLevel(string plName,string fParentId) throws common::VCIError;
      //覆盖重名的第二级 add by caill
      string changeSecondLevel(data::FunctionInfo function,string plName,string fParentId) throws common::VCIError;
      //判断模块中是否已经存在此操作类型 add by caill
      bool selSameOper(string dataOperName,string plFuncOid) throws common::VCIError;
      //覆盖操作类型 add by caill
      bool updateOperation(data::FuncOperationInfo funcOperation,common::data::UserEntityInfo userEntity,string dataOperName,string plFuncOid) throws common::VCIError;
      //
      common::data::StringArray2D getAllDatas(long size) throws common::VCIError;
      //
      long getAllOperitionsNum() throws common::VCIError;
      //
      common::data::StringArray2D getAllOperitions(long size) throws common::VCIError;
      //
      long getAllModelManagementNum() throws common::VCIError;
      //add by caill 2016.1.19批量增加角色*/
      bool batchSaveRoles(data::RoleInfoList roles,common::data::UserEntityInfo userEntity) throws common::VCIError;
      //保存一般操作类型日志
      void savelogGeneralOperation(string result, string content, common::data::UserEntityInfo userEntity,string dataId,string plType) throws common::VCIError;
      //获取数据库信息
      data::DataSourceInfo getDataSourceInfo() throws common::VCIError;
      //add by weidy 2021-1-2 把谢军添加的角色选择等接口整合进来
      /**根据id获取部门**/
      data::DeptInfoList fetchDepartmentInfoByIds(string otherFiterString) throws common::VCIError;
      /****根据查询条件获取下级部门***/
      data::DeptInfoList fetchChildrenDeptByParentOid(string prtoid,bool iscontains, string otherFiterString) throws common::VCIError;
      /***获取部门列表信息****/
      data::DeptInfoList gridDeptDataGrids(string filter,long pageNo,long pageSize)throws common::VCIError;
      long gridDeptDataGridsCount(string filter)throws common::VCIError;
      data::RoleInfoList queryRoleInfos(string filter,long pageNo,long pageSize)throws common::VCIError;
      long queryRoleInfosCount(string filter)throws common::VCIError;
      /****根据条件查询除去admin,developer,三员外所有的普通成员**/
      data::UserInfoList fetchUserInfoByFilterString( string filterString,long pageNo,long pageSize ) throws common::VCIError;
      long  fetchUserInfoByFilterStringCount( string filterString) throws common::VCIError;
      /****根据条件查询除去admin,developer,三员外所有的普通成员**/
      data::UserInfoList fetchUserInfosByFilterStringsql( string filterString) throws common::VCIError;
      /**根据用户名批量获取成员**/
      data::UserInfoList fetchUserInfoByNames(common::data::StringArray  userNames) throws common::VCIError;
      /**根据用户主键获取成员**/
      data::UserInfo getUserObjectByoid(string userOid) throws common::VCIError;
      /**根据用户主键批量获取成员**/
      data::UserInfoList getUserObjectByoids(common::data::StringArray userOid) throws common::VCIError;
      //=====================================================================================
      /**专业信息操作接口**/
      // 获取所有专业信息
      data::SpecialtyInfoList getAllSpecialtyInfo() throws common::VCIError;
      // 增加专业
      string saveSpecialty(data::SpecialtyInfo specialty,common::data::UserEntityInfo userEnt) throws common::VCIError;
      /**批量增加专业*/
      bool batchSaveSpecialties(data::SpecialtyInfoList specialties, common::data::UserEntityInfo userEnt) throws common::VCIError;
      /**修改专业**/
      bool updateSpecialty(data::SpecialtyInfo specialty, common::data::UserEntityInfo userEnt) throws common::VCIError;
      /**批量修改专业**/
      bool batchUpdateSpecialty(data::SpecialtyInfoList specialties, common::data::UserEntityInfo userEnt) throws common::VCIError;
      //删除专业
      bool deletSpecialty(common::data::StringArray ids, common::data::UserEntityInfo userEnt)  throws common::VCIError;
      //=====================================================================================
      /**机器密级信息操作接口**/
      // 获取机器密级信息总数
      long getMachSecurityTolal() throws common::VCIError;
      // 获取符合条件的机器密级信息总数
      long getMachSecurityTolalByCondition(string name, string ipAddress, short security) throws common::VCIError;
      // 获取所有机器密级信息
      data::MachSecurityInfoList getAllMachSecurity() throws common::VCIError;
      // 分页查询获取所有机器密级信息
      data::MachSecurityInfoList fetchMachSecurityByPage(long pageNo, long pageSize)throws common::VCIError;
      // 分页查询获取所有机器密级信息,按条件
      data::MachSecurityInfoList fetchMachSecurityConditionByPage(string name, string ipAddress, short security, long pageNo, long pageSize)throws common::VCIError;
      // 增加机器密级
      string saveMachSecurity(data::MachSecurityInfo info,common::data::UserEntityInfo userEnt) throws common::VCIError;
      /**批量增加机器密级*/
      bool batchSaveMachSecurity(data::MachSecurityInfoList infos, common::data::UserEntityInfo userEnt) throws common::VCIError;
      /**修改机器密级**/
      bool updateMachSecurity(data::MachSecurityInfo info, common::data::UserEntityInfo userEnt) throws common::VCIError;
      /**批量修改机器密级**/
      bool batchUpdateMachSecurity(data::MachSecurityInfoList infos, common::data::UserEntityInfo userEnt) throws common::VCIError;
      //删除机器密级
      bool deletMachSecurity(common::data::StringArray ids, common::data::UserEntityInfo userEnt)  throws common::VCIError;
      //获取机器密级, type=0 未使用
      long getMachSecurity(string ipAddress, short type, common::data::UserEntityInfo userEnt)  throws common::VCIError;
      //获取机器密级信息, type=0 未使用
      data::MachSecurityInfo getMachSecurityInfo(string ipAddress, short type, common::data::UserEntityInfo userEnt)  throws common::VCIError;
      //=====================================================================================
      /**数据授权接口**/
      //保存数据授权
      bool saveGrand(data::GrandValueArray values) throws common::VCIError;
      //查询数据授权
      data::GrandValueArray queryGrand(string identifier) throws common::VCIError;
      //删除数据授权
      bool deleteGrand(string ruleName)throws common::VCIError;
      //删除类型数据授权
      bool deleteTypeRuleGrand(string identifier,string ruleName)throws common::VCIError;
      // 检查权限
      string checkRight(data::CheckValue value) throws common::VCIError;
      //=====================================================================================
      /**卷管理**/
      /**读取所有的卷**/
      data::PvolumeInfoList getAllPvolumes() throws common::VCIError;
      // 查询默认卷
      data::PvolumeInfo getDefaultVolume() throws common::VCIError;
      // 读取指定名称的卷
      data::PvolumeInfo getVolumnByName(string volName) throws common::VCIError;
      /**分页读取卷**/
      data::PvolumeInfoList getPvolumesPage(short  pageSize, short pageIndex) throws common::VCIError;
      /**卷创建**/
      string savePvolume(data::PvolumeInfo vol, common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**卷修改**/
      bool updatePvolume(data::PvolumeInfo vol, common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**卷删除**/
      bool deletePvolume(common::data::StringArray ids, common::data::UserEntityInfo userEntity) throws common::VCIError;
      /**检查要删除的卷是否为首选路径**/
      bool checkIsvalid(string id) throws common::VCIError;
      /**修改卷,将系统中的其他卷设置为非首选 0**/
      void updatePvolumeInvalid(common::data::UserEntityInfo userEntity) throws common::VCIError;
   }//end interface
}//framework
// }}}