Interface IContentChangeManager
  
  
  
  
  Assembly: EPiServer.Cms.Shell.UI.dll
  Version: 11.20.7
  Syntax
  
    public interface IContentChangeManager
   
  Methods
  
  
  
  
  Commit(ContentReference, SaveAction)
  
  
  Declaration
  
    CommitResult Commit(ContentReference contentReference, SaveAction action)
   
  Parameters
  
  Returns
  
  
  
  
  Copy(IContent, IContent, Boolean)
  
  
  Declaration
  
    ContentReference Copy(IContent source, IContent destination, bool createAsLocalAsset)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | IContent | source |  | 
      
        | IContent | destination |  | 
      
        | System.Boolean | createAsLocalAsset |  | 
    
  
  Returns
  
  
  
  
  Create(ContentReference, Int32, Nullable<Int64>, Boolean, ILocalAssetNameGenerator, IDictionary<String, Object>)
  
  
  Declaration
  
    ContentReference Create(ContentReference parentLink, int contentTypeId, long? resourceFolderId, bool createAsLocalAsset, ILocalAssetNameGenerator nameGenerator, IDictionary<string, object> properties)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | ContentReference | parentLink |  | 
      
        | System.Int32 | contentTypeId |  | 
      
        | System.Nullable<System.Int64> | resourceFolderId |  | 
      
        | System.Boolean | createAsLocalAsset |  | 
      
        | ILocalAssetNameGenerator | nameGenerator |  | 
      
        | System.Collections.Generic.IDictionary<System.String, System.Object> | properties |  | 
    
  
  Returns
  
  
  
  
  Create(ContentReference, Int32, Nullable<Int64>, Boolean, String, IDictionary<String, Object>)
  
  
  Declaration
  
    ContentReference Create(ContentReference parentLink, int contentTypeId, long? resourceFolderId, bool createAsLocalAsset, string name, IDictionary<string, object> properties)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | ContentReference | parentLink |  | 
      
        | System.Int32 | contentTypeId |  | 
      
        | System.Nullable<System.Int64> | resourceFolderId |  | 
      
        | System.Boolean | createAsLocalAsset |  | 
      
        | System.String | name |  | 
      
        | System.Collections.Generic.IDictionary<System.String, System.Object> | properties |  | 
    
  
  Returns
  
  
  
  
  CreateLanguageBranch(ContentReference, String, String, IDictionary<String, Object>)
  
  
  Declaration
  
    ContentReference CreateLanguageBranch(ContentReference contentReference, string name, string languageBranch, IDictionary<string, object> properties)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | ContentReference | contentReference |  | 
      
        | System.String | name |  | 
      
        | System.String | languageBranch |  | 
      
        | System.Collections.Generic.IDictionary<System.String, System.Object> | properties |  | 
    
  
  Returns
  
  
  
  
  GetOrCreateContentAssetsFolder(ContentReference)
  
  
  Declaration
  
    ContentReference GetOrCreateContentAssetsFolder(ContentReference parentLink)
   
  Parameters
  
  Returns
  
  
  
  
  Move(IContent, IContent, Boolean)
  
  
  Declaration
  
    ContentReference Move(IContent source, IContent destination, bool createAsLocalAsset)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | IContent | source |  | 
      
        | IContent | destination |  | 
      
        | System.Boolean | createAsLocalAsset |  | 
    
  
  Returns
  
  
  
  
  TranslateAncestors(IContent)
  
  
  Declaration
  
    IEnumerable<ContentReference> TranslateAncestors(IContent content)
   
  Parameters
  
  Returns
  
  
  
  
  UpdateContentProperties(ContentReference, IDictionary<String, String>)
  
  
  Declaration
  
    PropertiesUpdateResult UpdateContentProperties(ContentReference contentReference, IDictionary<string, string> properties)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | ContentReference | contentReference |  | 
      
        | System.Collections.Generic.IDictionary<System.String, System.String> | properties |  | 
    
  
  Returns
  
  
  
  
  UpdateContentProperties(ContentReference, IDictionary<String, String>, SaveAction)
  
  
  Declaration
  
    PropertiesUpdateResult UpdateContentProperties(ContentReference contentReference, IDictionary<string, string> properties, SaveAction saveAction)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | ContentReference | contentReference |  | 
      
        | System.Collections.Generic.IDictionary<System.String, System.String> | properties |  | 
      
        | SaveAction | saveAction |  | 
    
  
  Returns
  
  Extension Methods