@Service(value="optLogManager") public class ElkOptLogManager extends Object implements OperationLogManager
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
ElkOptLogManager(com.centit.search.service.ESServerConfig esServerConfig) |
| Modifier and Type | Method and Description |
|---|---|
int |
countOptLog(String optId,
Map<String,Object> filter) |
int |
delete(String beginDate) |
void |
deleteMany(String[] logIds) |
void |
deleteObjectById(String docId) |
void |
deleteOptLogById(String logId) |
com.centit.framework.model.basedata.OperationLog |
getOptLogById(String logId) |
List<com.centit.framework.model.basedata.OperationLog> |
listOptLog(String optId,
Map<String,Object> filterMap,
int startPos,
int maxRows) |
com.alibaba.fastjson2.JSONArray |
listOptLogsAsJson(String[] fields,
Map<String,Object> filterMap,
com.centit.support.database.utils.PageDesc pageDesc) |
void |
save(List<com.centit.framework.model.basedata.OperationLog> optLogs) |
void |
save(com.centit.framework.model.basedata.OperationLog operationLog) |
void |
updateOperationLog(com.centit.framework.model.basedata.OperationLog operationLog,
String logId) |
@Autowired
public ElkOptLogManager(@Autowired
com.centit.search.service.ESServerConfig esServerConfig)
public void save(com.centit.framework.model.basedata.OperationLog operationLog)
save in interface com.centit.framework.model.adapter.OperationLogWriterpublic void save(List<com.centit.framework.model.basedata.OperationLog> optLogs)
save in interface com.centit.framework.model.adapter.OperationLogWriterpublic List<com.centit.framework.model.basedata.OperationLog> listOptLog(String optId, Map<String,Object> filterMap, int startPos, int maxRows)
listOptLog in interface com.centit.framework.model.adapter.OperationLogWriterpublic int countOptLog(String optId, Map<String,Object> filter)
countOptLog in interface com.centit.framework.model.adapter.OperationLogWriterpublic com.centit.framework.model.basedata.OperationLog getOptLogById(String logId)
getOptLogById in interface OperationLogManagerpublic void deleteOptLogById(String logId)
deleteOptLogById in interface OperationLogManagerpublic void deleteMany(String[] logIds)
deleteMany in interface OperationLogManagerpublic com.alibaba.fastjson2.JSONArray listOptLogsAsJson(String[] fields, Map<String,Object> filterMap, com.centit.support.database.utils.PageDesc pageDesc)
listOptLogsAsJson in interface OperationLogManagerpublic int delete(String beginDate)
delete in interface OperationLogManagerpublic void deleteObjectById(String docId)
public void updateOperationLog(com.centit.framework.model.basedata.OperationLog operationLog,
String logId)
Copyright © 2024 Centit Information Technical, co. Inc.. All rights reserved.