public class DefaultItemCommentsRenderer
extends <any>
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
SCLASS_COMMENTSLIST_COMMENT_AUTHOR_LABEL |
protected static java.lang.String |
SCLASS_COMMENTSLIST_COMMENT_CONTENT |
protected static java.lang.String |
SCLASS_COMMENTSLIST_COMMENT_DATE_LABEL |
protected static java.lang.String |
SCLASS_COMMENTSLIST_COMMENT_HEADER |
protected static java.lang.String |
SCLASS_COMMENTSLIST_ONE_COMMENT |
| Constructor and Description |
|---|
DefaultItemCommentsRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canReadAuthor(CommentModel commentModel) |
protected boolean |
canReadCreationTime(CommentModel commentModel) |
protected boolean |
canReadText(CommentModel commentModel) |
protected HtmlBasedComponent |
createCommentContent(CommentModel comment) |
protected HtmlBasedComponent |
createCommentHeader(CommentModel comment) |
LabelService |
getLabelService() |
PermissionFacade |
getPermissionFacade() |
protected java.lang.String |
readAuthor(CommentModel commentModel) |
protected java.lang.String |
readCreationTime(CommentModel commentModel) |
protected java.lang.String |
readText(CommentModel commentModel) |
void |
render(Div commentsContainer,
java.lang.Object configuration,
CommentModel comment,
DataType dataType,
WidgetInstanceManager widgetInstanceManager) |
protected void |
renderOneComment(Div commentsListContainer,
CommentModel comment,
WidgetInstanceManager widgetInstanceManager) |
void |
setLabelService(LabelService labelService) |
void |
setPermissionFacade(PermissionFacade permissionFacade) |
protected static final java.lang.String SCLASS_COMMENTSLIST_ONE_COMMENT
protected static final java.lang.String SCLASS_COMMENTSLIST_COMMENT_HEADER
protected static final java.lang.String SCLASS_COMMENTSLIST_COMMENT_AUTHOR_LABEL
protected static final java.lang.String SCLASS_COMMENTSLIST_COMMENT_DATE_LABEL
protected static final java.lang.String SCLASS_COMMENTSLIST_COMMENT_CONTENT
public void render(Div commentsContainer,
java.lang.Object configuration,
CommentModel comment,
DataType dataType,
WidgetInstanceManager widgetInstanceManager)
protected void renderOneComment(Div commentsListContainer,
CommentModel comment,
WidgetInstanceManager widgetInstanceManager)
protected HtmlBasedComponent createCommentHeader(CommentModel comment)
protected HtmlBasedComponent createCommentContent(CommentModel comment)
protected java.lang.String readAuthor(CommentModel commentModel)
protected java.lang.String readCreationTime(CommentModel commentModel)
protected java.lang.String readText(CommentModel commentModel)
protected boolean canReadAuthor(CommentModel commentModel)
protected boolean canReadText(CommentModel commentModel)
protected boolean canReadCreationTime(CommentModel commentModel)
public PermissionFacade getPermissionFacade()
public void setPermissionFacade(PermissionFacade permissionFacade)
public LabelService getLabelService()
public void setLabelService(LabelService labelService)
Copyright © 2018 SAP SE. All Rights Reserved.