public class ActionUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
LOG |
| Constructor and Description |
|---|
ActionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkMandatoryValues(ComposedType itemType,
DisplayState displayState,
Map currentValues,
ActionResult actionResult,
boolean inCreate) |
static void |
filterEqualValues(ComposedType type,
DisplayState displayState,
Map initialValues,
Map currentValues,
ActionResult actionResult)
Remove all value entries, which have not be change and are equals to the initial values.
|
static void |
filterOptionalNullValues(ComposedType itemType,
Map currentValues,
ActionResult actionResult)
Remove all optional value entries, which are null.
|
static void |
filterSecurityViolations(ComposedType itemType,
Map values,
ActionResult actionResult,
boolean itemCreation) |
static void |
refreshUnchangedLocalizedValues(Item item,
Map initialValues,
Map currentValues,
ActionResult actionResult)
Refreshes all localized values which have not been changed.
|
public static void checkMandatoryValues(ComposedType itemType, DisplayState displayState, Map currentValues, ActionResult actionResult, boolean inCreate)
public static void filterEqualValues(ComposedType type, DisplayState displayState, Map initialValues, Map currentValues, ActionResult actionResult)
public static void filterOptionalNullValues(ComposedType itemType, Map currentValues, ActionResult actionResult)
public static void filterSecurityViolations(ComposedType itemType, Map values, ActionResult actionResult, boolean itemCreation)
public static void refreshUnchangedLocalizedValues(Item item, Map initialValues, Map currentValues, ActionResult actionResult)
filterEqualValues(ComposedType, DisplayState, Map, Map, ActionResult) all remaining localized
values are retrieved from the database and the values that have been changed locally are merged with the database
values.Copyright © 2017 SAP SE. All Rights Reserved.