IReviewableContentType is defined in the Telligent.Evolution.Extensibility.Content.Version1 namespace of Telligent.Evolution.Platform.dll
Definition
interface IReviewableContentType : IContentType, IPlugin { void Delete(ReviewableContent content); void Deny(ReviewableContent content); PropertyGroup[] GetReviewableOptions(Guid applicationId, Guid applicationTypeId); IContent Publish(ReviewableContent content); void SetController(IContentReviewController controller); }
Methods
void Delete(ReviewableContent content);
Called when content is expunged/deleted after having been denied by the review workflow.
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| content | ReviewableContent | Content | Required |
void Deny(ReviewableContent content);
Called when content is denied by the review workflow.
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| content | ReviewableContent | Content | Required |
PropertyGroup[] GetReviewableOptions(Guid applicationId, Guid applicationTypeId);
Defines the metadata describing the content to be reviewed.
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| applicationId | Guid | Application Id | Required | ||
| applicationTypeId | Guid | Application Type Id | Required |
Return Type
IContent Publish(ReviewableContent content);
Called when content is identified to be published by the review workflow.
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| content | ReviewableContent | Content | Required |
Return Type
void SetController(IContentReviewController controller);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| controller | IContentReviewController | Controller | Required |