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

Afficher le fichier Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat List

ImportData() public méthode

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

PackageInstallation() public méthode

public PackageInstallation ( IBackOfficeRequestContext context, System.Web.HttpContextBase httpContext, IPackage package ) : System
context IBackOfficeRequestContext
httpContext System.Web.HttpContextBase
package IPackage
Résultat System