Modifier and Type | Method and Description |
---|---|
String |
ActivityNoteItemTemplateProvider.getNoteItemTemplate(NoteData data) |
Modifier and Type | Method and Description |
---|---|
static PageableList<NoteData> |
NoteResourceHelper.getPageableList(NoteQueryParameters noteQueryInstance,
NoteRenderContext renderContext)
Get a
PageableList of a NoteQueryParameters |
Modifier and Type | Method and Description |
---|---|
static NoteResource |
NoteBuildHelper.buildNoteResource(NoteData note)
Create a resource object for a userListItem to send back only the values specified by the
webservice definition
|
static void |
NoteResourceHelper.buildNoteResourceAttachments(NoteData note,
NoteResource newNoteResource)
Build the attachment part of the note
|
static void |
NoteResourceHelper.buildNoteResourceNotifications(NoteData note,
NoteResource newNoteResource)
Build the notification part of the note
|
Modifier and Type | Method and Description |
---|---|
static TimelineNoteResource |
TimelineNoteHelper.buildTimelineNoteResource(NoteData noteListData,
TimelineNoteResource target)
converts a note list data object into a note resource object
|
static TimelineNoteDiscussionResource |
TimelineNoteHelper.getDiscussion(NoteData noteListDataItem)
Converts the discussion details of a note list data object into the appropriate resource
object
|
static TimelineNoteTagResource[] |
TimelineNoteHelper.getTags(NoteData noteListDataItem)
Converts the tags of a note list data object into resources
|
static TimelineTopicResource |
TimelineNoteHelper.getTopic(NoteData noteListDataItem)
Extracts the details about a topic into a resource.
|
static TimelineUserResource[] |
TimelineNoteHelper.getUsersToNotify(NoteData noteListDataItem)
Extracts and converts the users that have been notified into an array of user resources
|
Modifier and Type | Method and Description |
---|---|
static NoteResource |
NoteBuildHelper.buildNoteResource(NoteData note)
Create a resource object for a userListItem to send back only the values specified by the
webservice definition
|
static void |
NoteResourceHelper.buildNoteResourceAttachments(NoteData note,
NoteResource newNoteResource)
Build the attachment part of the note
|
static void |
NoteResourceHelper.buildNoteResourceNotifications(NoteData note,
NoteResource newNoteResource)
Build the notification part of the note
|
Modifier and Type | Method and Description |
---|---|
static TimelineNoteResource |
TimelineNoteHelper.buildTimelineNoteResource(NoteData noteListData,
TimelineNoteResource target)
converts a note list data object into a note resource object
|
static TimelineNoteDiscussionResource |
TimelineNoteHelper.getDiscussion(NoteData noteListDataItem)
Converts the discussion details of a note list data object into the appropriate resource
object
|
static TimelineNoteTagResource[] |
TimelineNoteHelper.getTags(NoteData noteListDataItem)
Converts the tags of a note list data object into resources
|
static TimelineTopicResource |
TimelineNoteHelper.getTopic(NoteData noteListDataItem)
Extracts the details about a topic into a resource.
|
static TimelineUserResource[] |
TimelineNoteHelper.getUsersToNotify(NoteData noteListDataItem)
Extracts and converts the users that have been notified into an array of user resources
|
Modifier and Type | Method and Description |
---|---|
static NoteResource |
NoteBuildHelper.buildNoteResource(NoteData note)
Create a resource object for a userListItem to send back only the values specified by the
webservice definition
|
static void |
NoteResourceHelper.buildNoteResourceAttachments(NoteData note,
NoteResource newNoteResource)
Build the attachment part of the note
|
static void |
NoteResourceHelper.buildNoteResourceNotifications(NoteData note,
NoteResource newNoteResource)
Build the notification part of the note
|
Modifier and Type | Method and Description |
---|---|
static TimelineNoteResource |
TimelineNoteHelper.buildTimelineNoteResource(NoteData noteListData,
TimelineNoteResource target)
converts a note list data object into a note resource object
|
static TimelineNoteDiscussionResource |
TimelineNoteHelper.getDiscussion(NoteData noteListDataItem)
Converts the discussion details of a note list data object into the appropriate resource
object
|
static TimelineNoteTagResource[] |
TimelineNoteHelper.getTags(NoteData noteListDataItem)
Converts the tags of a note list data object into resources
|
static TimelineTopicResource |
TimelineNoteHelper.getTopic(NoteData noteListDataItem)
Extracts the details about a topic into a resource.
|
static TimelineUserResource[] |
TimelineNoteHelper.getUsersToNotify(NoteData noteListDataItem)
Extracts and converts the users that have been notified into an array of user resources
|
Modifier and Type | Method and Description |
---|---|
static NoteResource |
NoteBuildHelper.buildNoteResource(NoteData note)
Create a resource object for a userListItem to send back only the values specified by the
webservice definition
|
static void |
NoteResourceHelper.buildNoteResourceAttachments(NoteData note,
NoteResource newNoteResource)
Build the attachment part of the note
|
static void |
NoteResourceHelper.buildNoteResourceNotifications(NoteData note,
NoteResource newNoteResource)
Build the notification part of the note
|
Modifier and Type | Method and Description |
---|---|
static TimelineNoteResource |
TimelineNoteHelper.buildTimelineNoteResource(NoteData noteListData,
TimelineNoteResource target)
converts a note list data object into a note resource object
|
static TimelineNoteDiscussionResource |
TimelineNoteHelper.getDiscussion(NoteData noteListDataItem)
Converts the discussion details of a note list data object into the appropriate resource
object
|
static TimelineNoteTagResource[] |
TimelineNoteHelper.getTags(NoteData noteListDataItem)
Converts the tags of a note list data object into resources
|
static TimelineTopicResource |
TimelineNoteHelper.getTopic(NoteData noteListDataItem)
Extracts the details about a topic into a resource.
|
static TimelineUserResource[] |
TimelineNoteHelper.getUsersToNotify(NoteData noteListDataItem)
Extracts and converts the users that have been notified into an array of user resources
|
Modifier and Type | Method and Description |
---|---|
boolean |
AliasAndTagLinkRenderer.processNoteContent(NoteRenderContext context,
NoteData item)
Processes the note content for a specific render context.
|
boolean |
AliasAndTagLinkRenderer.supports(NoteRenderMode mode,
NoteData note)
Whether the processor supports a specific render mode.
|
Modifier and Type | Method and Description |
---|---|
boolean |
RichMediaLinkRendererPreProcessor.process(NoteRenderContext context,
NoteData item)
Processes a note for a specific render context.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SmileysNoteRenderingPreProcessor.processNoteContent(NoteRenderContext context,
NoteData item)
Processes a note for a specific render context.
|
boolean |
SmileysNoteRenderingPreProcessor.supports(NoteRenderMode mode,
NoteData item) |
Modifier and Type | Method and Description |
---|---|
void |
EmbedMediaMetadataProvider.addMetaData(Map<String,String> requestParameters,
NoteData data,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
NoteData |
NoteData.getParent() |
Modifier and Type | Method and Description |
---|---|
void |
NoteData.setParent(NoteData parent) |
Modifier and Type | Method and Description |
---|---|
NoteData |
NoteRenderingPreProcessorManager.process(NoteRenderContext context,
NoteData item)
Processes a note by calling all the registered preprocessors which support the render mode of
the context.
|
Modifier and Type | Method and Description |
---|---|
NoteData |
NoteRenderingPreProcessorManager.process(NoteRenderContext context,
NoteData item)
Processes a note by calling all the registered preprocessors which support the render mode of
the context.
|
boolean |
NoteMetadataRenderingPreProcessor.process(NoteRenderContext context,
NoteData item)
Processes a note for a specific render context.
|
boolean |
NoteContentRenderingPreProcessor.processNoteContent(NoteRenderContext context,
NoteData item)
Processes the note content for a specific render context.
|
boolean |
NoteContentRenderingPreProcessor.supports(NoteRenderMode mode,
NoteData note)
Whether the processor supports a specific render mode.
|
Modifier and Type | Method and Description |
---|---|
NoteData |
NoteManagementImpl.getNote(long noteId,
NoteRenderContext renderContext) |
NoteData |
NoteManagement.getNote(long noteId,
NoteRenderContext renderContext) |
Modifier and Type | Method and Description |
---|---|
void |
NoteWriter.write(NoteQueryParameters queryInstance,
OutputStream outputStream,
Collection<NoteData> noteItems,
String originalRequestUrl)
Writes the exported content into the output stream.
|
Modifier and Type | Method and Description |
---|---|
void |
RtfNoteWriter.write(NoteQueryParameters queryInstance,
OutputStream outputStream,
Collection<NoteData> notes,
String requestUrl)
Export to RTF.
|
void |
RssNoteWriter.write(NoteQueryParameters queryInstance,
OutputStream outputStream,
Collection<NoteData> notes,
String requestUrl)
Exports to RSS.
|
Modifier and Type | Method and Description |
---|---|
boolean |
RepostNoteRenderingPreProcessor.process(NoteRenderContext context,
NoteData item) |
boolean |
CreateRepostNoteMetadataRenderingPreProcessor.process(NoteRenderContext context,
NoteData item) |
boolean |
CreateRepostNoteContentRenderingPreProcessor.processNoteContent(NoteRenderContext context,
NoteData originalNoteItem) |
boolean |
CreateRepostNoteContentRenderingPreProcessor.supports(NoteRenderMode mode,
NoteData note) |
Modifier and Type | Method and Description |
---|---|
NoteData |
NoteRenderingExtensionPoint.process(NoteRenderContext context,
NoteData item) |
Modifier and Type | Method and Description |
---|---|
NoteData |
NoteRenderingExtensionPoint.process(NoteRenderContext context,
NoteData item) |
boolean |
LikeNoteRenderingPreProcessor.process(NoteRenderContext noteRenderContext,
NoteData noteListData)
Processes the note.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TemplateNoteRenderingPreProcessor.processNoteContent(NoteRenderContext context,
NoteData item)
Processes the note content for a specific render context.
|
boolean |
TemplateNoteRenderingPreProcessor.supports(NoteRenderMode mode,
NoteData item)
Whether the processor supports a specific render mode.
|
Modifier and Type | Method and Description |
---|---|
static String |
UserNameHelper.getSimpleDefaultUserSignature(NoteData noteListData)
Returns a simple user signature consisting of "'FIRSTNAME' 'LASTNAME'" or "'ALIAS'" in case
firstname and lastname are not defined.
|
Modifier and Type | Class and Description |
---|---|
class |
AutosaveNoteData
Note data object to be used for autosaves.
|
class |
DiscussionNoteData
NoteData which additionally provides the comments of the note.
|
Modifier and Type | Method and Description |
---|---|
List<NoteData> |
DiscussionNoteData.getComments() |
Modifier and Type | Method and Description |
---|---|
void |
DiscussionNoteData.setComments(List<NoteData> comments) |
Modifier and Type | Method and Description |
---|---|
static Matcher<NoteData> |
MatcherFactory.createMatcher(NoteQueryParameters parameters)
Method to create a matcher for the given parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
UsersToBeNotifiedMatcher.matches(NoteData entity)
Method to check an entity.
|
boolean |
UserIdsMatcher.matches(NoteData entity)
Method to check an entity.
|
boolean |
UserAliasesMatcher.matches(NoteData entity)
Method to check an entity.
|
boolean |
TopicIdsMatcher.matches(NoteData entity)
Method to check an entity.
|
boolean |
TagIdsMatcher.matches(NoteData entity)
Method to check an entity.
|
boolean |
PropertyFilterMatcher.matches(NoteData entity)
Method to check an entity.
|
boolean |
NoteIdMatcher.matches(NoteData entity)
Method to check an entity.
|
boolean |
FullTextSearchFiltersMatcher.matches(NoteData entity)
Method to check an entity.
|
boolean |
FollowingMatcher.matches(NoteData entity)
Method to check an entity.
|
boolean |
FavoriteMatcher.matches(NoteData entity)
Method to check an entity.
|
boolean |
DateRangeMatcher.matches(NoteData entity)
Method to check an entity.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleNoteListItemToNoteDataQueryResultConverter<O extends NoteData>
This converter converts a note to a note list data object.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleNoteListItemToDiscussionNoteDataConverter.setCommentMatcher(Matcher<NoteData> commentMatcher,
boolean filter)
Sets a matcher to mark comments, if loadComments is set to true.
|
Modifier and Type | Method and Description |
---|---|
NoteData |
NoteService.getNote(long noteId,
NoteRenderContext renderContext) |
Modifier and Type | Method and Description |
---|---|
PageableList<NoteData> |
ChronologicalPostListWidget.getDiscussionNotes(long discussionId,
boolean listViewMode,
Locale locale)
Helper which fetches the notes of a discussion and returns them a style dependent of the
selected view.
|
protected PageableList<NoteData> |
ChronologicalPostListWidget.handleQueryList()
hook that actually requests the list on the api
|
Modifier and Type | Method and Description |
---|---|
String |
ChronologicalPostListWidget.getDiscussionTitle(NoteData note,
Locale locale)
Get the discussion title for the note (e.g.
|
String |
ChronologicalPostListWidget.getNoteActions(NoteData note)
Return a CSV listing the actions that can be executed on a note.
|
String |
ChronologicalPostListWidget.getNoteItemTemplate(NoteData data)
Return the location of a template to use for rendering the HTML of the provided note
|
String |
ChronologicalPostListWidget.getNoteMetaData(NoteData note)
Create a JSON object containing some meta data about a note.
|
String |
ChronologicalPostListWidget.getNoteTitle(NoteData note,
Locale locale)
Get the note title for the note (e.g.
|
Modifier and Type | Method and Description |
---|---|
void |
CPLNoteActionsProviderManagement.addActions(Map<String,String> requestParameters,
NoteData data,
List<String> actions)
Add the names of the actions which should be available for the given note by invoking the
registered providers.
|
void |
CPLNoteMetaDataProviderManagement.addMetaData(Map<String,String> requestParameters,
NoteData data,
Map<String,Object> metaData)
Add additional meta-data for the note to the provided map by calling the registered
providers.
|
abstract void |
CPLNoteMetaDataProvider.addMetaData(Map<String,String> requestParameters,
NoteData data,
Map<String,Object> metaData)
Add additional meta-data for the given note.
|
abstract boolean |
CPLNoteActionsProvider.addNoteActions(Map<String,String> requestParameters,
NoteData data,
List<String> actions)
Add the names of the actions which should be available for the given note.
|
String |
CPLNoteItemTemplateProviderManagement.getNoteItemTemplate(NoteData data)
Return the location of the template that should be used to render the HTML of the provided
note.
|
abstract String |
CPLNoteItemTemplateProvider.getNoteItemTemplate(NoteData data)
Return the identifier of a template that should be used to render the HTML of the provided
note.
|
Copyright © 2019 Communote team. All rights reserved.