Class MessageTemplate
- java.lang.Object
-
- com.logicaldoc.core.PersistentObject
-
- com.logicaldoc.core.communication.MessageTemplate
-
public class MessageTemplate extends PersistentObject
A template for messaging purposes.- Since:
- 6.5
- Author:
- Marco Meschieri - LogicalDOC
-
-
Field Summary
Fields Modifier and Type Field Description static String
TYPE_SYSTEM
static String
TYPE_USER
-
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
-
Constructor Summary
Constructors Constructor Description MessageTemplate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
String
getBody()
String
getDescription()
String
getFormattedBody(Map<String,Object> dictionary)
String
getFormattedSubject(Map<String,Object> dictionary)
String
getLanguage()
String
getName()
String
getSubject()
String
getType()
void
setBody(String body)
void
setDescription(String description)
void
setLanguage(String language)
void
setName(String name)
void
setSubject(String subject)
void
setType(String type)
-
Methods inherited from class com.logicaldoc.core.PersistentObject
equals, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, hashCode, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
-
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getLanguage
public String getLanguage()
-
setLanguage
public void setLanguage(String language)
-
getBody
public String getBody()
-
setBody
public void setBody(String body)
-
getSubject
public String getSubject()
-
setSubject
public void setSubject(String subject)
-
clone
public Object clone() throws CloneNotSupportedException
- Throws:
CloneNotSupportedException
-
getType
public String getType()
-
setType
public void setType(String type)
-
-