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;
|
}
|