Modifier and Type | Method and Description |
---|---|
static NoteRenderContext |
NoteResourceHelper.createNoteRenderContext(Boolean filterHtml,
boolean beautifyPlainText,
javax.ws.rs.core.Request request)
Creates a suitable note render context.
|
Modifier and Type | Method and Description |
---|---|
static PageableList<NoteData> |
NoteResourceHelper.getPageableList(NoteQueryParameters noteQueryInstance,
NoteRenderContext renderContext)
Get a
PageableList of a NoteQueryParameters |
Constructor and Description |
---|
TimelineNoteResourceConverter(NoteQueryParameters noteQueryInstance,
NoteRenderContext renderContext)
Creates a new converter which will convert the queryResult depending on settings of the query
instance.
|
Modifier and Type | Method and Description |
---|---|
static NoteRenderContext |
NoteResourceHelper.createNoteRenderContext(Boolean filterHtml,
boolean beautifyPlainText,
javax.ws.rs.core.Request request)
Creates a suitable note render context.
|
Constructor and Description |
---|
TimelineNoteResourceConverter(NoteQueryParameters noteQueryParameters,
NoteRenderContext renderContext)
Creates a new converter which will convert the queryResult depending on settings of the query
instance.
|
Modifier and Type | Method and Description |
---|---|
static NoteRenderContext |
NoteResourceHelper.createNoteRenderContext(Boolean filterHtml,
boolean beautifyPlainText,
javax.ws.rs.core.Request request)
Creates a suitable note render context.
|
Constructor and Description |
---|
TimelineNoteResourceConverter(NoteQueryParameters noteQueryParameters,
NoteRenderContext renderContext)
Creates a new converter which will convert the queryResult depending on settings of the query
instance.
|
Modifier and Type | Method and Description |
---|---|
static NoteRenderContext |
NoteResourceHelper.createNoteRenderContext(Boolean filterHtml,
boolean beautifyPlainText,
javax.ws.rs.core.Request request)
Creates a suitable note render context.
|
Constructor and Description |
---|
TimelineNoteResourceConverter(NoteQueryParameters noteQueryParameters,
NoteRenderContext renderContext)
Creates a new converter which will convert the queryResult depending on settings of the query
instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AliasAndTagLinkRenderer.processNoteContent(NoteRenderContext context,
NoteData item)
Processes the note content for a specific render context.
|
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.
|
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.
|
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 |
---|---|
boolean |
RepostNoteRenderingPreProcessor.process(NoteRenderContext context,
NoteData item) |
boolean |
CreateRepostNoteMetadataRenderingPreProcessor.process(NoteRenderContext context,
NoteData item) |
boolean |
CreateRepostNoteContentRenderingPreProcessor.processNoteContent(NoteRenderContext context,
NoteData originalNoteItem) |
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.
|
String |
NoteTemplateService.renderTemplate(String templateId,
String templatePropertiesJSON,
NoteRenderContext renderContext,
boolean validateTemplateProperties)
Render a template and returns the resulting string which can than be used as note content.
|
Modifier and Type | Method and Description |
---|---|
String |
NoteTemplateTool.formatDate(String dateStyle,
String timeStyle,
Number timestamp,
NoteRenderContext renderContext)
Render a date localized date.
|
String |
NoteTemplateUrlTool.getBlog(NoteRenderContext context,
MinimalBlogData blog)
Return the link to a topic.
|
String |
NoteTemplateUrlTool.getUser(NoteRenderContext context,
UserData user)
Return the link to a user.
|
boolean |
NoteTemplateTool.isHtml(NoteRenderContext renderContext)
Helper for checking whether the current render mode is the HTML mode.
|
boolean |
NoteTemplateTool.isPlain(NoteRenderContext renderContext)
Helper for checking whether the current render mode is the PLAIN_TEXT mode.
|
boolean |
NoteTemplateTool.isPortal(NoteRenderContext renderContext)
Helper for checking whether the current render mode is the PORTAL mode.
|
boolean |
NoteTemplateTool.isRepost(NoteRenderContext renderContext)
Helper for checking whether the current render mode is one of the repost modes.
|
boolean |
NoteTemplateTool.isRepostHtml(NoteRenderContext renderContext)
Helper for checking whether the current render mode is one of the repost HTML mode.
|
boolean |
NoteTemplateTool.isRepostPlain(NoteRenderContext renderContext)
Helper for checking whether the current render mode is the REPOST_PLAIN_TEXT mode.
|
Constructor and Description |
---|
SimpleNoteListItemToDiscussionNoteDataConverter(NoteRenderContext noteRenderContext,
TimelineFilterViewType timelineFilterViewType,
NoteQueryParameters queryParameters)
Creates a new converter which converts root notes of discussions into a data object that also
holds all the comments of the discussion sorted by a given order.
|
SimpleNoteListItemToNoteDataQueryResultConverter(Class<O> clazz,
NoteRenderContext noteRenderContext)
Creates a new converter.
|
Modifier and Type | Method and Description |
---|---|
NoteData |
NoteService.getNote(long noteId,
NoteRenderContext renderContext) |
Constructor and Description |
---|
ApiNoteConverter(NoteRenderContext renderContext)
Deprecated.
Creates a new converter
|
Constructor and Description |
---|
ApiDetailNoteConverter(NoteRenderContext renderContext)
Deprecated.
Constructs a new converter
|
Constructor and Description |
---|
ApiDetailNoteConverter(NoteRenderContext renderContext)
Deprecated.
Constructs a new converter
|
Copyright © 2019 Communote team. All rights reserved.