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 -
Method Summary
Modifier and TypeMethodDescriptionextractParameters(List<com.hybris.cockpitng.config.jaxb.wizard.Parameter> parameterList) Returns a map from list ofParameterprotected Optional<com.hybris.cockpitng.config.jaxb.wizard.Renderer>extractRenderer(List<Serializable> mixedContent) Returns an instance ofRendererfor given list ofSerializablecontent.protected StringextractTextContent(List<Serializable> mixedContent) Extracts the text content from given list ofSerializablemixed content.protected com.hybris.cockpitng.dataaccess.facades.type.DataTypeloadDataTypeInternal(String typeCode) Loads the type usingTypeFacadefor given typeCode.protected voidrenderByRendererBean(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.config.jaxb.wizard.ViewType customView) Method responsible to render view from java bean.protected voidrenderByZulFile(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.config.jaxb.wizard.ViewType customView) Method responsible to render view by zul file.protected voidrenderContent(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.config.jaxb.wizard.ContentType content) protected voidrenderCustom(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
-
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:
renderContentin classcom.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
Extracts the text content from given list ofSerializablemixed 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 ofRendererfor given list ofSerializablecontent.- 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 ofParameter- Parameters:
parameterList-
-
loadDataTypeInternal
protected com.hybris.cockpitng.dataaccess.facades.type.DataType loadDataTypeInternal(String typeCode) Loads the type usingTypeFacadefor given typeCode.- Parameters:
typeCode-
-