Package org.efs.openreports.services.info

Examples of org.efs.openreports.services.info.AlertInfo


        alerts.add(Converter.convertToAlertInfo(userAlert));
      }
      catch (ProviderException e)
      {
        AlertInfo alertInfo = new AlertInfo();
        alertInfo.setMessage(e.toString());
       
        alerts.add(alertInfo);
      }
    } 
   
View Full Code Here


    return userInfo;
  }
 
  public static AlertInfo convertToAlertInfo(ReportUserAlert userAlert)
  {
    AlertInfo alertInfo = new AlertInfo();
    alertInfo = new AlertInfo();
    alertInfo.setAlertName(userAlert.getAlert().getName());
    alertInfo.setCondition(userAlert.getCondition());
    alertInfo.setCount(userAlert.getCount());   
    alertInfo.setTriggered(userAlert.isTriggered());
       
        if (userAlert.getReport() != null)
        {
            alertInfo.setReportName(userAlert.getReport().getName());
        }
   
    return alertInfo;
  }
View Full Code Here

TOP

Related Classes of org.efs.openreports.services.info.AlertInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.