Package org.efs.openreports.services.info

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


      Iterator<ReportSchedule> iterator = schedulerProvider.getScheduledReports(user).iterator()
      while(iterator.hasNext())
      {     
        ReportSchedule schedule = iterator.next();       
     
        ReportScheduleInfo scheduleInfo = new ReportScheduleInfo();
        scheduleInfo.setNextFireDate(schedule.getNextFireDate());
        scheduleInfo.setReportName(schedule.getReport().getName());
        scheduleInfo.setScheduleDescription(schedule.getScheduleDescription());
        scheduleInfo.setScheduleTypeName(schedule.getScheduleTypeName());

        if (schedule.getAlert() != null)
        {
          scheduleInfo.setAlert(Converter.convertToAlertInfo(schedule.getAlert()));
        }
       
        schedules.add(scheduleInfo);     
      }
    }
View Full Code Here

TOP

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

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.