Show / Hide Table of Contents

Class ConsentManagement

Inheritance
object
ConsentManagement
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Entities
Assembly: SoDataBase.dll
Syntax
public static class ConsentManagement

Methods

GetConsentInfosAsync(int, CancellationToken)

Declaration
public static Task<ConsentInfo[]> GetConsentInfosAsync(int personId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int personId
CancellationToken cancellationToken
Returns
Type Description
Task<ConsentInfo[]>

GetConsentRowAsync(int, int, int, int, string, CancellationToken)

Declaration
public static Task<ConsentPersonRow> GetConsentRowAsync(int personId, int consentPurposeId, int consentSourceId, int legalBaseId, string comment, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int personId
int consentPurposeId
int consentSourceId
int legalBaseId
string comment
CancellationToken cancellationToken
Returns
Type Description
Task<ConsentPersonRow>

GetConsentRowAsync(int, string, string, string, string, CancellationToken)

Declaration
public static Task<ConsentPersonRow> GetConsentRowAsync(int personId, string purposeKey, string sourceKey, string legalBaseKey, string comment, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int personId
string purposeKey
string sourceKey
string legalBaseKey
string comment
CancellationToken cancellationToken
Returns
Type Description
Task<ConsentPersonRow>

GetStoreConsentInfoAsync(int, CancellationToken)

Declaration
public static Task<ConsentInfo[]> GetStoreConsentInfoAsync(int personId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int personId
CancellationToken cancellationToken
Returns
Type Description
Task<ConsentInfo[]>

HasConsentAsync(int, string, CancellationToken)

Declaration
public static Task<bool> HasConsentAsync(int personId, string purposeKey, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int personId
string purposeKey
CancellationToken cancellationToken
Returns
Type Description
Task<bool>

RemoveConsentAsync(int, string, CancellationToken)

Declaration
public static Task RemoveConsentAsync(int personId, string purposeKey, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int personId
string purposeKey
CancellationToken cancellationToken
Returns
Type Description
Task

SetConsentAsync(int, int, int, int, string, CancellationToken)

Declaration
public static Task SetConsentAsync(int personId, int consentPurposeId, int consentSourceId, int legalBaseId, string comment, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int personId
int consentPurposeId
int consentSourceId
int legalBaseId
string comment
CancellationToken cancellationToken
Returns
Type Description
Task

SetConsentAsync(int, string, string, string, string, CancellationToken)

Declaration
public static Task SetConsentAsync(int personId, string purposeKey, string sourceKey, string legalBaseKey, string comment, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int personId
string purposeKey
string sourceKey
string legalBaseKey
string comment
CancellationToken cancellationToken
Returns
Type Description
Task
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top