November Happy Hour will be moved to Thursday December 5th.

Class ContentApprovalActivity

An activity related to ContentApproval events in the system.

Inheritance
System.Object
ContentApprovalActivity
Namespace: EPiServer.DataAbstraction.Activities
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public class ContentApprovalActivity : ApprovalActivity

Constructors

ContentApprovalActivity()

Initializes a new instance of the ContentApprovalActivity class.

Declaration
public ContentApprovalActivity()

ContentApprovalActivity(ApprovalActionType, ContentReference, Uri, Int32, Int32, String, String, Boolean)

Initializes a new instance of the ContentApprovalActivity class.

Declaration
public ContentApprovalActivity(ApprovalActionType approvalType, ContentReference contentLink, Uri approvalReference, int approvalID, int definitionVersionID, string changedBy, string comment, bool forced)
Parameters
Type Name Description
ApprovalActionType approvalType
ContentReference contentLink
System.Uri approvalReference
System.Int32 approvalID
System.Int32 definitionVersionID
System.String changedBy
System.String comment
System.Boolean forced

Properties

Gets the ContentReference of the content that the approval refered to by this activity is related to.

Declaration
public virtual ContentReference ContentLink { get; }
Property Value
Type Description
ContentReference

Forced

Gets a flag specifying if the decision was forced.

Declaration
public virtual bool Forced { get; }
Property Value
Type Description
System.Boolean

RelatedItem

Gets or sets the item this Activity is related to.

Declaration
protected override Uri RelatedItem { get; set; }
Property Value
Type Description
System.Uri
Overrides
Remarks

For content activities like publish it will be the content version. For project items like "item added to project" it will be project. For messages it will dependend on the type of message.

Extension Methods