コード例 #1
0
  protected AbstractEntity getEntity(IEvent event) throws Exception {
    GetAlertTriggerEvent getEvent = (GetAlertTriggerEvent) event;

    AlertTrigger record =
        ServiceLookupHelper.getGridTalkAlertMgr().findAlertTrigger(getEvent.getAlertTriggerUID());

    return record;
  }
コード例 #2
0
 protected Object[] getErrorMessageParams(IEvent event) {
   GetAlertTriggerEvent getEvent = (GetAlertTriggerEvent) event;
   return new Object[] {
     String.valueOf(getEvent.getAlertTriggerUID()),
   };
 }