1 package com.dotmarketing.portlets.user.model; 2 3 import java.io.Serializable ; 4 import java.util.Date ; 5 6 import com.dotmarketing.beans.Inode; 7 8 9 public class UserComment extends Inode implements Serializable { 10 11 private static final long serialVersionUID = 1L; 12 13 public final static String METHOD_PHONE="phone"; 14 public final static String METHOD_WALKIN="Walk-in"; 15 public final static String METHOD_EMAIL="Walk-in"; 16 public final static String METHOD_REGULAR="Regular"; 17 public final static String METHOD_WEB="From Web"; 18 public final static String METHOD_MARKETING_LIST="Marketing List"; 19 public final static String METHOD_OTHER="Other"; 20 public final static String [] ALL_METHODS={METHOD_PHONE, METHOD_EMAIL, METHOD_REGULAR, METHOD_WEB, METHOD_MARKETING_LIST, METHOD_OTHER}; 21 22 public final static String TYPE_INCOMING="incoming"; 23 public final static String TYPE_OUTGOING="outgoing"; 24 public final static String TYPE_NA="n/a"; 25 public final static String [] ALL_TYPES={TYPE_INCOMING, TYPE_OUTGOING, TYPE_NA}; 26 27 28 private String userId; 29 private String typeComment; 30 private String method; 31 private String subject; 32 private String comment; 33 private String commentUserId; 34 private Date date; 35 36 private long communicationId; 37 38 39 public UserComment() 40 { 41 super.setType("user_comments"); 42 } 43 44 public String getCommentUserId() { 45 return commentUserId; 46 } 47 48 public void setCommentUserId(String commentUserId) { 49 this.commentUserId = commentUserId; 50 } 51 52 public String getComment() { 53 return comment; 54 } 55 56 public void setComment(String comment) { 57 this.comment = comment; 58 } 59 60 public Date getDate() { 61 return date; 62 } 63 64 public void setDate(Date date) { 65 this.date = date; 66 } 67 68 public String getMethod() { 69 return method; 70 } 71 72 public void setMethod(String method) { 73 this.method = method; 74 } 75 76 public String getSubject() { 77 return subject; 78 } 79 80 public void setSubject(String subject) { 81 this.subject = subject; 82 } 83 84 public String getUserId() { 85 return userId; 86 } 87 88 public void setUserId(String userId) { 89 this.userId = userId; 90 } 91 92 public String getTypeComment() { 93 return typeComment; 94 } 95 96 public void setTypeComment(String typeComment) { 97 this.typeComment = typeComment; 98 } 99 100 103 public long getCommunicationId() { 104 return communicationId; 105 } 106 107 110 public void setCommunicationId(long communicationId) { 111 this.communicationId = communicationId; 112 } 113 } 114 | Popular Tags |