Interface ChangeContainerOverridable
-
public interface ChangeContainerOverridableMarks a projection domain as supporting an overridableChangeContainer. This allows the projection domain to define its own change container that takes precedence over the change container defined withinContextRequest.getChangeContainer().For example, this can be useful for supporting individualized
ChangeContainerinformation in bulk operations such asCrudEntityService.createAll(List, ContextInfo)andCrudEntityService.updateAll(List, ContextInfo).- Author:
- Nick Crum (ncrum)
- See Also:
for usage of this interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChangeContainergetOverrideChangeContainer()Retrieves the override change container that should be used when mapping over the projection domain to set the change container for the repository domain.voidsetOverrideChangeContainer(ChangeContainer overrideChangeContainer)Sets the override change container for the projection domain.
-
-
-
Method Detail
-
getOverrideChangeContainer
ChangeContainer getOverrideChangeContainer()
Retrieves the override change container that should be used when mapping over the projection domain to set the change container for the repository domain.- Returns:
- the override change container
-
setOverrideChangeContainer
void setOverrideChangeContainer(ChangeContainer overrideChangeContainer)
Sets the override change container for the projection domain. The override change container will be applied to the repository domain during the mapper pipeline.- Parameters:
overrideChangeContainer- the override change container
-
-