Package | Description |
---|---|
com.communote.server.model.note | |
com.communote.server.persistence.resource |
Modifier and Type | Method and Description |
---|---|
Content |
Note.getContent() |
static Content |
Content.Factory.newInstance()
Constructs a new instance of
Content . |
static Content |
Content.Factory.newInstance(String content)
Constructs a new instance of
Content , taking all required and/or read-only
properties as arguments. |
static Content |
Content.Factory.newInstance(String content,
String shortContent)
Constructs a new instance of
Content , taking all possible properties (except the
identifier(s))as arguments. |
Modifier and Type | Method and Description |
---|---|
static Note |
Note.Factory.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 |
Note.Factory.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. |
void |
Note.setContent(Content content) |
Modifier and Type | Method and Description |
---|---|
Content |
ContentDaoBase.create(Content content) |
Content |
ContentDao.create(Content content)
Creates an instance of com.communote.server.persistence.resource.Content and adds it to the
persistent store.
|
Content |
ContentDaoBase.load(Long id) |
Content |
ContentDao.load(Long id)
Loads an instance of com.communote.server.persistence.resource.Content from the persistent
store.
|
Modifier and Type | Method and Description |
---|---|
Collection<Content> |
ContentDaoBase.create(Collection<Content> entities) |
Collection<Content> |
ContentDao.create(Collection<Content> entities)
Creates a new instance of com.communote.server.persistence.resource.Content and adds from the
passed in
entities collection |
Collection<Content> |
ContentDaoBase.create(int transform,
Collection<Content> entities) |
Collection<Content> |
ContentDaoBase.loadAll() |
Collection<Content> |
ContentDao.loadAll()
Loads all entities of type
Content . |
Modifier and Type | Method and Description |
---|---|
Content |
ContentDaoBase.create(Content content) |
Content |
ContentDao.create(Content content)
Creates an instance of com.communote.server.persistence.resource.Content and adds it to the
persistent store.
|
Object |
ContentDaoBase.create(int transform,
Content content) |
Object |
ContentDao.create(int transform,
Content content)
Does the same thing as
ContentDao.create(com.communote.server.model.note.Content) with an
additional flag called transform . |
void |
ContentDaoBase.evict(Content entity)
Evicts (removes) the entity from the hibernate cache
|
void |
ContentDao.evict(Content entity)
Evicts (removes) the entity from the hibernate cache
|
void |
ContentDaoBase.remove(Content content) |
void |
ContentDao.remove(Content content)
Removes the instance of com.communote.server.persistence.resource.Content from the persistent
store.
|
protected Object |
ContentDaoBase.transformEntity(int transform,
Content entity)
Allows transformation of entities into value objects (or something else for that matter),
when the
transform flag is set to one of the constants defined in
ContentDao , please note that the ContentDao.TRANSFORM_NONE constant denotes no
transformation, so the entity itself will be returned. |
void |
ContentDaoBase.update(Content content) |
void |
ContentDao.update(Content content)
Updates the
content instance in the persistent store. |
Modifier and Type | Method and Description |
---|---|
Collection<Content> |
ContentDaoBase.create(Collection<Content> entities) |
Collection<Content> |
ContentDao.create(Collection<Content> entities)
Creates a new instance of com.communote.server.persistence.resource.Content and adds from the
passed in
entities collection |
Collection<Content> |
ContentDaoBase.create(int transform,
Collection<Content> entities) |
Collection<?> |
ContentDao.create(int transform,
Collection<Content> entities)
Does the same thing as
ContentDao.create(com.communote.server.model.note.Content) with an
additional flag called transform . |
void |
ContentDaoBase.remove(Collection<Content> entities) |
void |
ContentDao.remove(Collection<Content> entities)
Removes all entities in the given
entities |
void |
ContentDaoBase.update(Collection<Content> entities) |
void |
ContentDao.update(Collection<Content> entities)
Updates all instances in the
entities collection in the persistent store. |
Copyright © 2019 Communote team. All rights reserved.