- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 44 of file MailItem.java.
◆ addAttachment()
MailAttachment org.turro.elephant.entities.db.MailItem.addAttachment |
( |
String |
description, |
|
|
String |
name, |
|
|
String |
entityPath |
|
) |
| |
Definition at line 203 of file MailItem.java.
204 MailAttachment ma =
new MailAttachment();
205 ma.setType(MailAttachmentType.ATTACH_ATTACHMENT);
206 ma.setDescription(description);
208 ma.setEntityPath(entityPath);
209 ma.setMailItem(
this);
Set< MailAttachment > getMailAttachments()
◆ addFile()
MailAttachment org.turro.elephant.entities.db.MailItem.addFile |
( |
String |
description, |
|
|
String |
name, |
|
|
String |
filePath |
|
) |
| |
Definition at line 214 of file MailItem.java.
215 MailAttachment ma =
new MailAttachment();
216 ma.setType(MailAttachmentType.ATTACH_FILE);
217 ma.setDescription(description);
219 ma.setEntityPath(filePath);
220 ma.setMailItem(
this);
◆ addImage()
MailAttachment org.turro.elephant.entities.db.MailItem.addImage |
( |
String |
description, |
|
|
String |
name, |
|
|
String |
imagePath |
|
) |
| |
Definition at line 225 of file MailItem.java.
226 MailAttachment ma =
new MailAttachment();
227 ma.setType(MailAttachmentType.ATTACH_IMAGE);
228 ma.setDescription(description);
230 ma.setEntityPath(imagePath);
231 ma.setMailItem(
this);
◆ addImageURL()
MailAttachment org.turro.elephant.entities.db.MailItem.addImageURL |
( |
String |
description, |
|
|
String |
name, |
|
|
String |
imageURL |
|
) |
| |
Definition at line 236 of file MailItem.java.
237 MailAttachment ma =
new MailAttachment();
238 ma.setType(MailAttachmentType.ATTACH_IMAGE_URL);
239 ma.setDescription(description);
241 ma.setEntityPath(imageURL);
242 ma.setMailItem(
this);
◆ getCategory()
String org.turro.elephant.entities.db.MailItem.getCategory |
( |
| ) |
|
◆ getContactEmail()
String org.turro.elephant.entities.db.MailItem.getContactEmail |
( |
| ) |
|
◆ getContactName()
String org.turro.elephant.entities.db.MailItem.getContactName |
( |
| ) |
|
◆ getDescription()
String org.turro.elephant.entities.db.MailItem.getDescription |
( |
| ) |
|
◆ getIContact()
IContact org.turro.elephant.entities.db.MailItem.getIContact |
( |
| ) |
|
Definition at line 183 of file MailItem.java.
184 if(_contact ==
null) {
185 _contact = Contacts.getContactById(idContact);
◆ getId()
Long org.turro.elephant.entities.db.MailItem.getId |
( |
| ) |
|
◆ getIdCategory()
String org.turro.elephant.entities.db.MailItem.getIdCategory |
( |
| ) |
|
◆ getIdContact()
String org.turro.elephant.entities.db.MailItem.getIdContact |
( |
| ) |
|
◆ getItemDate()
Date org.turro.elephant.entities.db.MailItem.getItemDate |
( |
| ) |
|
◆ getMailAttachments()
Set<MailAttachment> org.turro.elephant.entities.db.MailItem.getMailAttachments |
( |
| ) |
|
◆ getMessage()
String org.turro.elephant.entities.db.MailItem.getMessage |
( |
| ) |
|
◆ getPoolName()
String org.turro.elephant.entities.db.MailItem.getPoolName |
( |
| ) |
|
◆ getReason()
String org.turro.elephant.entities.db.MailItem.getReason |
( |
| ) |
|
◆ getSender()
String org.turro.elephant.entities.db.MailItem.getSender |
( |
| ) |
|
◆ getSubject()
String org.turro.elephant.entities.db.MailItem.getSubject |
( |
| ) |
|
◆ setCategory()
void org.turro.elephant.entities.db.MailItem.setCategory |
( |
String |
category | ) |
|
◆ setContactEmail()
void org.turro.elephant.entities.db.MailItem.setContactEmail |
( |
String |
contactEmail | ) |
|
Definition at line 95 of file MailItem.java.
96 this.contactEmail = contactEmail;
◆ setContactName()
void org.turro.elephant.entities.db.MailItem.setContactName |
( |
String |
contactName | ) |
|
Definition at line 103 of file MailItem.java.
104 this.contactName = contactName;
◆ setDescription()
void org.turro.elephant.entities.db.MailItem.setDescription |
( |
String |
description | ) |
|
Definition at line 127 of file MailItem.java.
128 this.description = description;
◆ setIContact()
void org.turro.elephant.entities.db.MailItem.setIContact |
( |
IContact |
contact | ) |
|
Definition at line 190 of file MailItem.java.
192 idContact = _contact !=
null ? _contact.
getId() :
null;
193 contactName = _contact !=
null ? _contact.
getName() :
null;
194 contactEmail = _contact !=
null ? _contact.
getConnector(IUser.CONNECTOR_EMAIL) :
null;
◆ setId()
void org.turro.elephant.entities.db.MailItem.setId |
( |
Long |
id | ) |
|
◆ setIdCategory()
void org.turro.elephant.entities.db.MailItem.setIdCategory |
( |
String |
idCategory | ) |
|
◆ setIdContact()
void org.turro.elephant.entities.db.MailItem.setIdContact |
( |
String |
idContact | ) |
|
Definition at line 86 of file MailItem.java.
87 this.idContact = idContact;
◆ setItemDate()
void org.turro.elephant.entities.db.MailItem.setItemDate |
( |
Date |
itemDate | ) |
|
◆ setMailAttachments()
void org.turro.elephant.entities.db.MailItem.setMailAttachments |
( |
Set< MailAttachment > |
mailAttachments | ) |
|
Definition at line 175 of file MailItem.java.
176 this.mailAttachments = mailAttachments;
◆ setMessage()
void org.turro.elephant.entities.db.MailItem.setMessage |
( |
String |
message | ) |
|
◆ setPoolName()
void org.turro.elephant.entities.db.MailItem.setPoolName |
( |
String |
poolName | ) |
|
◆ setReason()
void org.turro.elephant.entities.db.MailItem.setReason |
( |
String |
reason | ) |
|
◆ setSender()
void org.turro.elephant.entities.db.MailItem.setSender |
( |
String |
sender | ) |
|
◆ setSubject()
void org.turro.elephant.entities.db.MailItem.setSubject |
( |
String |
subject | ) |
|
The documentation for this class was generated from the following file: