1 package com.dotmarketing.portlets.communications.model; 2 3 import java.io.Serializable ; 4 5 import com.dotmarketing.beans.Inode; 6 7 14 public class Communication extends Inode implements Serializable { 15 16 private static final long serialVersionUID = 1L; 17 private String title; 18 private long trackBackLinkInode; 19 private String communicationType; 20 private String fromEmail; 21 private String fromName; 22 private String emailSubject; 23 private long htmlPage; 24 private String textMessage; 25 private java.util.Date modDate; 26 private String modifiedBy; 27 private String externalCommunicationIdentifier; 28 29 30 public Communication() { 31 super.setType("communication"); 32 this.modDate = new java.util.Date (); 33 this.communicationType = "email"; 34 this.trackBackLinkInode= 0; 35 this.htmlPage = 0; 36 this.fromEmail = ""; 37 this.fromName = ""; 38 this.emailSubject = ""; 39 this.textMessage = ""; 40 this.title = ""; 41 this.modifiedBy = ""; 42 } 43 47 public java.util.Date getModDate() { 48 return modDate; 49 } 50 51 55 public void setModDate(java.util.Date modDate) { 56 this.modDate = modDate; 57 } 58 59 63 public String getModifiedBy() { 64 return modifiedBy; 65 } 66 67 71 public void setModifiedBy(String modifiedBy) { 72 this.modifiedBy = modifiedBy; 73 } 74 75 79 public String getEmailSubject() { 80 return emailSubject; 81 } 82 83 87 public void setEmailSubject(String emailSubject) { 88 this.emailSubject = emailSubject; 89 } 90 91 95 public String getFromEmail() { 96 return fromEmail; 97 } 98 99 103 public void setFromEmail(String fromEmail) { 104 this.fromEmail = fromEmail; 105 } 106 107 111 public String getFromName() { 112 return fromName; 113 } 114 115 119 public void setFromName(String fromName) { 120 this.fromName = fromName; 121 } 122 123 127 public long getHtmlPage() { 128 return htmlPage; 129 } 130 131 135 public void setHtmlPage(long htmlPageInode) { 136 this.htmlPage = htmlPageInode; 137 } 138 139 143 public String getTextMessage() { 144 return textMessage; 145 } 146 147 151 public void setTextMessage(String textMessage) { 152 this.textMessage = textMessage; 153 } 154 155 159 public String getTitle() { 160 return title; 161 } 162 163 167 public void setTitle(String title) { 168 this.title = title; 169 } 170 171 175 public long getTrackBackLinkInode() { 176 return trackBackLinkInode; 177 } 178 179 183 public void setTrackBackLinkInode(long trackBackLinkInode) { 184 this.trackBackLinkInode = trackBackLinkInode; 185 } 186 187 191 public String getCommunicationType() { 192 return communicationType; 193 } 194 195 198 public void setCommunicationType(String communicationType) { 199 this.communicationType = communicationType; 200 } 201 202 206 public String getExternalCommunicationIdentifier() { 207 return externalCommunicationIdentifier; 208 } 209 210 214 public void setExternalCommunicationIdentifier( 215 String externalCommunicationIdentifier) { 216 this.externalCommunicationIdentifier = externalCommunicationIdentifier; 217 } 218 219 220 } 221 | Popular Tags |