public class Message extends Id
Modifier and Type | Field and Description |
---|---|
static int |
DIRECTION_INCOMING |
static int |
DIRECTION_OUTGOING |
Constructor and Description |
---|
Message() |
Modifier and Type | Method and Description |
---|---|
void |
addAttach(FileData messageAttach)
Добавляет к сообщению файл
|
java.util.List<FileData> |
getAttachList()
Получить список прикрепленных файлов
|
java.lang.String |
getCustomerTitle() |
int |
getDirection() |
java.lang.String |
getFrom() |
java.util.Date |
getFromTime() |
Process |
getProcess() |
int |
getProcessId() |
java.lang.String |
getSubject() |
java.lang.String |
getSystemId() |
java.lang.String |
getText() |
java.lang.String |
getTo() |
java.util.Date |
getToTime() |
int |
getTypeId() |
int |
getUserId() |
java.lang.String |
getUserTitle() |
boolean |
isIncoming() |
boolean |
isProcessed() |
void |
setDirection(int direction) |
void |
setFrom(java.lang.String from)
Преобразует значение поля from, заменяя символы '<' и '>' символами html
|
void |
setFromTime(java.util.Date createDate) |
void |
setProcess(Process process) |
void |
setProcessed(boolean processed) |
void |
setProcessId(int processId) |
void |
setSubject(java.lang.String subject) |
void |
setSystemId(java.lang.String systemId) |
void |
setText(java.lang.String text) |
void |
setTo(java.lang.String to) |
void |
setToTime(java.util.Date readDate) |
void |
setTypeId(int type) |
void |
setUserId(int createUserId) |
public static final int DIRECTION_INCOMING
public static final int DIRECTION_OUTGOING
public java.lang.String getSystemId()
public void setSystemId(java.lang.String systemId)
public int getProcessId()
public void setProcessId(int processId)
public Process getProcess()
public void setProcess(Process process)
public java.util.Date getFromTime()
public void setFromTime(java.util.Date createDate)
public java.lang.String getText()
public void setText(java.lang.String text)
public int getTypeId()
public void setTypeId(int type)
public int getUserId()
public void setUserId(int createUserId)
public java.util.Date getToTime()
public void setToTime(java.util.Date readDate)
public java.lang.String getUserTitle()
public java.lang.String getCustomerTitle()
public int getDirection()
public void setDirection(int direction)
public boolean isIncoming()
public java.lang.String getFrom()
public void setFrom(java.lang.String from)
public java.lang.String getTo()
public void setTo(java.lang.String to)
public boolean isProcessed()
public void setProcessed(boolean processed)
public java.lang.String getSubject()
public void setSubject(java.lang.String subject)
public java.util.List<FileData> getAttachList()
public void addAttach(FileData messageAttach)
messageAttach
-