This service is available via Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.IAbusiveContent>()
and is defined in Telligent.Evolution.Platform.dll
Events
Events.AfterFoundAbusive
Handler
void AbusiveContentAfterFoundAbusiveEventHandler(AbusiveContentAfterFoundAbusiveEventArgs e);
Events.AfterFoundNotAbusive
Handler
void AbusiveContentAfterFoundNotAbusiveEventHandler(AbusiveContentAfterFoundNotAbusiveEventArgs e);
Events.AfterProcess
Handler
void AbusiveContentAfterProcessEventHandler(AbusiveContentAfterProcessEventArgs e);
Events.BeforeProcess
Handler
void AbusiveContentBeforeProcessEventHandler(AbusiveContentBeforeProcessEventArgs e);
Events.OnAbusiveKarmaScoreChange
Handler
void AbusiveContentBeforeAbusiveKarmaScoreChangedEventHandler(AbusiveContentBeforeAbusiveKarmaScoreChangedEventArgs e);
Events.OnExpunge
Handler
void AbusiveContentOnExpungeEventHandler(AbusiveContentOnExpungeEventArgs e);
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
DataTypeId | Guid | Abusive Content data type identifier | ||
DefiniteAbuseThreshold | int | Number of reports after which a piece of content will definitely be considered abusive.. | ||
PossibleAbuseThreshold | int | Minimum number of reports required before content can be considered abusive. |
Methods
void ArchiveExpungedData(Guid abuseId, Guid contentTypeId, Guid applicationId, Guid containerId, int createdByUserId, DateTime createdDate, string title, string body, string url, string xmlData);
Archive Expunged Data - move a copy of data to be expunged to database
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
abuseId | Guid | Abuse Id | Required | ||
contentTypeId | Guid | Content Type ID | Required | ||
applicationId | Guid | Application Id | Required | ||
containerId | Guid | Container Id | Required | ||
createdByUserId | int | Created by user Id | Required | ||
createdDate | DateTime | Created date | Required | ||
title | string | title | Required | ||
body | string | Body | Required | ||
url | string | Url | Required | ||
xmlData | string | Option xml data to be included in archive | Required |
void ArchiveExpungedData(Guid abuseId, Guid contentId, Guid contentTypeId);
Archive Expunged Data - move a copy of data to be expunged to database
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
abuseId | Guid | Abuse Id | Required | ||
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type ID | Required |
AbusiveContent Get(Guid contentId, Guid contentTypeId);
Gets a single Abusive Content Record for a piece of content
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type ID | Required |
Return Type
void Ignore(Guid contentId, Guid contentTypeId);
Ignore content in the abuse management list. It will not be shown again until another report is made on it.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type Id | Required |
bool IsModerated(Guid contentId, Guid contentTypeId);
Identifies if content is currently moderated due to abuse or other moderation-related workflow.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type Id | Required |
Return Type
bool
PagedList<AbusiveContent> List(AbusiveContentListOptions options);
List Abusive Content
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
options | AbusiveContentListOptions | Options include: AuthorUserId, ContainerId, ApplicationId, ContentTypeId, StartCreateDate, EndCreateDate, StartReportDate, EndReportDate, AbuseState(Reported, AbusiveAppealed, ConfirmedAbusive, NotAbusive, Invalid, AppealRespondedByAuthor), SortBy (AbuseId, AuthorUserId, AuthorUsername), SortOrder (Asc, Desc), PageSize, PageIndex | Required |