T
- The SimpleNoteListItem which is the incoming listO
- The DetailPostListItem which is the final list@Deprecated public class ApiDetailNoteConverter<T extends SimpleNoteListItem,O extends DetailPostListItem> extends DataAccessNoteConverter<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
|
getNote, getNoteDao
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.