Class ProviderAwareContentVersionRepository
Inheritance
System.Object
ProviderAwareContentVersionRepository
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
[ServiceConfiguration]
[ServiceConfiguration]
public class ProviderAwareContentVersionRepository : Object, IContentVersionRepository
Constructors
ProviderAwareContentVersionRepository(DefaultContentEvents, IContentProviderManager, IContentLoader, IPermanentLinkMapper, ContentAccessChecker, IContentLanguageAccessor, IContentCacheHandler)
Declaration
public ProviderAwareContentVersionRepository(DefaultContentEvents eventHandler, IContentProviderManager providerManager, IContentLoader contentLoader, IPermanentLinkMapper permanentLinkMapper, ContentAccessChecker accessChecker, IContentLanguageAccessor languageAccessor, IContentCacheHandler contentCacheHandler)
Parameters
Properties
Instance
Declaration
public static ProviderAwareContentVersionRepository Instance { get; }
Property Value
Methods
Delete(ContentReference)
Declaration
public virtual void Delete(ContentReference contentLink)
Parameters
Delete(ContentReference, AccessLevel)
Declaration
public virtual void Delete(ContentReference contentLink, AccessLevel access)
Parameters
List(VersionFilter, Int32, Int32, out Int32)
Declaration
public IEnumerable<ContentVersion> List(VersionFilter filter, int startIndex, int maxRows, out int totalCount)
Parameters
Type |
Name |
Description |
VersionFilter |
filter |
|
System.Int32 |
startIndex |
|
System.Int32 |
maxRows |
|
System.Int32 |
totalCount |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<ContentVersion> |
|
Load(ContentReference)
Declaration
public virtual ContentVersion Load(ContentReference contentLink)
Parameters
Returns
LoadCommonDraft(ContentReference, String)
Declaration
public virtual ContentVersion LoadCommonDraft(ContentReference contentLink, string language)
Parameters
Returns
LoadPublished(ContentReference)
Declaration
public virtual ContentVersion LoadPublished(ContentReference contentLink)
Parameters
Returns
LoadPublished(ContentReference, String)
Declaration
public virtual ContentVersion LoadPublished(ContentReference contentLink, string languageBranch)
Parameters
Returns
SetCommonDraft(ContentReference)
Declaration
public virtual void SetCommonDraft(ContentReference contentLink)
Parameters
Implements
Extension Methods