Table of Contents

Interface ICascadeErasureService

Namespace
Excalibur.Compliance
Assembly
Excalibur.Compliance.Abstractions.dll

Provides cascade erasure capabilities that walk relationship graphs to erase all related data subjects.

public interface ICascadeErasureService

Remarks

Cascade erasure extends the standard erasure service by discovering related data subjects through an ICascadeRelationshipResolver and erasing their data as well. This supports GDPR scenarios where erasure of a primary subject must propagate to related records.

Methods

EraseWithCascadeAsync(string, CascadeErasureOptions, CancellationToken)

Erases data for a subject and all related subjects discovered via relationship traversal.

Task<CascadeErasureResult> EraseWithCascadeAsync(string subjectId, CascadeErasureOptions options, CancellationToken cancellationToken)

Parameters

subjectId string

The primary data subject identifier.

options CascadeErasureOptions

Options controlling cascade behavior.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<CascadeErasureResult>

The result of the cascade erasure operation.

Exceptions

ArgumentException

Thrown when subjectId is null or whitespace.