Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
static Note |
newInstance()
Constructs a new instance of
Note . |
static Note |
newInstance(Timestamp creationDate,
Timestamp lastModificationDate,
Timestamp crawlLastModificationDate,
NoteCreationSource creationSource,
boolean direct,
NoteStatus status,
Long version,
boolean mentionTopicReaders,
boolean mentionTopicAuthors,
boolean mentionTopicManagers,
boolean mentionDiscussionAuthors,
Blog blog,
User user,
Content content)
Constructs a new instance of
Note , taking all required and/or read-only
properties as arguments. |
static Note |
newInstance(Timestamp creationDate,
Timestamp lastModificationDate,
Timestamp lastDiscussionNoteCreationDate,
Timestamp crawlLastModificationDate,
NoteCreationSource creationSource,
boolean direct,
NoteStatus status,
Long version,
String discussionPath,
Long discussionId,
boolean mentionTopicReaders,
boolean mentionTopicAuthors,
boolean mentionTopicManagers,
boolean mentionDiscussionAuthors,
GlobalId globalId,
Blog blog,
Set<User> favoriteUsers,
Set<Note> children,
Note parent,
Set<Note> versionOf,
Note origin,
Set<Blog> crosspostBlogs,
Set<GlobalId> followableItems,
Set<NoteProperty> properties,
Set<User> directUsers,
User user,
Set<Tag> tags,
Set<User> usersToBeNotified,
Set<Attachment> attachments,
Content content)
Constructs a new instance of
Note , taking all possible properties (except the
identifier(s))as arguments. |
public static Note newInstance(Timestamp creationDate, Timestamp lastModificationDate, Timestamp crawlLastModificationDate, NoteCreationSource creationSource, boolean direct, NoteStatus status, Long version, boolean mentionTopicReaders, boolean mentionTopicAuthors, boolean mentionTopicManagers, boolean mentionDiscussionAuthors, Blog blog, User user, Content content)
Note
, taking all required and/or read-only
properties as arguments.public static Note newInstance(Timestamp creationDate, Timestamp lastModificationDate, Timestamp lastDiscussionNoteCreationDate, Timestamp crawlLastModificationDate, NoteCreationSource creationSource, boolean direct, NoteStatus status, Long version, String discussionPath, Long discussionId, boolean mentionTopicReaders, boolean mentionTopicAuthors, boolean mentionTopicManagers, boolean mentionDiscussionAuthors, GlobalId globalId, Blog blog, Set<User> favoriteUsers, Set<Note> children, Note parent, Set<Note> versionOf, Note origin, Set<Blog> crosspostBlogs, Set<GlobalId> followableItems, Set<NoteProperty> properties, Set<User> directUsers, User user, Set<Tag> tags, Set<User> usersToBeNotified, Set<Attachment> attachments, Content content)
Note
, taking all possible properties (except the
identifier(s))as arguments.Copyright © 2019 Communote team. All rights reserved.