public class AutosaveNoteData extends NoteData
Constructor and Description |
---|
AutosaveNoteData() |
Modifier and Type | Method and Description |
---|---|
List<BlogData> |
getCrosspostBlogs() |
Long |
getOriginalNoteId()
When the autosave results from an edit operation, this method returns the ID of the note to
be edited.
|
void |
setCrosspostBlogs(List<BlogData> crosspostBlogs)
Sets the blogs to create crossposts in when publishing the autosave
|
void |
setOriginalNoteId(Long originalNoteId)
Sets the ID of the note that is edited by the operation that created this autosave
|
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 List<BlogData> getCrosspostBlogs()
public Long getOriginalNoteId()
public void setCrosspostBlogs(List<BlogData> crosspostBlogs)
crosspostBlogs
- the crosspost blogspublic void setOriginalNoteId(Long originalNoteId)
originalNoteId
- the ID of the note to be editedCopyright © 2019 Communote team. All rights reserved.