1 19 20 package org.efs.openreports.services.input; 21 22 import java.io.Serializable ; 23 import java.util.Date ; 24 25 import org.efs.openreports.engine.ReportEngine; 26 import org.efs.openreports.objects.ReportSchedule; 27 import org.efs.openreports.services.ReportService; 28 29 36 37 public class ReportServiceInput implements Serializable 38 { 39 private static final long serialVersionUID = -3094443722330870862L; 40 41 private String userName; 42 private String reportName; 43 private int exportType = ReportEngine.EXPORT_PDF; 44 private String deliveryMethod = ReportService.DELIVERY_API; 45 private String [] parameters; 46 47 private Date startDate; 49 private String startHour; 50 private String startMinute; 51 private String startAmPm; 52 private int scheduleType = ReportSchedule.ONCE; 53 private String scheduleDescription; 54 private int hours; 55 private String cronExpression; 56 58 private String xmlData; 60 61 public String getUserName() 62 { 63 return userName; 64 } 65 66 public void setUserName(String userName) 67 { 68 this.userName = userName; 69 } 70 71 public String getDeliveryMethod() 72 { 73 return deliveryMethod; 74 } 75 76 public void setDeliveryMethod(String deliveryMethod) 77 { 78 this.deliveryMethod = deliveryMethod; 79 } 80 81 public int getExportType() 82 { 83 return exportType; 84 } 85 86 public void setExportType(int exportType) 87 { 88 this.exportType = exportType; 89 } 90 91 public String [] getParameters() 92 { 93 return parameters; 94 } 95 96 100 public void setParameters(String [] parameters) 101 { 102 this.parameters = parameters; 103 } 104 105 public String getReportName() 106 { 107 return reportName; 108 } 109 110 public void setReportName(String reportName) 111 { 112 this.reportName = reportName; 113 } 114 115 public String getXmlData() 116 { 117 return xmlData; 118 } 119 120 public void setXmlData(String xmlData) 121 { 122 this.xmlData = xmlData; 123 } 124 125 public int getScheduleType() 126 { 127 return scheduleType; 128 } 129 130 public void setScheduleType(int scheduleType) 131 { 132 this.scheduleType = scheduleType; 133 } 134 135 public String getStartAmPm() 136 { 137 return startAmPm; 138 } 139 140 public void setStartAmPm(String startAmPm) 141 { 142 this.startAmPm = startAmPm; 143 } 144 145 public Date getStartDate() 146 { 147 return startDate; 148 } 149 150 public void setStartDate(Date startDate) 151 { 152 this.startDate = startDate; 153 } 154 155 public String getStartHour() 156 { 157 return startHour; 158 } 159 160 public void setStartHour(String startHour) 161 { 162 this.startHour = startHour; 163 } 164 165 public String getStartMinute() 166 { 167 return startMinute; 168 } 169 170 public void setStartMinute(String startMinute) 171 { 172 this.startMinute = startMinute; 173 } 174 175 public String getScheduleDescription() 176 { 177 return scheduleDescription; 178 } 179 180 public void setScheduleDescription(String scheduleDescription) 181 { 182 this.scheduleDescription = scheduleDescription; 183 } 184 185 public String getCronExpression() 186 { 187 return cronExpression; 188 } 189 190 public void setCronExpression(String cronExpression) 191 { 192 this.cronExpression = cronExpression; 193 } 194 195 public int getHours() 196 { 197 return hours; 198 } 199 200 public void setHours(int hours) 201 { 202 this.hours = hours; 203 } 204 } 205 | Popular Tags |