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 SummaryFieldsFields inherited from class com.logicaldoc.core.PersistentObjectDELETED_CODE_DEFAULT, DELETED_CODE_STRONG, id
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanintgetHtml()getRecipient(String name) intgetType()inthashCode()booleanisNotify()voidvoidsetHtml(int html) voidvoidsetMessageText(String mess) voidsetNotify(boolean notify) voidsetReceivedDate(Date receivedDate) voidsetRecipients(Set<Recipient> recipients) voidsetSentDate(Date sentDate) voidsetSubject(String subj) voidsetType(int type) booleanMethods inherited from class com.logicaldoc.core.PersistentObjectgetCreation, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, setCreation, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
- 
Field Details- 
TYPE_SYSTEMpublic static final int TYPE_SYSTEM- See Also:
 
- 
TYPE_NOTIFICATIONpublic static final int TYPE_NOTIFICATION- See Also:
 
 
- 
- 
Constructor Details- 
Messagepublic Message()
 
- 
- 
Method Details- 
isNotifypublic boolean isNotify()
- 
setNotifypublic void setNotify(boolean notify) 
- 
getMessageText
- 
getAuthor
- 
getSubject
- 
setMessageText
- 
setAuthor
- 
setSubject
- 
getSentDate
- 
setSentDate
- 
getTypepublic int getType()
- 
setTypepublic void setType(int type) 
- 
getRecipient
- 
wasReadBy
- 
getRecipients
- 
setRecipients
- 
getLocale
- 
setLocale
- 
getHtmlpublic int getHtml()
- 
setHtmlpublic void setHtml(int html) 
- 
getReceivedDate
- 
setReceivedDate
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- PersistentObject
 
- 
equals- Overrides:
- equalsin class- PersistentObject
 
 
-