| | |
| | | package com.vci.ubcs.core.log.service; |
| | | |
| | | import com.vci.ubcs.log.entity.SystemLog; |
| | | import com.vci.ubcs.resource.bo.FileObjectBO; |
| | | import com.vci.ubcs.starter.exception.VciBaseException; |
| | | |
| | | import java.rmi.ServerException; |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 本地系统日志 |
| | |
| | | public interface ILogSystemService { |
| | | |
| | | /** |
| | | * 获取本地日志列表 |
| | | * 查看,本地系统日志列表 |
| | | * @param logParentPath |
| | | * @return |
| | | */ |
| | | List<SystemLog> getSystemLogList(); |
| | | List<SystemLog> getSystemLogList(String logParentPath); |
| | | |
| | | /** |
| | | * 下载,根据服务名所在文件名和文件名下载文件 |
| | | * @param condition 查询条件map |
| | | * @return 文件的信息 |
| | | */ |
| | | FileObjectBO downloadLogByServiceNameAndFileName(Map<String,String> condition) throws ServerException; |
| | | |
| | | /** |
| | | * 删除,根据服务所在文件名,和日志文件名称删除 |
| | | * @param condition 主键集合 |
| | | * @return 执行结果 |
| | | */ |
| | | void deleteLogFile(Map<String,String> condition) throws ServerException; |
| | | |
| | | } |