public class DiscussionNoteData extends NoteData
Constructor and Description |
---|
DiscussionNoteData() |
Modifier and Type | Method and Description |
---|---|
String[] |
getAllTags(Locale locale) |
List<NoteData> |
getComments() |
void |
setComments(List<NoteData> comments) |
addObjectProperty, getAttachments, getAttachments, getBlog, getContent, getCreationDate, getCreationSource, getDiscussionDepth, getDiscussionId, getDiscussionPath, getLastDiscussionCreationDate, getLastModificationDate, getNotifiedUsers, getNumberOfComments, getNumberOfDiscussionNotes, getObjectProperties, getParent, getPermissions, getShortContent, getTags, getUser, getVersion, hasPermission, hasPermission, isCommentable, isDeletable, isDirect, isEditable, isFavorite, isForMe, isMatched, isMentionDiscussionAuthors, isMentionTopicAuthors, isMentionTopicManagers, isMentionTopicReaders, isRepostable, isSystemNote, setAttachments, setBlog, setContent, setCreationDate, setCreationSource, setDirect, setDiscussionDepth, setDiscussionId, setDiscussionPath, setFavorite, setForMe, setLastDiscussionCreationDate, setLastModificationDate, setMatched, setMentionDiscussionAuthors, setMentionTopicAuthors, setMentionTopicManagers, setMentionTopicReaders, setNotifiedUsers, setNumberOfComments, setNumberOfDiscussionNotes, setObjectProperties, setParent, setPermissions, setShortContent, setSystemNote, setTags, setUser, setVersion
copy, equals, getId, getProperties, getProperty, hashCode, setId, setProperty
public String[] getAllTags(Locale locale)
locale
- The locale to use. If this is null, English will be used.public List<NoteData> getComments()
setComments(List)
public void setComments(List<NoteData> comments)
comments
- the comments to this note. Depending on the use case, the passed in collection
could also contain comments on comments and could be sorted for instance
chronologically or in threaded view style. Comments a user is not allowed to read
should not be in the list.Copyright © 2019 Communote team. All rights reserved.