Class DefaultDataErasureDialogModel
- Namespace
- Kentico.Xperience.Admin.DigitalMarketing
- Assembly
- Kentico.Xperience.Admin.DigitalMarketing.dll
Model with fields representing data erasure dialog.
public class DefaultDataErasureDialogModel : IDataErasureDialogModel
- Inheritance
-
objectDefaultDataErasureDialogModel
- Implements
- Extension Methods
Constructors
DefaultDataErasureDialogModel(ILocalizationService)
Creates a new instance of the DefaultDataErasureDialogModel.
public DefaultDataErasureDialogModel(ILocalizationService localizationService)
Parameters
localizationService
ILocalizationService
Properties
DeleteActivities
Indicates whether all activities of corresponding contacts should be deleted.
public bool DeleteActivities { get; set; }
Property Value
- bool
DeleteContacts
Indicates whether corresponding contacts should be deleted.
public bool DeleteContacts { get; set; }
Property Value
- bool
DeleteMembers
Indicates whether corresponding members should be deleted.
public bool DeleteMembers { get; set; }
Property Value
- bool
DeleteSubmittedFormsActivities
Indicates whether form submission activities of corresponding contacts should be deleted.
public bool DeleteSubmittedFormsActivities { get; set; }
Property Value
- bool
DeleteSubmittedFormsData
Indicates whether submitted forms of corresponding contacts should be deleted.
public bool DeleteSubmittedFormsData { get; set; }
Property Value
- bool
Methods
IsAnyOptionSelected()
Indicates that at least one of erasure options was selected.
protected virtual bool IsAnyOptionSelected()
Returns
- bool
Validate()
Validates the data erasure dialog model.
public virtual Task<ValidationResult> Validate()
Returns
- Task<ValidationResult>