diff --git a/src/main/java/neatlogic/module/process/notify/handler/AutomaticNotifyPolicyHandler.java b/src/main/java/neatlogic/module/process/notify/handler/AutomaticNotifyPolicyHandler.java index 008f08b8446fa5b4ccd7d0ba51d1ebefa6758864..72b61a22b69485d661f9ee2c490fc4ee7cab7c99 100644 --- a/src/main/java/neatlogic/module/process/notify/handler/AutomaticNotifyPolicyHandler.java +++ b/src/main/java/neatlogic/module/process/notify/handler/AutomaticNotifyPolicyHandler.java @@ -10,7 +10,6 @@ import neatlogic.framework.condition.core.IConditionHandler; import neatlogic.framework.dto.ConditionParamVo; import neatlogic.framework.dto.ExpressionVo; import neatlogic.framework.form.constvalue.FormConditionModel; -import neatlogic.framework.notify.core.INotifyPolicyHandlerGroup; import neatlogic.framework.notify.core.NotifyHandlerFactory; import neatlogic.framework.notify.core.NotifyHandlerType; import neatlogic.framework.notify.core.NotifyPolicyHandlerBase; @@ -24,7 +23,6 @@ import neatlogic.framework.process.constvalue.ProcessUserType; import neatlogic.framework.process.notify.constvalue.*; import neatlogic.framework.process.notify.core.IDefaultTemplate; import neatlogic.framework.process.notify.core.NotifyDefaultTemplateFactory; -import neatlogic.framework.util.I18nUtils; import org.apache.commons.collections4.CollectionUtils; import org.springframework.stereotype.Component; @@ -69,10 +67,10 @@ public class AutomaticNotifyPolicyHandler extends NotifyPolicyHandlerBase { return PROCESS_MODIFY.class.getSimpleName(); } - @Override - public INotifyPolicyHandlerGroup getGroup() { - return ProcessNotifyPolicyHandlerGroup.TASKSTEP; - } +// @Override +// public INotifyPolicyHandlerGroup getGroup() { +// return ProcessNotifyPolicyHandlerGroup.TASKSTEP; +// } @Override protected List myNotifyTriggerList() { diff --git a/src/main/java/neatlogic/module/process/notify/handler/OmnipotentNotifyPolicyHandler.java b/src/main/java/neatlogic/module/process/notify/handler/OmnipotentNotifyPolicyHandler.java index aa25a633ea0905b12dc3c4d267c1029c0d566e82..e2d1685b862d8d63875730e16d9f66a4cd08219e 100644 --- a/src/main/java/neatlogic/module/process/notify/handler/OmnipotentNotifyPolicyHandler.java +++ b/src/main/java/neatlogic/module/process/notify/handler/OmnipotentNotifyPolicyHandler.java @@ -10,7 +10,9 @@ import neatlogic.framework.condition.core.IConditionHandler; import neatlogic.framework.dto.ConditionParamVo; import neatlogic.framework.dto.ExpressionVo; import neatlogic.framework.form.constvalue.FormConditionModel; -import neatlogic.framework.notify.core.*; +import neatlogic.framework.notify.core.NotifyHandlerFactory; +import neatlogic.framework.notify.core.NotifyHandlerType; +import neatlogic.framework.notify.core.NotifyPolicyHandlerBase; import neatlogic.framework.notify.dto.NotifyTriggerTemplateVo; import neatlogic.framework.notify.dto.NotifyTriggerVo; import neatlogic.framework.process.auth.PROCESS_MODIFY; @@ -21,7 +23,6 @@ import neatlogic.framework.process.constvalue.ProcessUserType; import neatlogic.framework.process.notify.constvalue.*; import neatlogic.framework.process.notify.core.IDefaultTemplate; import neatlogic.framework.process.notify.core.NotifyDefaultTemplateFactory; -import neatlogic.framework.util.I18nUtils; import org.apache.commons.collections4.CollectionUtils; import org.springframework.stereotype.Component; @@ -151,8 +152,8 @@ public class OmnipotentNotifyPolicyHandler extends NotifyPolicyHandlerBase { return PROCESS_MODIFY.class.getSimpleName(); } - @Override - public INotifyPolicyHandlerGroup getGroup() { - return ProcessNotifyPolicyHandlerGroup.TASKSTEP; - } +// @Override +// public INotifyPolicyHandlerGroup getGroup() { +// return ProcessNotifyPolicyHandlerGroup.TASKSTEP; +// } } diff --git a/src/main/java/neatlogic/module/process/notify/handler/SlaNotifyPolicyHandler.java b/src/main/java/neatlogic/module/process/notify/handler/SlaNotifyPolicyHandler.java index a8c158088c35629b135e497c579b0217e5fe4453..21e9fb0e43f3bd37647e82cde1aa7335cdcd395b 100644 --- a/src/main/java/neatlogic/module/process/notify/handler/SlaNotifyPolicyHandler.java +++ b/src/main/java/neatlogic/module/process/notify/handler/SlaNotifyPolicyHandler.java @@ -10,7 +10,6 @@ import neatlogic.framework.condition.core.IConditionHandler; import neatlogic.framework.dto.ConditionParamVo; import neatlogic.framework.dto.ExpressionVo; import neatlogic.framework.form.constvalue.FormConditionModel; -import neatlogic.framework.notify.core.INotifyPolicyHandlerGroup; import neatlogic.framework.notify.core.NotifyHandlerFactory; import neatlogic.framework.notify.core.NotifyHandlerType; import neatlogic.framework.notify.core.NotifyPolicyHandlerBase; @@ -25,7 +24,6 @@ import neatlogic.framework.process.notify.constvalue.ProcessTaskStepNotifyParam; import neatlogic.framework.process.notify.constvalue.ProcessTaskStepTaskNotifyParam; import neatlogic.framework.process.notify.core.IDefaultTemplate; import neatlogic.framework.process.notify.core.NotifyDefaultTemplateFactory; -import neatlogic.framework.util.I18nUtils; import neatlogic.module.process.notify.constvalue.SlaNotifyTriggerType; import org.apache.commons.collections4.CollectionUtils; import org.springframework.stereotype.Component; @@ -142,8 +140,8 @@ public class SlaNotifyPolicyHandler extends NotifyPolicyHandlerBase { return PROCESS_MODIFY.class.getSimpleName(); } - @Override - public INotifyPolicyHandlerGroup getGroup() { - return null; - } +// @Override +// public INotifyPolicyHandlerGroup getGroup() { +// return null; +// } } diff --git a/src/main/java/neatlogic/module/process/notify/handler/TaskNotifyPolicyHandler.java b/src/main/java/neatlogic/module/process/notify/handler/TaskNotifyPolicyHandler.java index f7e6f92c1163e1b2c08c91a00604ec93c0f28756..f77661d14d07758f0f4af45329461339d40d7cf7 100644 --- a/src/main/java/neatlogic/module/process/notify/handler/TaskNotifyPolicyHandler.java +++ b/src/main/java/neatlogic/module/process/notify/handler/TaskNotifyPolicyHandler.java @@ -10,7 +10,6 @@ import neatlogic.framework.condition.core.IConditionHandler; import neatlogic.framework.dto.ConditionParamVo; import neatlogic.framework.dto.ExpressionVo; import neatlogic.framework.form.constvalue.FormConditionModel; -import neatlogic.framework.notify.core.INotifyPolicyHandlerGroup; import neatlogic.framework.notify.core.NotifyHandlerFactory; import neatlogic.framework.notify.core.NotifyHandlerType; import neatlogic.framework.notify.core.NotifyPolicyHandlerBase; @@ -24,7 +23,6 @@ import neatlogic.framework.process.notify.constvalue.ProcessTaskNotifyParam; import neatlogic.framework.process.notify.constvalue.ProcessTaskNotifyTriggerType; import neatlogic.framework.process.notify.core.IDefaultTemplate; import neatlogic.framework.process.notify.core.NotifyDefaultTemplateFactory; -import neatlogic.framework.util.I18nUtils; import org.apache.commons.collections4.CollectionUtils; import org.springframework.stereotype.Component; @@ -38,7 +36,7 @@ public class TaskNotifyPolicyHandler extends NotifyPolicyHandlerBase { @Override public String getName() { - return "工单"; + return "term.itsm.processtask"; } @Override @@ -132,8 +130,8 @@ public class TaskNotifyPolicyHandler extends NotifyPolicyHandlerBase { return PROCESS_MODIFY.class.getSimpleName(); } - @Override - public INotifyPolicyHandlerGroup getGroup() { - return null; - } +// @Override +// public INotifyPolicyHandlerGroup getGroup() { +// return null; +// } } diff --git a/src/main/java/neatlogic/module/process/notify/handler/TimedTaskNotifyPolicyHandler.java b/src/main/java/neatlogic/module/process/notify/handler/TimedTaskNotifyPolicyHandler.java index 8829fef918fe77906f5bff27e8b31419407e072b..591c3cb247d80ad3b75ac13f1f1ebc984778c233 100755 --- a/src/main/java/neatlogic/module/process/notify/handler/TimedTaskNotifyPolicyHandler.java +++ b/src/main/java/neatlogic/module/process/notify/handler/TimedTaskNotifyPolicyHandler.java @@ -16,15 +16,13 @@ limitations under the License. package neatlogic.module.process.notify.handler; +import com.alibaba.fastjson.JSONObject; import neatlogic.framework.dto.ConditionParamVo; -import neatlogic.framework.notify.core.INotifyPolicyHandlerGroup; import neatlogic.framework.notify.core.NotifyHandlerType; import neatlogic.framework.notify.core.NotifyPolicyHandlerBase; import neatlogic.framework.notify.dto.NotifyTriggerTemplateVo; import neatlogic.framework.notify.dto.NotifyTriggerVo; -import neatlogic.framework.util.I18nUtils; import neatlogic.module.process.notify.constvalue.TimedTaskTriggerType; -import com.alibaba.fastjson.JSONObject; import org.springframework.stereotype.Service; import java.util.ArrayList; @@ -42,15 +40,6 @@ public class TimedTaskNotifyPolicyHandler extends NotifyPolicyHandlerBase { return "定时任务"; } -// @Override -// public List getNotifyTriggerListForNotifyTree() { -// List returnList = new ArrayList<>(); -// for (TimedTaskTriggerType type : TimedTaskTriggerType.values()) { -// returnList.add(new NotifyTriggerVo(type.getTrigger(), type.getText(), type.getDescription())); -// } -// return returnList; -// } - @Override protected List myNotifyTriggerList() { List returnList = new ArrayList<>(); @@ -88,10 +77,10 @@ public class TimedTaskNotifyPolicyHandler extends NotifyPolicyHandlerBase { return null; } - @Override - public INotifyPolicyHandlerGroup getGroup() { - return null; - } +// @Override +// public INotifyPolicyHandlerGroup getGroup() { +// return null; +// } @Override public boolean isPublic(){