public interface IPackagingService : IService
Methods View Source CreateCreatedPackageAsync(PackageDefinition, Guid)
Creates a new package.
DeclarationTask<Attempt<PackageDefinition, PackageOperationStatus>> CreateCreatedPackageAsync(PackageDefinition package, Guid userKey)
Parameters Returns View Source DeleteCreatedPackage(Int32, Int32) Declaration
void DeleteCreatedPackage(int id, int userId = -1)
Parameters Type Name Description System.Int32 id System.Int32 userId View Source DeleteCreatedPackageAsync(Guid, Guid)
Deletes a created package by key.
DeclarationTask<Attempt<PackageDefinition, PackageOperationStatus>> DeleteCreatedPackageAsync(Guid key, Guid userKey)
Parameters Type Name Description Guid key
The key of the package.
Guid userKeyKey of the user deleting the package.
Returns View Source ExportCreatedPackage(PackageDefinition)Creates the package file and returns it's physical path
Declarationstring ExportCreatedPackage(PackageDefinition definition)
Parameters Returns Type Description System.String View Source GetAllCreatedPackages() Declaration
IEnumerable<PackageDefinition> GetAllCreatedPackages()
Returns View Source GetAllInstalledPackages()
Returns the advertised installed packages
DeclarationIEnumerable<InstalledPackage> GetAllInstalledPackages()
Returns View Source GetAllInstalledPackagesAsync()
Returns the advertised installed packages
Declarationvirtual Task<IEnumerable<InstalledPackage>> GetAllInstalledPackagesAsync()
Returns View Source GetCompiledPackageInfo(XDocument)
Returns a CompiledPackage result from an umbraco package file (zip)
DeclarationCompiledPackage GetCompiledPackageInfo(XDocument packageXml)
Parameters Type Name Description System.Xml.Linq.XDocument packageXml Returns View Source GetCreatedPackageById(Int32)
Returns a created package by id
DeclarationPackageDefinition GetCreatedPackageById(int id)
Parameters Type Name Description System.Int32 id Returns View Source GetCreatedPackageByKeyAsync(Guid)
Returns a created package by key.
DeclarationTask<PackageDefinition> GetCreatedPackageByKeyAsync(Guid key)
Parameters Type Name Description Guid key
The key of the package.
Returns Type Description Task<PackageDefinition>The package or null if the package was not found.
View Source GetCreatedPackagesAsync(Int32, Int32)Returns the created packages as a paged model.
Declarationvirtual Task<PagedModel<PackageDefinition>> GetCreatedPackagesAsync(int skip, int take)
Parameters Type Name Description System.Int32 skip
The amount of items to skip.
System.Int32 takeThe amount of items to take.
Returns View Source GetInstalledPackageByName(String) DeclarationInstalledPackage GetInstalledPackageByName(string packageName)
Parameters Type Name Description System.String packageName Returns View Source GetInstalledPackagesFromMigrationPlansAsync(Int32, Int32)
Returns installed packages collected from the package migration plans.
DeclarationTask<PagedModel<InstalledPackage>> GetInstalledPackagesFromMigrationPlansAsync(int skip, int take)
Parameters Type Name Description System.Int32 skip System.Int32 take Returns View Source GetPackageFileStream(PackageDefinition)
Gets the package file stream.
Declarationvirtual Stream? GetPackageFileStream(PackageDefinition definition)
Parameters Returns Type Description System.Nullable<Stream> View Source InstallCompiledPackageData(FileInfo, Int32)
Installs the data, entities, objects contained in an umbraco package file (zip)
DeclarationInstallationSummary InstallCompiledPackageData(FileInfo packageXmlFile, int userId = -1)
Parameters Type Name Description FileInfo packageXmlFile System.Int32 userId Returns View Source InstallCompiledPackageData(XDocument, Int32) Declaration
InstallationSummary InstallCompiledPackageData(XDocument packageXml, int userId = -1)
Parameters Type Name Description System.Xml.Linq.XDocument packageXml System.Int32 userId Returns View Source SaveCreatedPackage(PackageDefinition)
Persists a package definition to storage
Declarationbool SaveCreatedPackage(PackageDefinition definition)
Parameters Returns Type Description System.Boolean View Source UpdateCreatedPackageAsync(PackageDefinition, Guid)
Updates a created package.
DeclarationTask<Attempt<PackageDefinition, PackageOperationStatus>> UpdateCreatedPackageAsync(PackageDefinition package, Guid userKey)
Parameters Returns
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4