public class GenericItemRemoveAction extends RemoveAction
| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
log |
DISPLAY_STATE, INITIAL_VALUES, ITEM, ITEM_TYPE, LOG| Constructor and Description |
|---|
GenericItemRemoveAction() |
| Modifier and Type | Method and Description |
|---|---|
protected ActionResult |
afterRemove(ComposedType itemType,
DisplayState displayState,
Map values,
ActionResult actionResult) |
protected ActionResult |
beforeRemove(Item item,
ComposedType itemType,
DisplayState displayState,
Map values) |
protected ActionResult |
remove(Item item,
DisplayState displayState,
ActionResult actionResult) |
createDialogChip, getConfirmationMessage, hasDialogChip, needConfirmation, performprotected ActionResult beforeRemove(Item item, ComposedType itemType, DisplayState displayState, Map values)
beforeRemove in class RemoveActionitem - the Item which should be removeddisplayState - DisplayStatevalues - Map containing all attribute values. (Mapping: AttributeQualifier -> Value) Note: AttributeQualifier
should always be treated case insensitive. Use
de.hybris.platform.util.collections.CaseInsensitiveMap or other case insensitive
implementations.protected ActionResult remove(Item item, DisplayState displayState, ActionResult actionResult)
remove in class RemoveActionitem - the Item which should be removeddisplayState - DisplayStateactionResult - The ActionResult object, containing the status of the current action.protected ActionResult afterRemove(ComposedType itemType, DisplayState displayState, Map values, ActionResult actionResult)
afterRemove in class RemoveActionitemType - the ComposedType of the removed ItemdisplayState - DisplayStatevalues - Map containing all attribute values. (Mapping: AttributeQualifier -> Value) Note: AttributeQualifier
should always be treated caseinsensitive. Use
de.hybris.platform.util.collections.CaseInsensitiveMap or other caseinsensitive
implementations.actionResult - The ActionResult object, containing the status of the current action.Copyright © 2017 SAP SE. All Rights Reserved.