Interface DataObjectHandlingContext
public interface DataObjectHandlingContext
The data object context is used during data object creation and modification operations and is used to provide additional context information like the
form model where the operation is based on or additional payload data.
- Author:
- Micha Kiener
-
Method Summary
Modifier and TypeMethodDescriptionReturns the payload behind the data object being handled in a generic way.Returns the full payload behind the form, where the data object is just a part of.If the current operation is a modification rather than a creation, this method returns the last, original data object data before the update took place.If the current operation is a modification rather than a creation, this method returns the last, original full data object behind the form for data comparison or delta building.
-
Method Details
-
getDataObjectPayload
-
getOriginalDataObjectPayload
If the current operation is a modification rather than a creation, this method returns the last, original data object data before the update took place. It might be used for comparison, to build the delta, etc.- Returns:
- the optional, original data object payload, might be null, if the current operation is creation of a new object
-
getFullFormPayload
-
getOriginalFullFormPayload
If the current operation is a modification rather than a creation, this method returns the last, original full data object behind the form for data comparison or delta building.- Returns:
- the optional, original full data payload, might be null, if the current operation is creation of a new object
-