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, getUserDaoconvert, convertCollectionpublic 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()
QueryResultConvertercreate in class QueryResultConverter<T extends BlogData,O extends TimelineTopicResource>TimelineTopicResourceCopyright © 2019 Communote team. All rights reserved.