1 package com.dotmarketing.portlets.campaigns.model; 2 3 import java.io.Serializable ; 4 5 import com.dotmarketing.beans.Inode; 6 7 8 public class Campaign extends Inode implements Serializable { 9 10 private static final long serialVersionUID = 1L; 11 private String title; 12 private java.util.Date startDate; 13 private java.util.Date completedDate; 14 private String fromEmail; 15 private String fromName; 16 private String subject; 17 private String userId; 18 private String message; 19 private boolean active; 20 private boolean locked; 21 private String sendsPerHour; 22 23 private long communicationInode; 24 private boolean sendEmail; 25 26 29 public long getCommunicationInode() { 30 return communicationInode; 31 } 32 33 36 public void setCommunicationInode(long communicationInode) { 37 this.communicationInode = communicationInode; 38 } 39 40 43 public boolean isSendEmail() { 44 return sendEmail; 45 } 46 47 50 public void setSendEmail(boolean sendEmail) { 51 this.sendEmail = sendEmail; 52 } 53 54 58 public java.util.Date getCompletedDate() { 59 return completedDate; 60 } 61 62 public Campaign() { 63 super.setType("campaign"); 64 startDate = new java.util.Date (); 65 } 66 70 public String getFromEmail() { 71 return fromEmail; 72 } 73 74 78 public String getMessage() { 79 return message; 80 } 81 82 86 public java.util.Date getStartDate() { 87 return startDate; 88 } 89 90 94 public String getSubject() { 95 return subject; 96 } 97 98 102 public String getTitle() { 103 return title; 104 } 105 106 110 public String getUserId() { 111 return userId; 112 } 113 114 118 public void setCompletedDate(java.util.Date completedDate) { 119 this.completedDate = completedDate; 120 } 121 122 126 public void setFromEmail(String fromEmail) { 127 this.fromEmail = fromEmail; 128 } 129 130 134 public void setMessage(String message) { 135 this.message = message; 136 } 137 138 142 public void setStartDate(java.util.Date startDate) { 143 this.startDate = startDate; 144 } 145 146 150 public void setSubject(String subject) { 151 this.subject = subject; 152 } 153 154 158 public void setTitle(String title) { 159 this.title = title; 160 } 161 162 166 public void setUserId(String userId) { 167 this.userId = userId; 168 } 169 170 174 public boolean isActive() { 175 return active; 176 } 177 178 182 public void setActive(boolean active) { 183 this.active = active; 184 } 185 186 190 public String getFromName() { 191 return fromName; 192 } 193 194 198 public void setFromName(String fromName) { 199 this.fromName = fromName; 200 } 201 202 206 public boolean isLocked() { 207 return locked; 208 } 209 210 214 public void setLocked(boolean locked) { 215 this.locked = locked; 216 } 217 218 public String getSendsPerHour() { 219 return sendsPerHour; 220 } 221 222 public void setSendsPerHour(String sendsPerHour) { 223 this.sendsPerHour = sendsPerHour; 224 } 225 226 } 227 | Popular Tags |