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