public class TemplateNote extends Note
CONTENT_TYPE_HTML, CONTENT_TYPE_PLAIN_TEXT, CONTENT_TYPE_UNKNOWN
Constructor and Description |
---|
TemplateNote() |
Modifier and Type | Method and Description |
---|---|
StringProperty[] |
getProperties() |
boolean |
isActivity() |
void |
setActivity(boolean activity)
Set whether the note is an activity.
|
void |
setProperties(StringProperty[] properties)
Set the properties which should be added to the note
|
void |
setTemplateId(String templateId)
Set the ID of the template/activity that should be used for the note.
|
void |
setTemplateProperties(String templateProperties)
Set the properties that should be passed to the template engine.
|
getContent, getContentType, getCreationDate, getParentNoteId, getTags, getTopics, getUnparsedTags, getUsersToNotify, isDirectMessage, isMentionDiscussionAuthors, isMentionTopicAuthors, isMentionTopicManagers, isMentionTopicReaders, setContent, setContentType, setCreationDate, setDirectMessage, setMentionDiscussionAuthors, setMentionTopicAuthors, setMentionTopicManagers, setMentionTopicReaders, setParentNoteId, setTags, setTopics, setUnparsedTags, setUsersToNotify
public StringProperty[] getProperties()
getProperties
in class Note
public boolean isActivity()
isActivity
in class Note
public void setActivity(boolean activity)
activity
- true if the note is an activitypublic void setProperties(StringProperty[] properties)
Note
setProperties
in class Note
properties
- the properties to add to the notepublic void setTemplateId(String templateId)
getProperties()
.templateId
- the ID of the templatepublic void setTemplateProperties(String templateProperties)
getProperties()
.templateProperties
- the properties to passed to the template engineCopyright © 2019 Communote team. All rights reserved.