public class PartialOrderCancellationWidgetRenderer extends AbstractCreateWidgetRenderer<InputWidget<DefaultListWidgetModel<TypedObject>,CancellationController>>
| Modifier and Type | Class and Description |
|---|---|
protected class |
PartialOrderCancellationWidgetRenderer.AttemptCancellationEventListener |
AbstractCsWidgetRenderer.ConfirmBeforeCompletingRequestEventListener| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
CSS_CANCELABLE_ORDER_ENTRY_HEADERS |
protected static java.lang.String |
CSS_CANCELLATION_ORDER_BUTTON_BOX |
protected static java.lang.String |
CSS_CANT_CANCEL |
protected static java.lang.String |
CSS_LISTBOX_CONTAINER |
protected static java.lang.String |
CSS_LISTBOX_ROW_ITEM |
protected static java.lang.String |
CSS_MAX_CANCELLATION_QTY_CELL |
protected static java.lang.String |
CSS_PARTIAL_ORDER_CANCELLATION_FOOTER |
protected static java.lang.String |
CSS_PARTIAL_ORDER_CANCELLATION_WIDGET |
protected static java.lang.String |
CSS_PRODUCT_DETAILS_CELL |
protected static java.lang.String |
CSS_WIDGET_LISTBOX |
protected static java.lang.String |
CSS_WIDGET_MASTER_DETAIL_LISTBOX |
CSS_EDITOR_WIDGET_EDITORCSS_WIDGET_CAPTION, CSS_WIDGET_CONTENT| Constructor and Description |
|---|
PartialOrderCancellationWidgetRenderer() |
buildObjectValueContainer, getDefaultPropertyValuesMap, getDefaultValue, loadAndCreateEditors, setDefaultPropertyValuesMapcreateCaption, createConfirmBeforeCompletingRequestEventListener, createContent, getCockpitTypeService, getLabelService, getPropertyEditorHelper, getPropertyRendererHelper, getSystemService, handleConfirmBeforeCompletingRequestEvent, setCockpitTypeService, setLabelService, setPropertyEditorHelper, setPropertyRendererHelper, setSystemServiceprotected static final java.lang.String CSS_PARTIAL_ORDER_CANCELLATION_WIDGET
protected static final java.lang.String CSS_LISTBOX_CONTAINER
protected static final java.lang.String CSS_WIDGET_LISTBOX
protected static final java.lang.String CSS_PARTIAL_ORDER_CANCELLATION_FOOTER
protected static final java.lang.String CSS_CANCELLATION_ORDER_BUTTON_BOX
protected static final java.lang.String CSS_CANT_CANCEL
protected static final java.lang.String CSS_WIDGET_MASTER_DETAIL_LISTBOX
protected static final java.lang.String CSS_LISTBOX_ROW_ITEM
protected static final java.lang.String CSS_CANCELABLE_ORDER_ENTRY_HEADERS
protected static final java.lang.String CSS_PRODUCT_DETAILS_CELL
protected static final java.lang.String CSS_MAX_CANCELLATION_QTY_CELL
public PartialOrderCancellationWidgetRenderer()
protected EnumerationService getEnumerationService()
public void setEnumerationService(EnumerationService enumerationService)
protected PopupWidgetHelper getPopupWidgetHelper()
public void setPopupWidgetHelper(PopupWidgetHelper popupWidgetHelper)
protected java.lang.String getProductInfoConfigurationCode()
public void setProductInfoConfigurationCode(java.lang.String productInfoConfigurationCode)
protected java.util.List<PropertyDescriptor> getOrderCancelEntryProperties()
protected java.util.List<CancelReason> getAllCancelReasons()
protected java.util.Map<PropertyDescriptor,EditorRowConfiguration> getOrderCancelEntryPropertyEditorRowConfigurations()
protected java.util.List<PropertyDescriptor> getOrderCancelRequestProperties()
protected java.util.Map<PropertyDescriptor,EditorRowConfiguration> getOrderCancelRequestPropertyEditorRowConfigurations()
protected HtmlBasedComponent createContentInternal(InputWidget<DefaultListWidgetModel<TypedObject>,CancellationController> widget, HtmlBasedComponent rootContainer)
AbstractCsWidgetRendererAbstractCsWidgetRenderer.createContent(Widget)).createContentInternal in class AbstractCsWidgetRenderer<InputWidget<DefaultListWidgetModel<TypedObject>,CancellationController>>widget - the widgetrootContainer - the root html component that will be set as the content of the widgetprotected ObjectValueContainer createOrderCancelRequestEditors(InputWidget<DefaultListWidgetModel<TypedObject>,CancellationController> widget, org.zkoss.zk.ui.HtmlBasedComponent content)
protected void renderListbox(Listbox listBox,
InputWidget<DefaultListWidgetModel<TypedObject>,CancellationController> widget,
java.util.Map<TypedObject,java.lang.Long> cancelableEntries)
protected void renderCancelableOrderEntryHeaders(InputWidget<DefaultListWidgetModel<TypedObject>,CancellationController> widget, Listhead parent, java.util.List<PropertyDescriptor> columns)
protected void renderCancelableOrderEntry(InputWidget<DefaultListWidgetModel<TypedObject>,CancellationController> widget, Listitem parent, TypedObject orderEntry, java.lang.Long cancelableAmount, java.util.List<PropertyDescriptor> columns, java.util.Map<PropertyDescriptor,EditorRowConfiguration> editorMapping)
protected ObjectValueContainer buildOrderEntryCancelRecordEntryObjectValueContainer(TypedObject orderEntry, ObjectType orderEntryCancelRecordEntryType, java.util.List<PropertyDescriptor> propertyDescriptors, java.util.Set<java.lang.String> langISOs)
protected EventListener createAttemptCancellationEventListener(InputWidget<DefaultListWidgetModel<TypedObject>,CancellationController> widget, ObjectValueContainer orderCancelRequestOVC, java.util.List<ObjectValueContainer> orderEntryCancelRecordEntries)
protected void handleAttemptCancellationEvent(InputWidget<DefaultListWidgetModel<TypedObject>,CancellationController> widget, Event event, ObjectValueContainer orderCancelRequestOVC, java.util.List<ObjectValueContainer> orderEntryCancelRecordEntries) throws java.lang.Exception
java.lang.ExceptionCopyright © 2018 SAP SE. All Rights Reserved.