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,java.io.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.DefaultWidgetControllerA form for the user to enter required information to search for a particular ATP formula.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringON_LATER_POS_CHANGEprotected static java.lang.StringON_LATER_STORE_CHANGEprotected static java.lang.StringON_POS_CHANGEprotected static java.lang.StringON_STORE_CHANGEprotected static java.lang.StringOUT_CONFIRMprotected static java.lang.StringSEARCH_ATPprotected static java.lang.StringSELECT_A_BASE_STOREprotected static java.lang.StringSELECT_A_POINT_OF_SERVICEprotected static java.lang.StringWAREHOUSINGBACKOFFICE_ATPFORM_TITLEprotected static java.lang.StringWAREHOUSINGBACKOFFICE_ATPFORM_VALIDATION_MISSING_BASE_STOREprotected static java.lang.StringWAREHOUSINGBACKOFFICE_ATPFORM_VALIDATION_MISSING_PRODUCT_CODEprotected static java.lang.StringWAREHOUSINGBACKOFFICE_ATPFORM_VALIDATION_VALID_POS
-
Constructor Summary
Constructors Constructor Description AtpFormController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddListeners()Adds listeners on all components which will receive user input.protected org.zkoss.zul.ComboboxgetBaseStores()protected BaseStoreServicegetBaseStoreService()protected org.zkoss.zul.ComboboxgetPointOfServices()protected com.hybris.cockpitng.components.EditorgetProduct()voidinitialize(org.zkoss.zk.ui.Component component)voidperformSearchOperation()Populates theAtpFormDtowith the user input and sends it as an event to be displayed in a list.protected voidrefreshForm()Refreshes the formvoidsetBaseStoreService(BaseStoreService baseStoreService)protected voidvalidateForm()` 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, setWidgetTitle
-
Methods inherited from class com.hybris.cockpitng.util.ViewAnnotationAwareComposer
scanEventListeners
-
Methods inherited from class org.zkoss.zk.ui.util.GenericAutowireComposer
alert, didActivate, getPage, willClone, willPassivate
-
-
-
-
Field Detail
-
WAREHOUSINGBACKOFFICE_ATPFORM_VALIDATION_MISSING_BASE_STORE
protected static final java.lang.String WAREHOUSINGBACKOFFICE_ATPFORM_VALIDATION_MISSING_BASE_STORE
- See Also:
- Constant Field Values
-
WAREHOUSINGBACKOFFICE_ATPFORM_VALIDATION_MISSING_PRODUCT_CODE
protected static final java.lang.String WAREHOUSINGBACKOFFICE_ATPFORM_VALIDATION_MISSING_PRODUCT_CODE
- See Also:
- Constant Field Values
-
WAREHOUSINGBACKOFFICE_ATPFORM_VALIDATION_VALID_POS
protected static final java.lang.String WAREHOUSINGBACKOFFICE_ATPFORM_VALIDATION_VALID_POS
- See Also:
- Constant Field Values
-
ON_STORE_CHANGE
protected static final java.lang.String ON_STORE_CHANGE
- See Also:
- Constant Field Values
-
ON_LATER_STORE_CHANGE
protected static final java.lang.String ON_LATER_STORE_CHANGE
- See Also:
- Constant Field Values
-
ON_POS_CHANGE
protected static final java.lang.String ON_POS_CHANGE
- See Also:
- Constant Field Values
-
ON_LATER_POS_CHANGE
protected static final java.lang.String ON_LATER_POS_CHANGE
- See Also:
- Constant Field Values
-
SEARCH_ATP
protected static final java.lang.String SEARCH_ATP
- See Also:
- Constant Field Values
-
WAREHOUSINGBACKOFFICE_ATPFORM_TITLE
protected static final java.lang.String WAREHOUSINGBACKOFFICE_ATPFORM_TITLE
- See Also:
- Constant Field Values
-
OUT_CONFIRM
protected static final java.lang.String OUT_CONFIRM
- See Also:
- Constant Field Values
-
SELECT_A_POINT_OF_SERVICE
protected static final java.lang.String SELECT_A_POINT_OF_SERVICE
- See Also:
- Constant Field Values
-
SELECT_A_BASE_STORE
protected static final java.lang.String SELECT_A_BASE_STORE
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
protected BaseStoreService getBaseStoreService()
-
setBaseStoreService
public void setBaseStoreService(BaseStoreService baseStoreService)
-
getBaseStores
protected org.zkoss.zul.Combobox getBaseStores()
-
getPointOfServices
protected org.zkoss.zul.Combobox getPointOfServices()
-
getProduct
protected com.hybris.cockpitng.components.Editor getProduct()
-
-