Interface ChangeContainerOverridable


public interface ChangeContainerOverridable
Marks a projection domain as supporting an overridable ChangeContainer. This allows the projection domain to define its own change container that takes precedence over the change container defined within ContextRequest.getChangeContainer().

For example, this can be useful for supporting individualized ChangeContainer information in bulk operations such as CrudEntityService.createAll(List, ContextInfo) and CrudEntityService.updateAll(List, ContextInfo).

Author:
Nick Crum (ncrum)
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the override change container that should be used when mapping over the projection domain to set the change container for the repository domain.
    void
    Sets the override change container for the projection domain.
  • Method Details

    • 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