C# Class Orchard.ImportExport.Services.ImportExportService

Inheritance: IImportExportService
Show file Open project: ucdavis/Orchard

Public Methods

Method Description
Export ( IEnumerable contentTypes, ExportOptions exportOptions ) : string
Import ( string recipeText ) : void
ImportExportService ( IOrchardServices orchardServices, IContentDefinitionManager contentDefinitionManager, IContentDefinitionWriter contentDefinitionWriter, IAppDataFolder appDataFolder, IRecipeParser recipeParser, IRecipeManager recipeManager, IShellDescriptorManager shellDescriptorManager, IEnumerable exportEventHandlers ) : System

Private Methods

Method Description
CreateExportRoot ( ) : System.Xml.Linq.XDocument
ExportContentItem ( Orchard.ContentManagement.ContentItem contentItem ) : System.Xml.Linq.XElement
ExportData ( IEnumerable contentTypes, VersionHistoryOptions versionHistoryOptions ) : System.Xml.Linq.XElement
ExportMetadata ( IEnumerable contentTypes ) : System.Xml.Linq.XElement
ExportSiteSettings ( ) : System.Xml.Linq.XElement
GetContentExportVersionOptions ( VersionHistoryOptions versionHistoryOptions ) : VersionOptions
UpdateShell ( ) : void
WriteExportFile ( string exportDocument ) : string

Method Details

Export() public method

public Export ( IEnumerable contentTypes, ExportOptions exportOptions ) : string
contentTypes IEnumerable
exportOptions Orchard.ImportExport.Models.ExportOptions
return string

Import() public method

public Import ( string recipeText ) : void
recipeText string
return void

ImportExportService() public method

public ImportExportService ( IOrchardServices orchardServices, IContentDefinitionManager contentDefinitionManager, IContentDefinitionWriter contentDefinitionWriter, IAppDataFolder appDataFolder, IRecipeParser recipeParser, IRecipeManager recipeManager, IShellDescriptorManager shellDescriptorManager, IEnumerable exportEventHandlers ) : System
orchardServices IOrchardServices
contentDefinitionManager IContentDefinitionManager
contentDefinitionWriter IContentDefinitionWriter
appDataFolder IAppDataFolder
recipeParser IRecipeParser
recipeManager IRecipeManager
shellDescriptorManager IShellDescriptorManager
exportEventHandlers IEnumerable
return System