Class AtpFormController
java.lang.Object
org.zkoss.zk.ui.event.GenericEventListener
org.zkoss.zk.ui.util.GenericComposer<T>
org.zkoss.zk.ui.util.GenericAutowireComposer<T>
org.zkoss.zk.ui.util.GenericForwardComposer<org.zkoss.zk.ui.Component>
com.hybris.cockpitng.util.ViewAnnotationAwareComposer
com.hybris.cockpitng.util.DefaultWidgetController
de.hybris.platform.warehousingbackoffice.widgets.atp.AtpFormController
- All Implemented Interfaces:
com.hybris.cockpitng.core.WidgetController,com.hybris.cockpitng.dnd.WidgetDragAndDropAware,com.hybris.cockpitng.engine.WidgetInstanceManagerAware,Serializable,org.zkoss.zk.ui.event.EventListener,org.zkoss.zk.ui.event.SerializableEventListener,org.zkoss.zk.ui.util.ComponentActivationListener,org.zkoss.zk.ui.util.ComponentCloneListener,org.zkoss.zk.ui.util.Composer<org.zkoss.zk.ui.Component>,org.zkoss.zk.ui.util.ComposerExt<org.zkoss.zk.ui.Component>
public class AtpFormController
extends com.hybris.cockpitng.util.DefaultWidgetController
A form for the user to enter required information to search for a particular ATP formula.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields inherited from class org.zkoss.zk.ui.util.GenericAutowireComposer
_separator, application, applicationScope, arg, componentScope, desktop, desktopScope, execution, page, pageScope, param, requestScope, self, session, sessionScope, spaceOwner, spaceScopeFields inherited from class org.zkoss.zk.ui.util.GenericComposer
_applied -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidAdds listeners on all components which will receive user input.protected org.zkoss.zul.Comboboxprotected BaseStoreServiceprotected org.zkoss.zul.Comboboxprotected com.hybris.cockpitng.components.Editorvoidinitialize(org.zkoss.zk.ui.Component component) voidPopulates theAtpFormDtowith the user input and sends it as an event to be displayed in a list.protected voidRefreshes the formvoidsetBaseStoreService(BaseStoreService baseStoreService) protected void` Validates the form and verifies whether the user input is correct.Methods inherited from class com.hybris.cockpitng.util.DefaultWidgetController
doAfterCompose, doBeforeCompose, doBeforeComposeChildren, executeOperation, getDragAndDropStrategy, getLabel, getLabel, getModel, getValue, getWidgetDragAndDropStrategyRepository, getWidgetInstanceManager, getWidgetRoot, getWidgetSettings, getWidgetslot, getWidgetTitle, getWidgetUtils, initDragAndDropAwareness, initWidgetSetting, initWidgetSetting, initWidgetSetting, initWidgetSetting, initWidgetSetting, invokeListenerMethod, onSocketInput, preInitialize, sendOutput, sendOutputAfterOperation, sendOutputAfterOperation, sendOutputAfterOperation, setValue, setWidgetInstanceManager, setWidgetTitleMethods inherited from class com.hybris.cockpitng.util.ViewAnnotationAwareComposer
scanEventListenersMethods inherited from class org.zkoss.zk.ui.util.GenericAutowireComposer
alert, didActivate, getPage, willClone, willPassivateMethods inherited from class org.zkoss.zk.ui.util.GenericComposer
doCatch, doFinallyMethods inherited from class org.zkoss.zk.ui.event.GenericEventListener
bindComponent, getController, onEvent, unbindComponent
-
Field Details
-
WAREHOUSINGBACKOFFICE_ATPFORM_VALIDATION_MISSING_BASE_STORE
- See Also:
-
WAREHOUSINGBACKOFFICE_ATPFORM_VALIDATION_MISSING_PRODUCT_CODE
- See Also:
-
WAREHOUSINGBACKOFFICE_ATPFORM_VALIDATION_VALID_POS
- See Also:
-
ON_STORE_CHANGE
- See Also:
-
ON_LATER_STORE_CHANGE
- See Also:
-
ON_POS_CHANGE
- See Also:
-
ON_LATER_POS_CHANGE
- See Also:
-
SEARCH_ATP
- See Also:
-
WAREHOUSINGBACKOFFICE_ATPFORM_TITLE
- See Also:
-
OUT_CONFIRM
- See Also:
-
SELECT_A_POINT_OF_SERVICE
- See Also:
-
SELECT_A_BASE_STORE
- See Also:
-
-
Constructor Details
-
AtpFormController
public AtpFormController()
-
-
Method Details
-
initialize
public void initialize(org.zkoss.zk.ui.Component component) - Overrides:
initializein classcom.hybris.cockpitng.util.DefaultWidgetController
-
refreshForm
protected void refreshForm()Refreshes the form -
performSearchOperation
public void performSearchOperation()Populates theAtpFormDtowith the user input and sends it as an event to be displayed in a list. -
addListeners
protected void addListeners()Adds listeners on all components which will receive user input. -
validateForm
protected void validateForm()` Validates the form and verifies whether the user input is correct. -
getBaseStoreService
-
setBaseStoreService
-
getBaseStores
protected org.zkoss.zul.Combobox getBaseStores() -
getPointOfServices
protected org.zkoss.zul.Combobox getPointOfServices() -
getProduct
protected com.hybris.cockpitng.components.Editor getProduct()
-