C# Class Rebel.Cms.Web.Packaging.PackageInstallation

Show file Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Public Methods

Method Description
CopyPackageFiles ( ) : List

Verifies that all files from Package source can be copied to destination, and then goes on to copy the files that can be copied.

ImportData ( ) : SerializedDataImport

Imports serialized data from a package by checking if its valid and already exists.

PackageInstallation ( IBackOfficeRequestContext context, System.Web.HttpContextBase httpContext, IPackage package ) : System

Private Methods

Method Description
CheckImportableEntities ( SerializedDataImport dataImport ) : void

Check Entities can be imported. Updates 'IsImportable' property on DeseriazliedDataResult

CheckImportableRelations ( SerializedDataImport dataImport ) : void

Check relations to verify source and destination exists

Method Details

CopyPackageFiles() public method

Verifies that all files from Package source can be copied to destination, and then goes on to copy the files that can be copied.
public CopyPackageFiles ( ) : List
return List

ImportData() public method

Imports serialized data from a package by checking if its valid and already exists.
public ImportData ( ) : SerializedDataImport
return SerializedDataImport

PackageInstallation() public method

public PackageInstallation ( IBackOfficeRequestContext context, System.Web.HttpContextBase httpContext, IPackage package ) : System
context IBackOfficeRequestContext
httpContext System.Web.HttpContextBase
package IPackage
return System