T
- The SimpleNoteListItem which is the incoming listO
- The PostListItem which is the final list@Deprecated public class ApiNoteConverter<T extends SimpleNoteListItem,O extends PostListItem> extends QueryResultConverter<T,O>
Constructor and Description |
---|
ApiNoteConverter(NoteRenderContext renderContext)
Deprecated.
Creates 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 ApiNoteConverter(NoteRenderContext renderContext)
renderContext
- the render context to use for filling the targetpublic boolean convert(T queryResult, O finalResult)
QueryResultConverter
convert
in class QueryResultConverter<T extends SimpleNoteListItem,O extends PostListItem>
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 PostListItem>
Copyright © 2019 Communote team. All rights reserved.