Class MessageTemplate
java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.core.communication.MessageTemplate
- All Implemented Interfaces:
Serializable
A template for messaging purposes.
- Since:
- 6.5
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
-
Field Summary
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getBody()
getFormattedBody
(Map<String, Object> dictionary) getFormattedSubject
(Map<String, Object> dictionary) getName()
getType()
int
hashCode()
void
void
setDescription
(String description) void
setLanguage
(String language) void
void
setSubject
(String subject) void
Methods inherited from class com.logicaldoc.core.PersistentObject
getCreation, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, setCreation, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
-
Field Details
-
TYPE_SYSTEM
- See Also:
-
TYPE_USER
- See Also:
-
-
Constructor Details
-
MessageTemplate
public MessageTemplate() -
MessageTemplate
-
-
Method Details
-
getFormattedBody
-
getFormattedSubject
-
getName
-
setName
-
getDescription
-
setDescription
-
getLanguage
-
setLanguage
-
getBody
-
setBody
-
getSubject
-
setSubject
-
getType
-
setType
-
hashCode
public int hashCode()- Overrides:
hashCode
in classPersistentObject
-
equals
- Overrides:
equals
in classPersistentObject
-