public class ServicelayerHMCSaveAction extends GenericItemSaveAction
ModelService.setAttributeValue(Object, String, Object) instead of
Item.setAllAttributes(Map).CURRENT_VALUES, DISPLAY_STATE, INITIAL_VALUES, ITEM, SPECIAL_EDITORS| Constructor and Description |
|---|
ServicelayerHMCSaveAction() |
| Modifier and Type | Method and Description |
|---|---|
protected ActionResult |
beforeSave(Item item,
DisplayState displayState,
Map currentValues,
Map initialValues)
The maps currentValues and initialValues can be used to implement filtering of values, which must not be saved.
|
protected ActionResult |
save(Item item,
DisplayState displayState,
Map currentValues,
Map initialValues,
Map specialEditors,
ActionResult actionResult) |
afterSave, afterSave, save, saveSpecialEditorscreateDialogChip, getConfirmationMessage, hasDialogChip, needConfirmation, perform, validateSpecialEditorsprotected ActionResult beforeSave(Item item, DisplayState displayState, Map currentValues, Map initialValues)
SaveActionbeforeSave in class GenericItemSaveActionitem - Item which attributes should be saved.displayState - DisplayStatecurrentValues - Map containing all current attribute values. (Mapping: AttributeQualifier -> Value) Note:
AttributeQualifier should always be treated caseinsensitive. Use
de.hybris.platform.util.collections.CaseInsensitiveMap or other caseinsensitive
implementations.initialValues - Map containing all initial attribute values. (Mapping: AttributeQualifier -> Value) Note:
AttributeQualifier should always be treated caseinsensitive. Use
de.hybris.platform.util.collections.CaseInsensitiveMap or other caseinsensitive
implementations.SaveAction.beforeSave(de.hybris.platform.jalo.Item,
de.hybris.platform.hmc.webchips.DisplayState, java.util.Map, java.util.Map)protected ActionResult save(Item item, DisplayState displayState, Map currentValues, Map initialValues, Map specialEditors, ActionResult actionResult)
Copyright © 2017 SAP SE. All Rights Reserved.