public class ServicelayerHMCCreateAction extends GenericItemCreateAction
ModelService to create a model and saves it finally instead of
ComposedType.newInstance(Map).logCURRENT_VALUES, DISPLAY_STATE, INITIAL_VALUES, ITEM_TYPE| Constructor and Description |
|---|
ServicelayerHMCCreateAction() |
| Modifier and Type | Method and Description |
|---|---|
protected ActionResult |
beforeCreate(ComposedType itemType,
DisplayState displayState,
Map initialValues,
Map currentValues)
The maps currentValues and initialValues can be used to implement filtering of values, which must not be saved.
|
protected ActionResult |
create(ComposedType comptyp,
DisplayState displayState,
Map initialValues,
Map currentValues,
ActionResult actionResult) |
afterCreatecreateDialogChip, getConfirmationMessage, hasDialogChip, needConfirmation, performprotected ActionResult beforeCreate(ComposedType itemType, DisplayState displayState, Map initialValues, Map currentValues)
CreateActionbeforeCreate in class GenericItemCreateActionitemType - A new Item of this ComposedType will be created.displayState - DisplayStateinitialValues - 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.currentValues - 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.protected ActionResult create(ComposedType comptyp, DisplayState displayState, Map initialValues, Map currentValues, ActionResult actionResult)
create in class GenericItemCreateActioncomptyp - A new Item of this ComposedType will be created.displayState - DisplayStateinitialValues - 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.currentValues - 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.actionResult - The ActionResult object, containing the status of the current action.Copyright © 2017 SAP SE. All Rights Reserved.