T
- type of the source objectsO
- type of the target objects@Deprecated public class ApiDetailNoteConverter<T extends SimpleNoteListItem,O extends DetailPostListItem> extends QueryResultConverter<T,O>
Constructor and Description |
---|
ApiDetailNoteConverter(NoteRenderContext renderContext)
Deprecated.
Constructs a new converter
|
Modifier and Type | Method and Description |
---|---|
boolean |
convert(T queryResult,
O finalResult)
Deprecated.
Converts the temporary object of the query to a list object
|
O |
create()
Deprecated.
Creates a new pageable list object to fill
|
convert, convertCollection
public ApiDetailNoteConverter(NoteRenderContext renderContext)
renderContext
- the render context to be usedpublic boolean convert(T queryResult, O finalResult)
QueryResultConverter
convert
in class QueryResultConverter<T extends SimpleNoteListItem,O extends DetailPostListItem>
queryResult
- The temporary object returned by the executed queryfinalResult
- The converted list objectpublic O create()
QueryResultConverter
create
in class QueryResultConverter<T extends SimpleNoteListItem,O extends DetailPostListItem>
Copyright © 2019 Communote team. All rights reserved.