Class WorkflowActionDecisionActionRenderer

java.lang.Object
com.hybris.cockpitng.actions.impl.DefaultActionRenderer<INPUT,OUTPUT>
com.hybris.cockpitng.actions.AbstractStatefulActionRenderer<WorkflowActionModel,WorkflowDecisionModel>
de.hybris.platform.platformbackoffice.actions.workflow.WorkflowActionDecisionActionRenderer
All Implemented Interfaces:
com.hybris.cockpitng.actions.CockpitActionRenderer<WorkflowActionModel,WorkflowDecisionModel>

@Deprecated(since="6.6", forRemoval=true) public class WorkflowActionDecisionActionRenderer extends com.hybris.cockpitng.actions.AbstractStatefulActionRenderer<WorkflowActionModel,WorkflowDecisionModel>
Deprecated, for removal: This API element is subject to removal in a future version.
since version 6.6 - use WorkflowActionDecisionActionRenderer instead
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.hybris.cockpitng.actions.impl.DefaultActionRenderer

    com.hybris.cockpitng.actions.impl.DefaultActionRenderer.DefaultActionRendererEventListener<T extends org.zkoss.zk.ui.event.Event>
  • Field Summary

    Fields inherited from class com.hybris.cockpitng.actions.impl.DefaultActionRenderer

    LABEL_CONTAINER_SCLASS, tooltipText
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.zkoss.zul.Button
    createConfirmDecisionButton(com.hybris.cockpitng.actions.ActionContext<WorkflowActionModel> context, com.hybris.cockpitng.actions.CockpitAction<WorkflowActionModel,WorkflowDecisionModel> action, com.hybris.cockpitng.actions.ActionListener<WorkflowDecisionModel> listener)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected org.zkoss.zul.Combobox
    createDecisionCombobox(com.hybris.cockpitng.actions.ActionContext<WorkflowActionModel> context, org.zkoss.zul.Button confirmButton)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected com.hybris.cockpitng.labels.LabelService
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected com.hybris.cockpitng.dataaccess.facades.object.ObjectFacade
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected com.hybris.cockpitng.dataaccess.facades.permissions.PermissionFacade
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected com.hybris.cockpitng.util.WidgetUtils
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected void
    registerWorkflowActionUpdateListener(WorkflowActionModel workflowAction, org.zkoss.zul.Hlayout container, org.zkoss.zk.ui.Component parent)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    render(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.actions.CockpitAction<WorkflowActionModel,WorkflowDecisionModel> action, com.hybris.cockpitng.actions.ActionContext<WorkflowActionModel> context, boolean updateMode, com.hybris.cockpitng.actions.ActionListener<WorkflowDecisionModel> listener)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected void
    renderSingleComboitem(org.zkoss.zul.Comboitem comboitem, Object decision)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected void
    setInitialComboboxValue(org.zkoss.zul.Combobox combobox, com.hybris.cockpitng.actions.ActionContext<WorkflowActionModel> context)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setLabelService(com.hybris.cockpitng.labels.LabelService labelService)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setObjectFacade(com.hybris.cockpitng.dataaccess.facades.object.ObjectFacade objectFacade)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setPermissionFacade(com.hybris.cockpitng.dataaccess.facades.permissions.PermissionFacade permissionFacade)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setWidgetUtils(com.hybris.cockpitng.util.WidgetUtils widgetUtils)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected boolean
    shouldDisableConfirmDecisionButton(org.zkoss.zul.Combobox combobox, WorkflowActionStatus workflowActionStatus)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected boolean
    shouldRenderAction(com.hybris.cockpitng.actions.ActionContext<WorkflowActionModel> context)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected com.hybris.cockpitng.actions.ActionListener<WorkflowDecisionModel>
    wrapActionListener(com.hybris.cockpitng.actions.ActionListener<WorkflowDecisionModel> listener, org.zkoss.zul.Button confirmButton)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class com.hybris.cockpitng.actions.AbstractStatefulActionRenderer

    addStateSocketListener, createStateSocketListener, getValue, initializeStateSocketListener, setValue

    Methods inherited from class com.hybris.cockpitng.actions.impl.DefaultActionRenderer

    addEventListener, addKeyboardSupport, adjustUri, checkDataCompatibleWithDefinedInput, createClickTrackingId, createEventListener, createTipsLabel, createYTestId, extractIconDisabledUri, extractIconHoverUri, extractIconUri, extractKeyEvent, findActionComponent, findGroupComponent, findParentComponent, getActionBodySclass, getIconHoverUri, getIconName, getIconUri, getKeyboardSupportService, getLocalizedName, getOrCreateContainer, getOrCreateIcon, getOrCreateIcon, getOrCreateIconButton, getOrCreateLabel, getOrCreateLabel, getTooltipText, getToolTipWithCtrlKeysText, loadFromParentModel, perform, performWithConfirmationCheck, registerHoverEventsOnContainer, registerHoverEventsOnContainer, removeEventListeners, removeEventListeners, removeIcon, removeLabel, setTips, setTooltipText, storeInParentModel, triggerFromKeyEvent, useImage

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WorkflowActionDecisionActionRenderer

      public WorkflowActionDecisionActionRenderer()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • render

      public void render(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.actions.CockpitAction<WorkflowActionModel,WorkflowDecisionModel> action, com.hybris.cockpitng.actions.ActionContext<WorkflowActionModel> context, boolean updateMode, com.hybris.cockpitng.actions.ActionListener<WorkflowDecisionModel> listener)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      render in interface com.hybris.cockpitng.actions.CockpitActionRenderer<WorkflowActionModel,WorkflowDecisionModel>
      Overrides:
      render in class com.hybris.cockpitng.actions.impl.DefaultActionRenderer<WorkflowActionModel,WorkflowDecisionModel>
    • shouldRenderAction

      protected boolean shouldRenderAction(com.hybris.cockpitng.actions.ActionContext<WorkflowActionModel> context)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hasPermissionToMakeDecision

      protected boolean hasPermissionToMakeDecision(WorkflowActionModel action)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hasPermissions

      protected boolean hasPermissions(WorkflowActionModel action)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hasPermissions

      protected boolean hasPermissions(WorkflowDecisionModel decision)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getPermittedDecisions

      protected List<WorkflowDecisionModel> getPermittedDecisions(WorkflowActionModel action)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createConfirmDecisionButton

      protected org.zkoss.zul.Button createConfirmDecisionButton(com.hybris.cockpitng.actions.ActionContext<WorkflowActionModel> context, com.hybris.cockpitng.actions.CockpitAction<WorkflowActionModel,WorkflowDecisionModel> action, com.hybris.cockpitng.actions.ActionListener<WorkflowDecisionModel> listener)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • wrapActionListener

      protected com.hybris.cockpitng.actions.ActionListener<WorkflowDecisionModel> wrapActionListener(com.hybris.cockpitng.actions.ActionListener<WorkflowDecisionModel> listener, org.zkoss.zul.Button confirmButton)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createDecisionCombobox

      protected org.zkoss.zul.Combobox createDecisionCombobox(com.hybris.cockpitng.actions.ActionContext<WorkflowActionModel> context, org.zkoss.zul.Button confirmButton)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • shouldDisableConfirmDecisionButton

      protected boolean shouldDisableConfirmDecisionButton(org.zkoss.zul.Combobox combobox, WorkflowActionStatus workflowActionStatus)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • renderSingleComboitem

      protected void renderSingleComboitem(org.zkoss.zul.Comboitem comboitem, Object decision)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setInitialComboboxValue

      protected void setInitialComboboxValue(org.zkoss.zul.Combobox combobox, com.hybris.cockpitng.actions.ActionContext<WorkflowActionModel> context)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • registerWorkflowActionUpdateListener

      protected void registerWorkflowActionUpdateListener(WorkflowActionModel workflowAction, org.zkoss.zul.Hlayout container, org.zkoss.zk.ui.Component parent)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getLabelService

      protected com.hybris.cockpitng.labels.LabelService getLabelService()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setLabelService

      @Autowired public void setLabelService(com.hybris.cockpitng.labels.LabelService labelService)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getObjectFacade

      protected com.hybris.cockpitng.dataaccess.facades.object.ObjectFacade getObjectFacade()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setObjectFacade

      @Autowired public void setObjectFacade(com.hybris.cockpitng.dataaccess.facades.object.ObjectFacade objectFacade)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getWidgetUtils

      protected com.hybris.cockpitng.util.WidgetUtils getWidgetUtils()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setWidgetUtils

      @Autowired public void setWidgetUtils(com.hybris.cockpitng.util.WidgetUtils widgetUtils)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getPermissionFacade

      protected com.hybris.cockpitng.dataaccess.facades.permissions.PermissionFacade getPermissionFacade()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setPermissionFacade

      @Autowired public void setPermissionFacade(com.hybris.cockpitng.dataaccess.facades.permissions.PermissionFacade permissionFacade)
      Deprecated, for removal: This API element is subject to removal in a future version.