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

Class ContentApprovalContentHandler

Inheritance
System.Object
ContentApprovalContentHandler
Namespace: EPiServer.Approvals.ContentApprovals.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public class ContentApprovalContentHandler : Object

Constructors

ContentApprovalContentHandler(IApprovalDefinitionRepository, IApprovalRepository, IApprovalEngine, IPrincipalAccessor, AncestorReferencesLoader, IContentLoader, SystemDefinition, LocalizationService, IParentRestoreRepository, IContentProviderManager)

Declaration
public ContentApprovalContentHandler(IApprovalDefinitionRepository approvalDefinitionRepository, IApprovalRepository approvalRepository, IApprovalEngine approvalEngine, IPrincipalAccessor principalAccessor, AncestorReferencesLoader ancestorReferencesLoader, IContentLoader contentLoader, SystemDefinition systemDefinition, LocalizationService localizationService, IParentRestoreRepository parentRestoreRepository, IContentProviderManager contentProviderManager)
Parameters
Type Name Description
IApprovalDefinitionRepository approvalDefinitionRepository
IApprovalRepository approvalRepository
IApprovalEngine approvalEngine
IPrincipalAccessor principalAccessor
AncestorReferencesLoader ancestorReferencesLoader
IContentLoader contentLoader
SystemDefinition systemDefinition
LocalizationService localizationService
IParentRestoreRepository parentRestoreRepository
IContentProviderManager contentProviderManager

Methods

ContentDeleted(Object, DeleteContentEventArgs)

Declaration
public void ContentDeleted(object sender, DeleteContentEventArgs e)
Parameters
Type Name Description
System.Object sender
DeleteContentEventArgs e

ContentLanguageDeleted(Object, ContentEventArgs)

Declaration
public void ContentLanguageDeleted(object sender, ContentEventArgs e)
Parameters
Type Name Description
System.Object sender
ContentEventArgs e

ContentMoved(Object, ContentEventArgs)

Declaration
public void ContentMoved(object sender, ContentEventArgs e)
Parameters
Type Name Description
System.Object sender
ContentEventArgs e

ContentMoving(Object, ContentEventArgs)

Declaration
public void ContentMoving(object sender, ContentEventArgs e)
Parameters
Type Name Description
System.Object sender
ContentEventArgs e

ContentSaved(Object, ContentEventArgs)

Declaration
public void ContentSaved(object sender, ContentEventArgs e)
Parameters
Type Name Description
System.Object sender
ContentEventArgs e

ContentVersionDeleted(Object, ContentEventArgs)

Declaration
public void ContentVersionDeleted(object sender, ContentEventArgs e)
Parameters
Type Name Description
System.Object sender
ContentEventArgs e

DeleteApprovalsInReviewAsync(IList<ContentReference>, Int32)

Declaration
public Task DeleteApprovalsInReviewAsync(IList<ContentReference> deletedItems, int deleteBatchCount = 1000)
Parameters
Type Name Description
System.Collections.Generic.IList<ContentReference> deletedItems
System.Int32 deleteBatchCount
Returns
Type Description
System.Threading.Tasks.Task

Extension Methods