Class Message
java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.core.communication.Message
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EMail
,SystemMessage
This is the parent class for email and system message.
- Version:
- 1.0
- Author:
- Michael Scholz, Marco Meschieri
- See Also:
-
Field Summary
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getHtml()
getRecipient
(String name) int
getType()
boolean
isNotify()
void
void
setHtml
(int html) void
void
setMessageText
(String mess) void
setNotify
(boolean notify) void
setReceivedDate
(Date receivedDate) void
setRecipients
(Set<Recipient> recipients) void
setSentDate
(Date sentDate) void
setSubject
(String subj) void
setType
(int type) boolean
Methods inherited from class com.logicaldoc.core.PersistentObject
equals, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, hashCode, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
-
Field Details
-
TYPE_SYSTEM
public static final int TYPE_SYSTEM- See Also:
-
TYPE_NOTIFICATION
public static final int TYPE_NOTIFICATION- See Also:
-
-
Constructor Details
-
Message
public Message()
-
-
Method Details
-
isNotify
public boolean isNotify() -
setNotify
public void setNotify(boolean notify) -
getMessageText
-
getAuthor
-
getSubject
-
setMessageText
-
setAuthor
-
setSubject
-
getSentDate
-
setSentDate
-
getType
public int getType() -
setType
public void setType(int type) -
getRecipient
-
wasReadBy
-
getRecipients
-
setRecipients
-
getLocale
-
setLocale
-
getHtml
public int getHtml() -
setHtml
public void setHtml(int html) -
getReceivedDate
-
setReceivedDate
-