package com.njcn.service.log;

import java.util.Date;
import java.util.List;

import com.njcn.pojo.configuration.SysSet;
import com.njcn.pojo.log.UserLogDetail;

import javax.security.auth.login.AccountException;

public interface UserLogDetailService {
    public List<List> getUserLog();

    public List<List> getWarnInfo(Long type);

    public Integer getMemoInfo();

    public List<List> getUserLogId(String username, String type, String name, Date startTime, Date endTime);

    public List<UserLogDetail> geteventtype(Date startTime, Date endTime);

    public List<UserLogDetail> getdetailtype(Date startTime, Date endTime);

    public List<UserLogDetail> getdetailmonth(Date startTime, Date endTime);

    public List<UserLogDetail> getUserStatistics(Date startTime, Date endTime);

    void getLog(String dicName, String result, String ip, String logType, int level);
    
    void getLogSys(String dicName, String result, String ip, String logType, int level, String detail);

    //用户操作日志保存
    void saveUserLog(String userIndex, String username, String operate, String result, String system, String ip, String logType, int level) throws AccountException;
    
    void saveUserLogSys(String userIndex, String username, String operate, String result, String system, String ip, String logType, int level, String detail) throws AccountException;

    public List<List> getSjtj(String username, String type, String name, Date startTime, Date endTime);
    
    String updateSysSet(SysSet set);

    Integer getWarnInfoCounts(Long type);
}
