T
- The BlogData
which is the incoming listO
- The TimelineTopicResource
which is the final listpublic class BlogDataToTimelineTopicConverter<T extends BlogData,O extends TimelineTopicResource> extends DataAccessUserConverter<T,O>
Constructor and Description |
---|
BlogDataToTimelineTopicConverter() |
Modifier and Type | Method and Description |
---|---|
boolean |
convert(BlogData source,
TimelineTopicResource target)
Converts the temporary object of the query to a list object
|
O |
create()
Creates a new pageable list object to fill
|
getUser, getUserDao
convert, convertCollection
public boolean convert(BlogData source, TimelineTopicResource target)
convert
in class QueryResultConverter<T extends BlogData,O extends TimelineTopicResource>
source
- The temporary object returned by the executed querytarget
- The converted list objectpublic O create()
QueryResultConverter
create
in class QueryResultConverter<T extends BlogData,O extends TimelineTopicResource>
TimelineTopicResource
Copyright © 2019 Communote team. All rights reserved.