Class DefaultItemCommentsRenderer

java.lang.Object
com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer<org.zkoss.zul.Div,Object,CommentModel>
com.hybris.backoffice.widgets.itemcomments.renderer.DefaultItemCommentsRenderer
All Implemented Interfaces:
com.hybris.cockpitng.widgets.common.NotifyingWidgetComponentRenderer<org.zkoss.zul.Div,Object,CommentModel>, com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zul.Div,Object,CommentModel>

public class DefaultItemCommentsRenderer extends com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer<org.zkoss.zul.Div,Object,CommentModel>
  • Field Details

    • SCLASS_COMMENTSLIST_ONE_COMMENT

      protected static final String SCLASS_COMMENTSLIST_ONE_COMMENT
      See Also:
    • SCLASS_COMMENTSLIST_COMMENT_HEADER

      protected static final String SCLASS_COMMENTSLIST_COMMENT_HEADER
      See Also:
    • SCLASS_COMMENTSLIST_COMMENT_AUTHOR_LABEL

      protected static final String SCLASS_COMMENTSLIST_COMMENT_AUTHOR_LABEL
      See Also:
    • SCLASS_COMMENTSLIST_COMMENT_DATE_LABEL

      protected static final String SCLASS_COMMENTSLIST_COMMENT_DATE_LABEL
      See Also:
    • SCLASS_COMMENTSLIST_COMMENT_CONTENT

      protected static final String SCLASS_COMMENTSLIST_COMMENT_CONTENT
      See Also:
  • Constructor Details

    • DefaultItemCommentsRenderer

      public DefaultItemCommentsRenderer()
  • Method Details

    • render

      public void render(org.zkoss.zul.Div commentsContainer, Object configuration, CommentModel comment, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
    • renderOneComment

      protected void renderOneComment(org.zkoss.zul.Div commentsListContainer, CommentModel comment, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
    • createCommentHeader

      protected org.zkoss.zk.ui.HtmlBasedComponent createCommentHeader(CommentModel comment)
    • createCommentContent

      protected org.zkoss.zk.ui.HtmlBasedComponent createCommentContent(CommentModel comment)
    • readAuthor

      protected String readAuthor(CommentModel commentModel)
    • readCreationTime

      protected String readCreationTime(CommentModel commentModel)
    • readText

      protected String readText(CommentModel commentModel)
    • canReadAuthor

      protected boolean canReadAuthor(CommentModel commentModel)
    • canReadText

      protected boolean canReadText(CommentModel commentModel)
    • canReadCreationTime

      protected boolean canReadCreationTime(CommentModel commentModel)
    • getPermissionFacade

      public com.hybris.cockpitng.dataaccess.facades.permissions.PermissionFacade getPermissionFacade()
    • setPermissionFacade

      public void setPermissionFacade(com.hybris.cockpitng.dataaccess.facades.permissions.PermissionFacade permissionFacade)
    • getLabelService

      public com.hybris.cockpitng.labels.LabelService getLabelService()
    • setLabelService

      public void setLabelService(com.hybris.cockpitng.labels.LabelService labelService)