杜洪波
2025-05-14 9db1c6c261049fbdcb104e6c0e07fa544bb42013
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package com.product.administration.service.ide;
 
import org.quartz.SchedulerException;
 
import com.product.common.exception.job.TaskException;
import com.product.core.entity.FieldSetEntity;
import com.product.core.exception.BaseException;
 
public interface IEarlyWarningManager {
 
    /**
     *     预警配置新增
     * @param fse
     * @return
     */
    String addWarning(FieldSetEntity fse) throws BaseException, SchedulerException, TaskException;
 
    /**
     *     预警配置修改
     * @param fse
     * @return
     * @throws TaskException
     * @throws SchedulerException
     * @throws BaseException
     */
    boolean updateWarning(FieldSetEntity fse) throws BaseException, SchedulerException, TaskException;
 
    /**
     *     预警配置删除
     * @param uuid
     * @return
     * @throws SchedulerException
     * @throws BaseException
     */
    boolean deleteWarning(String uuid) throws BaseException, SchedulerException;
 
    /**
     *     批量修改预警时间
     * @param fse
     * @return
     * @throws SchedulerException
     * @throws BaseException
     */
    boolean updateEarlyWarningTime(FieldSetEntity fse)throws BaseException, SchedulerException, TaskException;
 
    /**
     * 转发
     * @param fse
     */
    void transmit(FieldSetEntity fse);
}