| | |
| | | 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{ |
| | |
| | | sequence<GrandValue> GrandValueArray; |
| | | |
| | | };//end data |
| | | module method { |
| | | |
| | | interface FrameworkService { |
| | | // 测试系统是否能连通 |
| | | bool test() 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; |
| | |
| | | |
| | | //通过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; |
| | | /**分页查询密码组合方式**/ |
| | |
| | | void updatePvolumeInvalid(common::data::UserEntityInfo userEntity) throws common::VCIError; |
| | | |
| | | }//end interface |
| | | }//method |
| | | }//framework |
| | | // }}} |