public interface IContentVersionService
Methods View Source Get(Int32) Declaration
ContentVersionMeta Get(int versionId)
Parameters Type Name Description System.Int32 versionId Returns View Source GetAsync(Guid) Declaration
Task<Attempt<IContent, ContentVersionOperationStatus>> GetAsync(Guid versionId)
Parameters Type Name Description Guid versionId Returns View Source GetPagedContentVersions(Int32, Int64, Int32, out Int64, String)
Gets paginated content versions for given content id paginated.
DeclarationIEnumerable<ContentVersionMeta>? GetPagedContentVersions(int contentId, long pageIndex, int pageSize, out long totalRecords, string culture = null)
Parameters Type Name Description System.Int32 contentId System.Int64 pageIndex System.Int32 pageSize System.Int64 totalRecords System.String culture Returns View Source GetPagedContentVersionsAsync(Guid, String, Int32, Int32) Declaration
Task<Attempt<PagedModel<ContentVersionMeta>, ContentVersionOperationStatus>> GetPagedContentVersionsAsync(Guid contentId, string culture, int skip, int take)
Parameters Type Name Description Guid contentId System.String culture System.Int32 skip System.Int32 take Returns View Source PerformContentVersionCleanup(DateTime)
Removes historic content versions according to a policy.
DeclarationIReadOnlyCollection<ContentVersionMeta> PerformContentVersionCleanup(DateTime asAtDate)
Parameters Type Name Description DateTime asAtDate Returns View Source RollBackAsync(Guid, String, Guid) Declaration
Task<Attempt<ContentVersionOperationStatus>> RollBackAsync(Guid versionId, string culture, Guid userKey)
Parameters Type Name Description Guid versionId System.String culture Guid userKey Returns View Source SetPreventCleanup(Int32, Boolean, Int32)
Updates preventCleanup value for given content version.
Declarationvoid SetPreventCleanup(int versionId, bool preventCleanup, int userId = -1)
Parameters Type Name Description System.Int32 versionId System.Boolean preventCleanup System.Int32 userId View Source SetPreventCleanupAsync(Guid, Boolean, Guid) Declaration
Task<Attempt<ContentVersionOperationStatus>> SetPreventCleanupAsync(Guid versionId, bool preventCleanup, Guid userKey)
Parameters Type Name Description Guid versionId System.Boolean preventCleanup Guid userKey Returns
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4