Class TravelConfigurableFlowRenderer

java.lang.Object
com.hybris.cockpitng.widgets.configurableflow.renderer.ConfigurableFlowRenderer
de.hybris.platform.transportbackoffice.renderer.TravelConfigurableFlowRenderer

public class TravelConfigurableFlowRenderer extends com.hybris.cockpitng.widgets.configurableflow.renderer.ConfigurableFlowRenderer
Class extends the ConfigurableFlowRenderer to customize the OOTB behaviour of Configurable Flow Wizard.
  • Field Summary

    Fields inherited from class com.hybris.cockpitng.widgets.configurableflow.renderer.ConfigurableFlowRenderer

    cfExpressions, CURRENT_OBJECT, HUNDRED_PERCENT, HUNDRED_PERCENT_S, IS_NESTED_OBJECT_CREATION_DISABLED_SETTING, NO_READ_ACCESS, ON_FORCE_UPDATE, SCLASS_COMPONENT_WRAPPER, SEPARATOR, showBreadcrumb, STEP_ID_ATTRIBUTE, STEP_INITIALIZED, WIZARD_PREFIX, WIZARD_RESULT_MSG_FAIL_TILE, WIZARD_RESULT_MSG_SUCCESS_TILE, WIZARD_RESULT_MSG_TEXT, WIZARD_RESULT_MSG_TITLE, WIZARD_STYLE_ACTIVE, WIZARD_STYLE_AFTER, WIZARD_STYLE_BEFORE, WIZARD_STYLE_BR_ARROW, WIZARD_STYLE_BR_CONTAINER, WIZARD_STYLE_BR_INDICATOR, WIZARD_STYLE_BR_LABEL, WIZARD_STYLE_BR_LABEL_CONTAINER, WIZARD_STYLE_BR_PREFIX, WIZARD_STYLE_BR_S_LABEL, WIZARD_STYLE_BR_SP, WIZARD_STYLE_BR_SP_ARROW, WIZARD_STYLE_BTN_BLUE, WIZARD_STYLE_BTN_SECONDARY, WIZARD_STYLE_BTN_TRANSPARENT, WIZARD_STYLE_COLUMN_CONTENT, WIZARD_STYLE_CONTENT, WIZARD_STYLE_INFO, WIZARD_STYLE_LAYOUT, WIZARD_STYLE_LEFT, WIZARD_STYLE_LEFT_PACK, WIZARD_STYLE_NAVI, WIZARD_STYLE_NONE, WIZARD_STYLE_PROPERTY, WIZARD_STYLE_PROPERTY_LABEL, WIZARD_STYLE_PROPERTY_LABEL_MANDATORY, WIZARD_STYLE_READ_ONLY_VALUE, WIZARD_STYLE_RIGHT, WIZARD_STYLE_RIGHT_PACK, WIZARD_STYLE_TOP, WIZARD_STYLE_Z_INDEX, ZUL
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Map<String,String>
    extractParameters(List<com.hybris.cockpitng.config.jaxb.wizard.Parameter> parameterList)
    Returns a map from list of Parameter
    protected Optional<com.hybris.cockpitng.config.jaxb.wizard.Renderer>
    Returns an instance of Renderer for given list of Serializable content.
    protected String
    Extracts the text content from given list of Serializable mixed content.
    protected com.hybris.cockpitng.dataaccess.facades.type.DataType
    Loads the type using TypeFacade for given typeCode.
    protected void
    renderByRendererBean(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.config.jaxb.wizard.ViewType customView)
    Method responsible to render view from java bean.
    protected void
    renderByZulFile(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.config.jaxb.wizard.ViewType customView)
    Method responsible to render view by zul file.
    protected void
    renderContent(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.config.jaxb.wizard.ContentType content)
     
    protected void
    renderCustom(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.config.jaxb.wizard.ViewType customView)
    Method responsible to render the custom view either by zul file or java class.

    Methods inherited from class com.hybris.cockpitng.widgets.configurableflow.renderer.ConfigurableFlowRenderer

    applyComponentsVisitor, applyVisibilityRestriction, buildEditor, cleanUpRendererObservers, clearMessages, createActionHandlerAdapter, createAndAppendButton, createBreadcrumbEntry, createBreadcrumbEntry, createPropertyLine, doCustom, doCustom, extractTypeQualifier, findHandlerBean, getActiveLocales, getAllSteps, getAttributeDescriptionIconRenderer, getBreadcrumbDiv, getCockpitLocaleService, getCockpitUserService, getConfigurableFlowLabelService, getContentDiv, getLabelService, getMsgAreaDiv, getNavigationDiv, getNotificationService, getPermissionFacade, getPropertyDescription, getStep, getTransitionListenerFactory, getTypeCodeFromWizardCtx, getTypeFacade, getValidationHandler, getWidgetInstanceManager, isAttributeWritable, isNestedObjectCreationDisabled, isNestedObjectCreationDisabled, isShowBreadcrumb, isStepChangePossible, isTypeLocalized, loadDataType, normalizePropertyQualifier, normalizeQualifier, prepareErrorRow, refreshView, refreshView, renderBreadcrumb, renderCurrentStep, resolveType, setActiveLocales, setAllSteps, setAttributeDescriptionIconRenderer, setBreadcrumbDiv, setCockpitLocaleService, setCockpitUserService, setComponentsVisitorFactory, setConfigurableFlowLabelService, setContentDiv, setEditorChangeListener, setLabelService, setMsgAreaDiv, setNotificationService, setPermissionFacade, setShowBreadcrumb, setTransitionListenerFactory, setTypeFacade, setValidatableContainer, setValidationHandler, setValidationRenderer, setValidationResultsPopup, setWidgetInstanceManager, toggleButtonActiveState, unregisterComponentsFromVisitor, updateNavigation, updateNavigation, wrapChildAndAppend

    Methods inherited from class java.lang.Object

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

    • TravelConfigurableFlowRenderer

      public TravelConfigurableFlowRenderer()
  • Method Details

    • renderContent

      protected void renderContent(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.config.jaxb.wizard.ContentType content)
      Overrides:
      renderContent in class com.hybris.cockpitng.widgets.configurableflow.renderer.ConfigurableFlowRenderer
    • renderCustom

      protected void renderCustom(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.config.jaxb.wizard.ViewType customView)
      Method responsible to render the custom view either by zul file or java class.
      Parameters:
      parent -
      customView -
    • extractTextContent

      protected String extractTextContent(List<Serializable> mixedContent)
      Extracts the text content from given list of Serializable mixed content.
      Parameters:
      mixedContent -
    • renderByZulFile

      protected void renderByZulFile(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.config.jaxb.wizard.ViewType customView)
      Method responsible to render view by zul file.
      Parameters:
      parent -
      customView -
    • extractRenderer

      protected Optional<com.hybris.cockpitng.config.jaxb.wizard.Renderer> extractRenderer(List<Serializable> mixedContent)
      Returns an instance of Renderer for given list of Serializable content.
      Parameters:
      mixedContent -
    • renderByRendererBean

      protected void renderByRendererBean(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.config.jaxb.wizard.ViewType customView)
      Method responsible to render view from java bean.
      Parameters:
      parent -
      customView -
    • extractParameters

      protected Map<String,String> extractParameters(List<com.hybris.cockpitng.config.jaxb.wizard.Parameter> parameterList)
      Returns a map from list of Parameter
      Parameters:
      parameterList -
    • loadDataTypeInternal

      protected com.hybris.cockpitng.dataaccess.facades.type.DataType loadDataTypeInternal(String typeCode)
      Loads the type using TypeFacade for given typeCode.
      Parameters:
      typeCode -