View Source
Interface IContentBlueprintEditingService
Assembly: Umbraco.Core.dll
Syntax
public interface IContentBlueprintEditingService
Methods
View Source
CreateAsync(ContentBlueprintCreateModel, Guid)
Declaration
Task<Attempt<ContentCreateResult, ContentEditingOperationStatus>> CreateAsync(ContentBlueprintCreateModel createModel, Guid userKey)
Parameters
Returns
View Source
CreateFromContentAsync(Guid, String, Nullable<Guid>, Guid)
Declaration
Task<Attempt<ContentCreateResult, ContentEditingOperationStatus>> CreateFromContentAsync(Guid contentKey, string name, Guid? key, Guid userKey)
Parameters
Type |
Name |
Description |
Guid |
contentKey |
|
System.String |
name |
|
System.Nullable<Guid> |
key |
|
Guid |
userKey |
|
Returns
View Source
DeleteAsync(Guid, Guid)
Declaration
Task<Attempt<IContent, ContentEditingOperationStatus>> DeleteAsync(Guid key, Guid userKey)
Parameters
Type |
Name |
Description |
Guid |
key |
|
Guid |
userKey |
|
Returns
View Source
GetAsync(Guid)
Declaration
Task<IContent> GetAsync(Guid key)
Parameters
Type |
Name |
Description |
Guid |
key |
|
Returns
View Source
GetPagedByContentTypeAsync(Guid, Int32, Int32)
Declaration
Task<Attempt<PagedModel<IContent>, ContentEditingOperationStatus>> GetPagedByContentTypeAsync(Guid contentTypeKey, int skip, int take)
Parameters
Type |
Name |
Description |
Guid |
contentTypeKey |
|
System.Int32 |
skip |
|
System.Int32 |
take |
|
Returns
View Source
MoveAsync(Guid, Nullable<Guid>, Guid)
Declaration
Task<Attempt<ContentEditingOperationStatus>> MoveAsync(Guid key, Guid? containerKey, Guid userKey)
Parameters
Type |
Name |
Description |
Guid |
key |
|
System.Nullable<Guid> |
containerKey |
|
Guid |
userKey |
|
Returns
View Source
UpdateAsync(Guid, ContentBlueprintUpdateModel, Guid)
Declaration
Task<Attempt<ContentUpdateResult, ContentEditingOperationStatus>> UpdateAsync(Guid key, ContentBlueprintUpdateModel updateModel, Guid userKey)
Parameters
Returns