Provides management functions for extensions.
Methods
DeleteContainerDefinition
(ContainerDefinition) Method
DeleteContainerDefinition (ContainerDefinition containerDefinition)
DeleteControlPanelExtensionDefinition
(ControlPanelExtensionDefinition) Method
DeleteControlPanelExtensionDefinition (ControlPanelExtensionDefinition controlPanelExtensionDefinition)
DeleteLayoutDefinition
(LayoutDefinition) Method
DeleteLayoutDefinition (LayoutDefinition layoutDefinition)
DeleteModuleDefinition
(ModuleDefinition) Method
DeleteModuleDefinition (ModuleDefinition moduleDefinition)
DeleteScheduledTasks
(String) Method
DeleteScheduledTasks (String assemblyFilePath)
Check for and delete scheduled tasks implemented by the specified assembly.
Parameters
| Name |
Type |
|
assemblyFilePath
|
String
|
DeleteTempFile
(String) Method
DeleteTempFile (String tempFileName)
Delete the specified file from the temp folder.
InstallExtension
(String) Method
InstallExtension (String tempFileName)
Install a package, using a temp file as input.
Parameters
| Name |
Type |
|
tempFileName
|
String
The file name of a zip file to install. The file must be stored in the Nucleus "Temp" folder. tempFileName must not contain a path.
|
ListControlPanelExtensions
(ControlPanelExtensionScopes) Method
ListControlPanelExtensions (ControlPanelExtensionScopes scope)
List installed control panel extensions.
ListPageModules
(ModuleDefinition) Method
ListPageModules (ModuleDefinition moduleDefinition)
List the modules which use the specified module definition.
SaveContainerDefinition
(ContainerDefinition) Method
SaveContainerDefinition (ContainerDefinition containerDefinition)
SaveControlPanelExtensionDefinition
(ControlPanelExtensionDefinition) Method
SaveControlPanelExtensionDefinition (ControlPanelExtensionDefinition controlPanelExtensionDefinition)
SaveLayoutDefinition
(LayoutDefinition) Method
SaveLayoutDefinition (LayoutDefinition layoutDefinition)
SaveModuleDefinition
(ModuleDefinition) Method
SaveModuleDefinition (ModuleDefinition moduleDefinition)
SaveTempFile
(Stream) Method
SaveTempFile (Stream fileStream)
Save a stream to a randomly generated filename in the temp folder.
Returns
The randomly-generated file name.
UninstallExtension
(Package) Method
UninstallExtension (Package package)
Uninstall the extension specified by package.
ValidatePackage
(Stream) Method
ValidatePackage (Stream input)
Validate a package.
Parameters
| Name |
Type |
|
input
|
System.IO.Stream
The file name of a zip file to install. The file must be stored in the Nucleus "Temp" folder. tempFileName must not contain a path.
|
ValidatePackageContent
(Stream) Method
ValidatePackageContent (Stream input)
Validate a package, skipping Nucleus version checking and "already installed" checks.
Parameters
| Name |
Type |
|
input
|
System.IO.Stream
The file name of a zip file to install. The file must be stored in the Nucleus "Temp" folder. tempFileName must not contain a path.
|