@Entity(name="Email") public class EmailImpl extends DomainObjectSupport implements Email
Modifier and Type | Field and Description |
---|---|
static String |
STATUS_FAILED |
static String |
STATUS_PENDING |
static String |
STATUS_SENT |
MAP_DOMAIN_OBJECT_TO_ID_FUNCTION, ORGANIZATION_COLUMN_NAME
Constructor and Description |
---|
EmailImpl() |
Modifier and Type | Method and Description |
---|---|
int |
getAttempts() |
String |
getEmailBody() |
String |
getFromAddress() |
String |
getFromName() |
Integer |
getId() |
Boolean |
getIsHtml() |
Integer |
getOrganizationId() |
String |
getReplyToAddress() |
String |
getStatus() |
String |
getSubject() |
String |
getToAddress() |
User |
getUser() |
String |
getXmlToString() |
static boolean |
isValidEmail(String email) |
void |
setAttempts(int attempts) |
void |
setEmailBody(String emailBody) |
void |
setFromAddress(String fromAddress) |
void |
setFromName(String fromName) |
void |
setId(Integer id) |
void |
setIsHtml(Boolean isHtml) |
void |
setOrganizationId(Integer organizationId) |
void |
setReplyToAddress(String replyToAddress) |
void |
setStatus(String status) |
void |
setSubject(String subject) |
void |
setToAddress(String toAddress) |
void |
setUser(User user) |
getCreatedBy, getCreatedDate, getModifiedBy, getModifiedDate, setCreatedBy, setCreatedDate, setModifiedBy, setModifiedDate
equals, hashCode, isNewObject, obtainAclObjectIdentity
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getCreatedBy, getCreatedDate, getModifiedBy, getModifiedDate, isNewObject, obtainAclObjectIdentity, setCreatedBy, setCreatedDate, setModifiedBy, setModifiedDate
public static final String STATUS_PENDING
public static final String STATUS_FAILED
public static final String STATUS_SENT
public static boolean isValidEmail(String email)
public Integer getId()
getId
in interface DomainObjectBase
public void setId(Integer id)
setId
in interface DomainObjectBase
public String getToAddress()
getToAddress
in interface Email
public void setToAddress(String toAddress)
setToAddress
in interface Email
public String getFromAddress()
getFromAddress
in interface Email
public void setFromAddress(String fromAddress)
setFromAddress
in interface Email
public String getFromName()
getFromName
in interface Email
public void setFromName(String fromName)
setFromName
in interface Email
public String getReplyToAddress()
getReplyToAddress
in interface Email
public void setReplyToAddress(String replyToAddress)
setReplyToAddress
in interface Email
public String getSubject()
getSubject
in interface Email
public void setSubject(String subject)
setSubject
in interface Email
public String getEmailBody()
getEmailBody
in interface Email
public void setEmailBody(String emailBody)
setEmailBody
in interface Email
public int getAttempts()
getAttempts
in interface Email
public void setAttempts(int attempts)
setAttempts
in interface Email
public Integer getOrganizationId()
getOrganizationId
in interface DomainObjectBase
getOrganizationId
in interface OrganizationAware
public void setOrganizationId(Integer organizationId)
setOrganizationId
in interface DomainObjectBase
public String getXmlToString()
getXmlToString
in interface DomainObject
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.