public class MessageModel extends com.extjs.gxt.ui.client.data.BaseModelData implements Serializable
Modifier and Type | Field and Description |
---|---|
protected InfoContactModel |
contact |
protected FileModel |
fileModel |
Constructor and Description |
---|
MessageModel() |
MessageModel(String id,
String subject,
InfoContactModel sender,
Date date,
int numAttachs,
boolean isRead,
String messageType)
BASIC CONSTRUCTOR
|
MessageModel(String id,
String subject,
InfoContactModel sender,
Date date,
List<String> attachsNames,
String messageType,
boolean isRead)
USED TO VIEW MESSAGE IN GRID
|
MessageModel(String id,
String subject,
InfoContactModel sender,
Date date,
String text,
List<FileModel> attachs,
Map<String,String> mapContacts,
String messageType,
boolean isRead) |
Modifier and Type | Method and Description |
---|---|
String |
getAttachmentsNamesView()
used in grid
|
Date |
getDate() |
InfoContactModel |
getFromContact() |
String |
getFromLogin() |
String |
getFullName() |
String |
getId() |
String |
getIsRead() |
List<FileModel> |
getListAttachments() |
List<String> |
getListFullNameToContacts() |
List<String> |
getListLoginToContacts() |
Map<String,String> |
getMapContacts() |
String |
getMessageType() |
int |
getNumAttchments() |
String |
getSubject() |
String |
getTextMessage() |
void |
setId(String id) |
String |
toString() |
protected InfoContactModel contact
protected FileModel fileModel
public MessageModel()
public MessageModel(String id, String subject, InfoContactModel sender, Date date, String text, List<FileModel> attachs, Map<String,String> mapContacts, String messageType, boolean isRead)
id
- subject
- sender
- date
- text
- attachs
- mapContacts
- messageType
- isRead
- public MessageModel(String id, String subject, InfoContactModel sender, Date date, int numAttachs, boolean isRead, String messageType)
public String getFullName()
public String getIsRead()
public void setId(String id)
public String getId()
public String getSubject()
public Date getDate()
public int getNumAttchments()
public InfoContactModel getFromContact()
public String getFromLogin()
public String getTextMessage()
public String getAttachmentsNamesView()
public String getMessageType()
Copyright © 2015. All Rights Reserved.