public class ConfigurableFlowController extends DefaultWidgetController
ConfigurableFlowController implementation.| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_FLOW |
static String |
FAILURE_MSG
Deprecated.
since 6.6
|
static String |
FLOW_CONFIGURATION |
static String |
FUNCTION_IS_BLANK |
static String |
FUNCTION_NAME_EMPTY |
static String |
SCLASS_YW_MODAL_CONFIGURABLEFLOW |
static String |
SCLASS_YW_MODAL_CONFIGURABLEFLOW_LARGE |
static String |
SCLASS_YW_MODAL_CONFIGURABLEFLOW_MEDIUM |
static String |
SCLASS_YW_MODAL_CONFIGURABLEFLOW_SMALL |
static String |
SETTING_CONFIGURABLE_FLOW_CONFIG_CTX |
static String |
SOCKET_IN_CONTEXT_TYPE |
static String |
SOCKET_IN_CTX |
static String |
SOCKET_WIZARD_RESULT |
static String |
WIZARD_CONTEXT |
static String |
WIZARD_CURRENT_CONTEXT |
| Constructor and Description |
|---|
ConfigurableFlowController() |
doAfterCompose, doBeforeCompose, executeOperation, getDragAndDropStrategy, getLabel, getLabel, getModel, getWidgetDragAndDropStrategyRepository, getWidgetInstanceManager, getWidgetRoot, getWidgetSettings, getWidgetslot, getWidgetTitle, getWidgetUtils, initDragAndDropAwareness, initWidgetSetting, initWidgetSetting, initWidgetSetting, initWidgetSetting, initWidgetSetting, invokeListenerMethod, onSocketInput, preInitialize, sendOutput, sendOutputAfterOperation, sendOutputAfterOperation, sendOutputAfterOperation, setValue, setWidgetInstanceManager, setWidgetTitlescanEventListenersalert, didActivate, getPage, willClone, willPassivatepublic static final String ATTRIBUTE_FLOW
public static final String WIZARD_CONTEXT
public static final String WIZARD_CURRENT_CONTEXT
public static final String SOCKET_IN_CTX
public static final String SOCKET_IN_CONTEXT_TYPE
public static final String SOCKET_WIZARD_RESULT
public static final String FUNCTION_NAME_EMPTY
public static final String FUNCTION_IS_BLANK
public static final String SCLASS_YW_MODAL_CONFIGURABLEFLOW
public static final String SCLASS_YW_MODAL_CONFIGURABLEFLOW_SMALL
public static final String SCLASS_YW_MODAL_CONFIGURABLEFLOW_MEDIUM
public static final String SCLASS_YW_MODAL_CONFIGURABLEFLOW_LARGE
public static final String SETTING_CONFIGURABLE_FLOW_CONFIG_CTX
@Deprecated public static final String FAILURE_MSG
public static final String FLOW_CONFIGURATION
public void doBeforeComposeChildren(org.zkoss.zk.ui.Component comp)
throws Exception
doBeforeComposeChildren in interface org.zkoss.zk.ui.util.ComposerExt<org.zkoss.zk.ui.Component>doBeforeComposeChildren in class DefaultWidgetControllerExceptionpublic void initialize(org.zkoss.zk.ui.Component comp)
DefaultWidgetControllerDefaultWidgetController.doAfterCompose(Component) everytime your widget
view is created. See GenericForwardComposer.doAfterCompose(Component) for more details.initialize in class DefaultWidgetControllerpublic void handleObjectsUpdatedEvent(CockpitEvent event)
protected void handleUpdate(CockpitEvent event)
public void handleObjectDeletedEvent(CockpitEvent event)
public void displayConfig(String contextType)
protected void applyWindowSize(Size size)
protected void cleanWindowSizeStyling(org.zkoss.zul.Window window)
protected void doInitialValidation()
protected void initFlow(Flow flow)
protected void assignProperties(List<AssignType> toAssign)
public String getCurrentTitle()
public StepType getCurrentStep()
protected void setCurrentStep(StepType step)
public void updateNavigation()
public void doNext(StepType stepType, boolean shouldValidate)
public void doNext(StepType currentStep)
protected boolean persistProperties(AbstractActionType actionType)
protected boolean canPerformAction(StepType currentStep, boolean shouldValidate)
protected Set<String> getViewTypeValidationProperties(ViewType viewType)
public void doCustomPersist(StepType currentStep, boolean shouldValidate)
public void doCustom(StepType currentStep, boolean shouldValidate)
public void doCustom(StepType currentStep)
public void doBack(StepType currentStep)
protected StepType getTargetStep(StepType currentStep, AbstractActionType clickedButtonConfig, int defaultIndexShift)
protected StepType getTargetStepType(AbstractActionType clickedButtonConfig)
public void doCancel(StepType currentStep)
public void doDone(StepType currentStep, boolean shouldValidate)
public void doDone(StepType currentStep)
protected boolean validationPassed(ValidationResult validationResult)
protected void showSuccessNotification(Object persistedObject)
@Deprecated protected String getNotificationSource()
NotificationService.getWidgetNotificationSource(WidgetInstanceManager) instead.protected void showFailureNotification(ObjectSavingException failureException)
@Deprecated protected void clearFailureNotifications()
NotificationService.clearNotifications(String, com.hybris.backoffice.widgets.notificationarea.event.NotificationEvent.Level)
instead.protected void addStepOrSubflows(List objects)
protected void initializeContext()
protected void initializeLocalizedProperty(String property, String lang, String valueExpression)
protected void initializeProperty(String property, String type, String valueExpression)
protected void initializeObjectFromTemplateBean(String property, String templateBean)
protected Object persistWidgetProperty(String property) throws ObjectSavingException
ObjectSavingExceptionprotected void closeWindow()
protected boolean isTemplate()
protected void updateWidgetTitle()
protected void initConfigurableFlowRenderer()
public ConfigurableFlowRenderer getRenderer()
protected ConfigurableFlowLabelService getConfigurableFlowLabelService()
protected List<InitializeType> getInitializeList()
protected List<String> getNonPersistablePropertiesList()
protected ConfigurableFlowExpressions getConfigurableFlowExpressions()
public CockpitConfigurationService getCockpitConfigurationService()
@Deprecated public WidgetInstanceFacade getWidgetInstanceFacade()
public ObjectFacade getObjectFacade()
public LabelService getLabelService()
public org.zkoss.zul.Div getContentDiv()
public org.zkoss.zul.Div getBreadcrumbDiv()
public org.zkoss.zul.Div getMsgAreaDiv()
public CockpitLocaleService getCockpitLocaleService()
public CockpitUserService getCockpitUserService()
public TypeFacade getTypeFacade()
public PermissionFacade getPermissionFacade()
public AttributeDescriptionIconRenderer getAttributeDescriptionIconRenderer()
public ValidationHandler getValidationHandler()
protected ValidationResult validateCurrentObject()
protected ValidationResult validateProperties(Set<String> fullPathQualifiers)
protected ValidationResult doValidate(List<ValidationInfo> validations)
protected void hideValidationPopUp()
protected void showValidationPopUp()
protected ValidationContext createValidationContext(String modelContext)
public ValidationResult getCurrentValidationResult()
public <T> T getValue(String key, Class<T> expectedClass)
getValue in class DefaultWidgetControllerprotected void prepareValidationResultModel()
protected void prepareValidationResultsPopup(org.zkoss.zk.ui.Component parent)
public Flow getFlowConfiguration()
public ConfigurableFlowValidationResultsPopup getValidationViolationsPopup()
public void setValidationViolationsPopup(ConfigurableFlowValidationResultsPopup validationViolationsPopup)
public void jumpToStep(StepType stepType)
protected NotificationService getNotificationService()
Copyright © 2018. All rights reserved.