T - The UserData which is the incoming listO - The TimelineUserResource which is the final listpublic class UserDataToTimelineUserConverter<T extends UserData,O extends TimelineUserResource> extends DataAccessUserConverter<T,O>
| Constructor and Description |
|---|
UserDataToTimelineUserConverter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
convert(T source,
O target)
Converts the temporary object of the query to a list object
|
O |
create()
Creates a new pageable list object to fill
|
protected void |
fillTimelineUserResource(T userListItem,
O timelineUserResource)
Fills a
TimelineUserResource from a UserData. |
getUser, getUserDaoconvert, convertCollectionpublic boolean convert(T source, O target)
convert in class QueryResultConverter<T extends UserData,O extends TimelineUserResource>source - The temporary object returned by the executed querytarget - The converted list objectpublic O create()
QueryResultConvertercreate in class QueryResultConverter<T extends UserData,O extends TimelineUserResource>TimelineUserResourceprotected void fillTimelineUserResource(T userListItem, O timelineUserResource)
TimelineUserResource from a UserData.userListItem - the user to converttimelineUserResource - the filled itemCopyright © 2019 Communote team. All rights reserved.