Modifier and Type | Method and Description |
---|---|
void |
ActivityNotePermissionFilter.filter(Note entity,
Set<Permission<Note>> permissions) |
Modifier and Type | Method and Description |
---|---|
void |
ActivityNotePermissionFilter.filter(Note entity,
Set<Permission<Note>> permissions) |
void |
ActivityNotePermissionFilter.filterForCreation(NoteStoringTO entity,
Set<Permission<Note>> permissions)
Filters the given permissions for the given entity/TO.
|
Modifier and Type | Method and Description |
---|---|
NoteStoringTO |
ActivityNoteStoringPreProcessor.processEdit(Note noteToEdit,
NoteStoringTO noteStoringTO) |
Modifier and Type | Method and Description |
---|---|
NoteStoringTO |
ContentTypeNotePreProcessor.processEdit(Note noteToEdit,
NoteStoringTO noteStoringTO) |
Modifier and Type | Field and Description |
---|---|
static Permission<Note> |
NotePermissionManagement.PERMISSION_COMMENT
If set, the user is allowed to comment on the note.
|
static Permission<Note> |
NotePermissionManagement.PERMISSION_DELETE
If set, the user is allowed to delete the note.
|
static Permission<Note> |
NotePermissionManagement.PERMISSION_EDIT
If set, the user is allowed to edit the note.
|
static Permission<Note> |
NotePermissionManagement.PERMISSION_FAVOR
If set, the user is allowed to favor the note.
|
static Permission<Note> |
NotePermissionManagement.PERMISSION_LIKE
If set, the user is allowed to like the note.
|
static Permission<Note> |
NotePermissionManagement.PERMISSION_MOVE
If set, the user is allowed to move the note (whole discussion).
|
static Permission<Note> |
NotePermissionManagement.PERMISSION_READ
If set, the user is allowed to read the note.
|
static Permission<Note> |
NotePermissionManagement.PERMISSION_REPOST
If set, the user is allowed to repost the note.
|
Modifier and Type | Method and Description |
---|---|
Set<Permission<Note>> |
NoteData.getPermissions() |
Modifier and Type | Method and Description |
---|---|
boolean |
NoteData.hasPermission(Permission<Note> permission)
Checks, if the note has the given permission.
|
void |
NoteData.setPermissions(Set<Permission<Note>> permissions) |
Modifier and Type | Method and Description |
---|---|
boolean |
NoteStoringPostProcessor.process(Note note,
NoteStoringTO originalNoteStoringTO,
Map<String,String> properties)
Allows synchronous processing of a note after it was created or updated.
|
void |
NoteStoringPreProcessorManager.processEdit(Note noteToEdit,
NoteStoringTO noteStoringTO)
Run the registered preprocessors before updating an existing note.
|
NoteStoringTO |
NoteStoringImmutableContentPreProcessor.processEdit(Note noteToEdit,
NoteStoringTO noteStoringTO)
Processing function which is invoked before an existing note is updated.
|
NoteStoringTO |
NoteStoringEditableContentPreProcessor.processEdit(Note noteToEdit,
NoteStoringTO noteStoringTO)
Processing function which is invoked before an existing note is updated.
|
Modifier and Type | Method and Description |
---|---|
void |
NoteStoringPostProcessorManager.process(Collection<Note> notes,
NoteStoringTO orginalNoteStoringTO,
Map<String,String> properties)
Process the provided notes synchronously by the registered processors.
|
Modifier and Type | Method and Description |
---|---|
int |
DiscussionDetailsRetriever.getReplyCount(Note note)
Returns the number of replies to a note.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
NoteManagementImpl.getNote(Long noteId,
Converter<Note,T> converter)
Method to get a specific note.
|
<T> T |
NoteManagement.getNote(Long noteId,
Converter<Note,T> converter)
Method to get a specific note.
|
Modifier and Type | Method and Description |
---|---|
static String |
MailBasedPostingHelper.createMessageIdentifier(Note note)
Creates a message identifier that uniquely identifies a note and can be used as part of a
Message-ID email header.
|
static String |
NoteHelper.getNoteTitle(Note note,
Locale locale)
Get the note title for the note (e.g.
|
Modifier and Type | Method and Description |
---|---|
protected Collection<User> |
UserNotificationNoteProcessor.getUsersToNotify(Note note,
NoteStoringPostProcessorContext context,
Set<Long> userIdsToSkip) |
protected Collection<User> |
TopicNotificationNoteProcessor.getUsersToNotify(Note note,
NoteStoringPostProcessorContext context,
Set<Long> userIdsToSkip) |
protected abstract Collection<User> |
NotificationNoteProcessor.getUsersToNotify(Note note,
NoteStoringPostProcessorContext context,
Set<Long> userIdsToSkip)
Retrieves the users to be notified.
|
protected Collection<User> |
DiscussionParticipationNotificationNoteProcessor.getUsersToNotify(Note note,
NoteStoringPostProcessorContext context,
Set<Long> userIdsToSkip) |
protected Collection<User> |
DiscussionNotificationNoteProcessor.getUsersToNotify(Note note,
NoteStoringPostProcessorContext context,
Set<Long> userIdsToSkip) |
protected boolean |
UserNotificationNoteProcessor.isSendNotifications(Note note,
NoteStoringTO noteStoringTO,
Map<String,String> properties,
NoteNotificationDetails resendDetails) |
protected boolean |
TopicNotificationNoteProcessor.isSendNotifications(Note note,
NoteStoringTO orginalNoteStoringTO,
Map<String,String> properties,
NoteNotificationDetails resendDetails) |
protected abstract boolean |
NotificationNoteProcessor.isSendNotifications(Note note,
NoteStoringTO orginalNoteStoringTO,
Map<String,String> properties,
NoteNotificationDetails resendDetails)
Whether this notification processor wants to send notifications.
|
protected boolean |
DiscussionParticipationNotificationNoteProcessor.isSendNotifications(Note note,
NoteStoringTO noteStoringTO,
Map<String,String> properties,
NoteNotificationDetails resendDetails) |
protected boolean |
DiscussionNotificationNoteProcessor.isSendNotifications(Note note,
NoteStoringTO noteStoringTO,
Map<String,String> properties,
NoteNotificationDetails resendDetails) |
boolean |
NotificationNoteProcessor.process(Note note,
NoteStoringTO orginalNoteStoringTO,
Map<String,String> properties) |
NoteStoringTO |
RepostNoteStoringPreProcessor.processEdit(Note noteToEdit,
NoteStoringTO noteStoringTO) |
NoteStoringTO |
RemoveUnsupportedMarkupNotePreProcessor.processEdit(Note noteToEdit,
NoteStoringTO noteStoringTO) |
void |
NoteStoringPreProcessorManagerImpl.processEdit(Note noteToEdit,
NoteStoringTO noteStoringTO) |
NoteStoringTO |
ExtractUsersNotePreProcessor.processEdit(Note noteToEdit,
NoteStoringTO noteStoringTO) |
NoteStoringTO |
ExtractTagsNotePreProcessor.processEdit(Note noteToEdit,
NoteStoringTO noteStoringTO) |
NoteStoringTO |
ExtractBlogsNoteStoringPreProcessor.processEdit(Note noteToEdit,
NoteStoringTO noteStoringTO) |
NoteStoringTO |
EditNotificationNoteStoringPreProcessor.processEdit(Note noteToEdit,
NoteStoringTO noteStoringTO) |
NoteStoringTO |
AssertNoteContentNotePreProcessor.processEdit(Note noteToEdit,
NoteStoringTO noteStoringTO) |
NoteStoringTO |
AssertCommentPreProcessor.processEdit(Note noteToEdit,
NoteStoringTO noteStoringTO) |
Modifier and Type | Method and Description |
---|---|
void |
NoteStoringPostProcessorManagerImpl.process(Collection<Note> notes,
NoteStoringTO orginalNoteStoringTO,
Map<String,String> properties) |
Modifier and Type | Method and Description |
---|---|
Note |
ExtendedContentId.getNote() |
Constructor and Description |
---|
NotifyAboutNoteMailMessage(User recipient,
User sender,
Locale locale,
Note note,
Blog blog,
Map<String,String> templatePlaceholderMessageKeys,
Map<String,Object> model)
Create a notification message for user a note.
|
Modifier and Type | Method and Description |
---|---|
void |
NotificationManagementImpl.sendMessage(Note note,
Collection<User> usersToNotify,
NotificationDefinition definition)
Send notifications to users to inform about created or edited notes.
|
void |
NotificationService.sendMessage(Note note,
Collection<User> usersToNotify,
NotificationDefinition notificationDefinition)
Send notifications to users to inform about created or edited notes.
|
void |
NotificationManagement.sendMessage(Note note,
Collection<User> usersToNotify,
NotificationDefinition notificationDefinition)
Send notifications to users to inform about created or edited notes.
|
Modifier and Type | Method and Description |
---|---|
protected Note |
NotePermissionManagementImpl.getEntity(Long noteId)
Returns the entity for the given id.
|
Modifier and Type | Method and Description |
---|---|
protected NoteManagementAuthorizationException |
NotePermissionManagementImpl.createPermissonViolationException(Note entity,
Permission<Note> permission) |
Modifier and Type | Method and Description |
---|---|
protected NoteManagementAuthorizationException |
NotePermissionManagementImpl.createPermissonViolationException(Note entity,
Permission<Note> permission) |
Modifier and Type | Method and Description |
---|---|
void |
NoteRolePermissionFilter.filter(Note note,
Set<Permission<Note>> permissions)
Filters the given permissions for the given entity.
|
Modifier and Type | Method and Description |
---|---|
void |
NoteRolePermissionFilter.filter(Note note,
Set<Permission<Note>> permissions)
Filters the given permissions for the given entity.
|
void |
NoteRolePermissionFilter.filterForCreation(NoteStoringTO entity,
Set<Permission<Note>> permissions)
Filters the given permissions for the given entity/TO.
|
Modifier and Type | Method and Description |
---|---|
protected Note |
UserNotePropertyAccessor.load(Long id) |
protected Note |
NotePropertyAccessor.load(Long id) |
Modifier and Type | Method and Description |
---|---|
protected void |
UserNotePropertyAccessor.assertReadAccess(Note note)
Checks, that the current user is allowed to read the topic the note is in.
|
protected void |
NotePropertyAccessor.assertReadAccess(Note note)
Asserts valid read access for the given object.
|
protected void |
UserNotePropertyAccessor.assertWriteAccess(Note note)
Method to assert, that the current user has write access to the given object.
|
protected void |
NotePropertyAccessor.assertWriteAccess(Note note)
Method to assert, that the current user has write access to the given object.
|
protected Long |
UserNotePropertyAccessor.getObjectId(Note object) |
protected Long |
NotePropertyAccessor.getObjectId(Note object) |
protected UserNoteProperty |
UserNotePropertyAccessor.handleCreateNewProperty(Note note)
Create a new property and associate it with the object
|
protected NoteProperty |
NotePropertyAccessor.handleCreateNewProperty(Note note)
Create a new property and associate it with the object
|
protected Set<StringPropertyTO> |
UserNotePropertyAccessor.handleGetAllObjectProperties(Note note) |
protected UserNoteProperty |
UserNotePropertyAccessor.handleGetObjectPropertyUnfiltered(Note note,
String keyGroup,
String propertyKey) |
protected void |
UserNotePropertyAccessor.handleRemoveObjectProperty(Note note,
String keyGroup,
String key) |
Modifier and Type | Method and Description |
---|---|
void |
NoteTemplatePermissionFilter.filter(Note entity,
Set<Permission<Note>> permissions) |
NoteStoringTO |
TemplateNoteStoringPreProcessor.processEdit(Note noteToEdit,
NoteStoringTO noteStoringTO) |
Modifier and Type | Method and Description |
---|---|
void |
NoteTemplatePermissionFilter.filter(Note entity,
Set<Permission<Note>> permissions) |
void |
NoteTemplatePermissionFilter.filterForCreation(NoteStoringTO entity,
Set<Permission<Note>> permissions)
Filters the given permissions for the given entity/TO.
|
Modifier and Type | Method and Description |
---|---|
protected Note |
DataAccessNoteConverter.getNote(Long noteId)
Getting Note object by id
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
SimpleNoteListItemToNoteDataQueryResultConverter.convert(Note source,
O target,
boolean fillParent)
Converts a note with parent and children
|
Modifier and Type | Method and Description |
---|---|
Note |
Attachment.getNote() |
Modifier and Type | Method and Description |
---|---|
static Attachment |
Attachment.Factory.newInstance(String contentIdentifier,
String repositoryIdentifier,
String name,
String contentType,
Long size,
AttachmentStatus status,
Timestamp uploadDate,
Note note,
GlobalId globalId,
User uploader,
Set<AttachmentProperty> properties)
Constructs a new instance of
Attachment , taking all possible properties (except
the identifier(s))as arguments. |
void |
Attachment.setNote(Note note) |
Modifier and Type | Method and Description |
---|---|
Note |
Note.getOrigin() |
Note |
Note.getParent() |
static Note |
Note.Factory.newInstance()
Constructs a new instance of
Note . |
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. |
Modifier and Type | Method and Description |
---|---|
Set<Note> |
Note.getChildren() |
Set<Note> |
Note.getVersionOf() |
Modifier and Type | Method and Description |
---|---|
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.setOrigin(Note origin) |
void |
Note.setParent(Note parent) |
Modifier and Type | Method and Description |
---|---|
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. |
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.setChildren(Set<Note> children) |
void |
Note.setVersionOf(Set<Note> versionOf) |
Modifier and Type | Method and Description |
---|---|
Note |
UserNoteProperty.getNote() |
Modifier and Type | Method and Description |
---|---|
static UserNoteProperty |
UserNoteProperty.Factory.newInstance(String propertyValue,
String keyGroup,
String propertyKey,
Date lastModificationDate,
User user,
Note note)
Constructs a new instance of
UserNoteProperty , taking all possible properties
(except the identifier(s))as arguments. |
void |
UserNoteProperty.setNote(Note note) |
Modifier and Type | Method and Description |
---|---|
Note |
UserNoteEntity.getNote() |
Modifier and Type | Method and Description |
---|---|
static UserNoteEntity |
UserNoteEntity.Factory.newInstance(int rank,
Note note,
User user)
Constructs a new instance of
UserNoteEntity ,
taking all required and/or read-only properties as arguments. |
static UserNoteEntity |
UserNoteEntity.Factory.newInstance(int rank,
Note note,
User user,
Set<UserNoteProperty> properties)
Constructs a new instance of
UserNoteEntity ,
taking all possible properties (except the identifier(s))as arguments. |
void |
UserNoteEntity.setNote(Note note) |
Modifier and Type | Method and Description |
---|---|
Note |
NoteDaoBase.create(Note note) |
Note |
NoteDao.create(Note note)
Creates an instance of Note and adds it to the persistent store.
|
Note |
NoteDaoBase.findLatestNote() |
Note |
NoteDao.findLatestNote()
Returns the note with highest ID.
|
Note |
NoteDaoBase.findNearestNote(long noteId,
Date creationDate,
boolean younger) |
Note |
NoteDao.findNearestNote(long noteId,
Date creationDate,
boolean younger)
Returns the nearest note to the given Id.
|
Note |
NoteDaoImpl.forceLoad(Long id)
Load a note from the persistent store, even if it is cached.
|
Note |
NoteDao.forceLoad(Long id)
Load a note from the persistent store, even if it is cached.
|
protected Note |
NoteDaoImpl.handleFindLatestNote()
Performs the core logic for
NoteDaoBase.findLatestNote() |
protected abstract Note |
NoteDaoBase.handleFindLatestNote()
Performs the core logic for
NoteDaoBase.findLatestNote() |
protected Note |
NoteDaoImpl.handleFindNearestNote(long noteId,
Date creationDate,
boolean younger) |
protected abstract Note |
NoteDaoBase.handleFindNearestNote(long noteId,
Date creationDate,
boolean younger)
Performs the core logic for
NoteDaoBase.findNearestNote(long, java.util.Date, boolean) |
Note |
NoteDaoBase.load(Long id) |
Note |
NoteDao.load(Long id)
Loads an instance of Note from the persistent store.
|
Modifier and Type | Method and Description |
---|---|
Collection<Note> |
NoteDaoBase.create(Collection<Note> entities) |
Collection<Note> |
NoteDao.create(Collection<Note> entities)
Creates a new instance of Note and adds from the passed in
entities collection |
Collection<Note> |
NoteDaoBase.create(int transform,
Collection<Note> entities) |
List<Note> |
NoteDaoBase.getNotesByTag(Long tagId) |
List<Note> |
NoteDao.getNotesByTag(Long tagId) |
List<Note> |
NoteDaoBase.getNotesForBlog(Long blogId,
Long firstNoteId,
Integer limit) |
List<Note> |
NoteDao.getNotesForBlog(Long blogId,
Long firstNoteId,
Integer limit) |
List<Note> |
NoteDaoBase.getNotesOfUser(Long userId) |
List<Note> |
NoteDao.getNotesOfUser(Long userId) |
protected List<Note> |
NoteDaoImpl.handleGetNotesByTag(Long tagId)
Performs the core logic for
NoteDaoBase.getNotesByTag(Long) |
protected abstract List<Note> |
NoteDaoBase.handleGetNotesByTag(Long tagId)
Performs the core logic for
NoteDaoBase.getNotesByTag(Long) |
protected List<Note> |
NoteDaoImpl.handleGetNotesForBlog(Long blogId,
Long firstNoteId,
Integer limit)
Performs the core logic for
NoteDaoBase.getNotesForBlog(Long, Long, Integer) |
protected abstract List<Note> |
NoteDaoBase.handleGetNotesForBlog(Long blogId,
Long firstNoteId,
Integer limit)
Performs the core logic for
NoteDaoBase.getNotesForBlog(Long, Long, Integer) |
protected List<Note> |
NoteDaoImpl.handleGetNotesOfUser(Long userId)
Performs the core logic for
NoteDaoBase.getNotesOfUser(Long) |
protected abstract List<Note> |
NoteDaoBase.handleGetNotesOfUser(Long userId)
Performs the core logic for
NoteDaoBase.getNotesOfUser(Long) |
Collection<Note> |
NoteDaoBase.loadAll() |
Collection<Note> |
NoteDao.loadAll()
Loads all entities of type
Note . |
Modifier and Type | Method and Description |
---|---|
Object |
NoteDaoImpl.create(int transform,
Note note)
Does the same thing as
NoteDao.create(Note) with an additional flag called
transform . |
Object |
NoteDaoBase.create(int transform,
Note note) |
Object |
NoteDao.create(int transform,
Note note)
Does the same thing as
NoteDao.create(Note) with an additional flag called
transform . |
Note |
NoteDaoBase.create(Note note) |
Note |
NoteDao.create(Note note)
Creates an instance of Note and adds it to the persistent store.
|
void |
NoteDaoBase.evict(Note entity)
Evicts (removes) the entity from the hibernate cache
|
void |
NoteDao.evict(Note entity)
Evicts (removes) the entity from the hibernate cache
|
protected void |
NoteDaoImpl.handleUpdateFollowableItems(Note note,
boolean updateChildren)
Performs the core logic for
#updateFollowableItems(Note) |
protected abstract void |
NoteDaoBase.handleUpdateFollowableItems(Note note,
boolean updateChildren)
Performs the core logic for
#updateFollowableItems(Note) |
void |
NoteDaoBase.remove(Note note) |
void |
NoteDao.remove(Note note)
Removes the instance of Note from the persistent store.
|
protected Object |
NoteDaoBase.transformEntity(int transform,
Note 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
NoteDao , please note that the NoteDao.TRANSFORM_NONE constant denotes no
transformation, so the entity itself will be returned. |
void |
NoteDaoBase.update(Note note) |
void |
NoteDao.update(Note note)
Updates the
note instance in the persistent store. |
void |
NoteDaoBase.updateFollowableItems(Note note,
boolean updateChildren) |
void |
NoteDao.updateFollowableItems(Note note,
boolean updateChildren)
Updates the followableItems of a Note to the current settings.
|
Modifier and Type | Method and Description |
---|---|
Collection<Note> |
NoteDaoBase.create(Collection<Note> entities) |
Collection<Note> |
NoteDao.create(Collection<Note> entities)
Creates a new instance of Note and adds from the passed in
entities collection |
Collection<Note> |
NoteDaoBase.create(int transform,
Collection<Note> entities) |
Collection<?> |
NoteDao.create(int transform,
Collection<Note> entities)
Does the same thing as
NoteDao.create(Note) with an additional flag called
transform . |
void |
NoteDaoBase.remove(Collection<Note> entities) |
void |
NoteDao.remove(Collection<Note> entities)
Removes all entities in the given
entities |
void |
NoteDaoBase.update(Collection<Note> entities) |
void |
NoteDao.update(Collection<Note> entities)
Updates all instances in the
entities collection in the persistent store. |
Modifier and Type | Method and Description |
---|---|
GlobalId |
GlobalIdDaoBase.createGlobalId(Note note) |
GlobalId |
GlobalIdDao.createGlobalId(Note note) |
protected GlobalId |
GlobalIdDaoImpl.handleCreateGlobalId(Note note)
Create a global id for the note
|
protected abstract GlobalId |
GlobalIdDaoBase.handleCreateGlobalId(Note note)
Performs the core logic for
GlobalIdDaoBase.createGlobalId(com.communote.server.model.note.Note) |
Modifier and Type | Method and Description |
---|---|
Note |
AttachmentDaoBase.findNoteByContentId(ContentId contentId) |
Note |
AttachmentDao.findNoteByContentId(ContentId contentId)
Finds the note by a given content id of an attachment.
|
protected Note |
AttachmentDaoImpl.handleFindNoteByContentId(ContentId contentId)
Performs the core logic for
AttachmentDaoBase.findNoteByContentId(com.communote.server.core.crc.vo.ContentId) |
protected abstract Note |
AttachmentDaoBase.handleFindNoteByContentId(ContentId contentId)
Performs the core logic for
AttachmentDaoBase.findNoteByContentId(com.communote.server.core.crc.vo.ContentId) |
Modifier and Type | Method and Description |
---|---|
<T> T |
NoteService.getNote(Long noteId,
Converter<Note,T> converter)
Method to get a specific note.
|
Copyright © 2019 Communote team. All rights reserved.