public class CommentDataPopulator extends Object
CommentModel with the NoteInfo which contains the
Note together with additional information about the population
context. It populates the comment with information about the subject and description and the creation time if it is a new
comment from the Note.| Constructor and Description |
|---|
CommentDataPopulator() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
createDescription(NoteInfo ctx,
List<Comment> comments) |
protected String |
createSubject(NoteInfo ctx) |
protected boolean |
isUserPermitted(UserModel user,
CommentModel comment) |
void |
populate(NoteInfo ctx,
CommentModel comment) |
void |
setPrintTranslatorService(PrintTranslatorService printTranslatorService) |
void |
setUserService(UserService userService) |
public void populate(NoteInfo ctx, CommentModel comment) throws ConversionException, IllegalArgumentException
protected boolean isUserPermitted(UserModel user, CommentModel comment)
public void setPrintTranslatorService(PrintTranslatorService printTranslatorService)
public void setUserService(UserService userService)
Copyright © 2017 SAP SE. All Rights Reserved.