T - The User which is the incomingO - The UserResource which is the finalpublic class UserResourceConverter<T extends User,O extends UserResource> extends DataAccessBlogConverter<T,O>
User to a UserResource| Constructor and Description |
|---|
UserResourceConverter(Locale locale)
Constructor of
UserResourceConverter |
| 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
|
getBlog, getBlogDaoconvert, convertCollectionpublic UserResourceConverter(Locale locale)
UserResourceConverterlocale - current user localepublic boolean convert(T source, O target)
QueryResultConverterconvert in class QueryResultConverter<T extends User,O extends UserResource>source - The temporary object returned by the executed querytarget - The converted list objectpublic O create()
QueryResultConvertercreate in class QueryResultConverter<T extends User,O extends UserResource>Copyright © 2019 Communote team. All rights reserved.