public class BlogToUserDetailBlogListItemConverter extends BlogToDetailBlogListItemConverter<UserDetailBlogListItem>
| Constructor and Description |
|---|
BlogToUserDetailBlogListItemConverter(Class<UserDetailBlogListItem> clazz,
boolean includeProperties,
boolean includeTags,
boolean includeMembers,
boolean includeChildren,
boolean includeParents,
BlogRightsManagement topicRightsManagement)
Create a new converter
|
| Modifier and Type | Method and Description |
|---|---|
void |
convert(Blog source,
UserDetailBlogListItem target)
Convert the source into the provided target object
|
convert, createpublic BlogToUserDetailBlogListItemConverter(Class<UserDetailBlogListItem> clazz, boolean includeProperties, boolean includeTags, boolean includeMembers, boolean includeChildren, boolean includeParents, BlogRightsManagement topicRightsManagement)
clazz - the class of the target typeincludeProperties - whether to add the blog properties to the result. The property key will be
constructed as follows <groupKey>.<propertyKey>includeTags - whether to add the tags as a comma separated stringincludeMembers - whether to include the membersincludeChildren - If true, the children of this topic, the user can access will be converted too.topicRightsManagement - This is only used when includeChildren is true.public void convert(Blog source, UserDetailBlogListItem target)
PojoTargetConverterconvert in class BlogToDetailBlogListItemConverter<UserDetailBlogListItem>source - the source objecttarget - the target objectCopyright © 2019 Communote team. All rights reserved.