Map<Object, Object> model = CollectionUtil.newHashMap();
if(StringUtils.equals(Profile.NAME, activity.getEntity())) {
Profile profile = profileService.getProfile(activity.getLinkedId());
model.put("profile", profile);
} else if(StringUtils.equals(Post.NAME, activity.getEntity())) {
Post blogPost = postService.getPost(activity.getLinkedId());
model.put("post", blogPost);
} else if(StringUtils.equals(Forum.NAME, activity.getEntity())){
Forum forum = forumService.getForum(activity.getLinkedId());
model.put("forum", forum);
} else if(StringUtils.equals(Topic.NAME, activity.getEntity())) {