interface IAbusiveContent
{
Guid DataTypeId { get; }
int DefiniteAbuseThreshold { get; }
IAbusiveContentEvents Events { get; }
int PossibleAbuseThreshold { get; }
void ArchiveExpungedData(Guid abuseId, Guid contentId, Guid contentTypeId);
void ArchiveExpungedData(Guid abuseId, Guid contentTypeId, Guid applicationId, Guid containerId, int createdByUserId, DateTime createdDate, string title, string body, string url, string xmlData);
AbusiveContent Get(Guid contentId, Guid contentTypeId);
void Ignore(Guid contentId, Guid contentTypeId);
PagedList<AbusiveContent> List(AbusiveContentListOptions options);
}
|
名称 |
类型 |
描述 |
默认值 |
选项 |
|
DataTypeId |
Guid |
Abusive Content data type identifier |
||
|
DefiniteAbuseThreshold |
int |
Number of reports after which a piece of content will definitely be considered abusive.. |
||
|
Events |
IAbusiveContentEvents |
AbusiveContent events |
||
|
PossibleAbuseThreshold |
int |
Minimum number of reports required before content can be considered abusive. |
Archive Expunged Data - move a copy of data to be expunged to database
|
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
|
abuseId |
Guid |
Abuse Id |
是 |
||
|
contentId |
Guid |
Content Id |
是 |
||
|
contentTypeId |
Guid |
Content Type ID |
是 |
Archive Expunged Data - move a copy of data to be expunged to database
|
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
|
abuseId |
Guid |
Abuse Id |
是 |
||
|
contentTypeId |
Guid |
Content Type ID |
是 |
||
|
applicationId |
Guid |
Application Id |
是 |
||
|
containerId |
Guid |
Container Id |
是 |
||
|
createdByUserId |
int |
Created by user Id |
是 |
||
|
createdDate |
DateTime |
Created date |
是 |
||
|
title |
string |
title |
是 |
||
|
body |
string |
Body |
是 |
||
|
url |
string |
Url |
是 |
||
|
xmlData |
string |
Option xml data to be included in archive |
是 |
Gets a single Abusive Content Record for a piece of content
|
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
|
contentId |
Guid |
Content Id |
是 |
||
|
contentTypeId |
Guid |
Content Type ID |
是 |
AbusiveContent
Ignore content in the abuse management list. It will not be shown again until another report is made on it.
|
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
|
contentId |
Guid |
Content Id |
是 |
||
|
contentTypeId |
Guid |
Content Type Id |
是 |
List Abusive Content
|
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
|
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 |
是 |
PagedList<AbusiveContent>