The IModuleController type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AddModule |
add a module to a page
| |
| ClearCache |
Clears the module cache based on the page (tabid)
| |
| CopyModule |
Copies the module to a new page.
| |
| CopyModules(TabInfo, TabInfo, Boolean) |
Copies all modules in source page to a new page.
| |
| CopyModules(TabInfo, TabInfo, Boolean, Boolean) |
Copies all modules in source page to a new page.
| |
| CreateContentItem |
This method provides two functions:
1. Check and ensure that the "Module" content item type exists - if not create it
2. add a content item
| |
| DeleteAllModules |
DeleteAllModules deletes all instances of a Module (from a collection). This overload
soft deletes the instances
| |
| DeleteModule |
Delete a module instance permanently from the database
| |
| DeleteModuleSetting |
Delete a Setting of a module instance
| |
| DeleteTabModule |
Delete a module reference permanently from the database.
if there are no other references, the module instance is deleted as well
| |
| DeleteTabModuleSetting |
Delete a specific setting of a tabmodule reference
| |
| DeLocalizeModule |
Des the localize module.
| |
| GetAllModules |
get info of all modules in any portal of the installation
| |
| GetAllTabsModules |
get Module objects of a portal, either only those, to be placed on all tabs or not
| |
| GetAllTabsModulesByModuleID |
get TabModule objects that are linked to a particular ModuleID
| |
| GetMasterTabId |
Get the Tab ID corresponding to the initial Tab where the module was added
| |
| GetModule |
Gets the module.
| |
| GetModuleByCulture |
get Module by specific locale
| |
| GetModuleByDefinition |
Get ModuleInfo object of first module instance with a given name of the module definition
| |
| GetModuleByUniqueID |
get a Module object
| |
| GetModules |
get all Module objects of a portal
| |
| GetModulesByDefinition |
Gets the modules by definition.
| |
| GetModulesByDesktopModuleId |
Gets the modules by DesktopModuleId.
| |
| GetSearchModules |
For a portal get a list of all active module and tabmodule references that are Searchable
either by inheriting from ModuleSearchBase or implementing the older ISearchable interface.
| |
| GetTabModule |
get a Module object
| |
| GetTabModules |
Get all Module references on a tab
| |
| GetTabModulesByModule |
Get a list of all TabModule references of a module instance
| |
| InitialModulePermission | ||
| IsSharedModule |
Check if a ModuleInfo belongs to the referenced Tab or not
| |
| LocalizeModule | ||
| MoveModule |
MoveModule moes a Module from one Tab to another including all the
TabModule settings
| |
| RestoreModule |
Restores the module.
| |
| UpdateModule |
Update module settings and permissions in database from ModuleInfo
| |
| UpdateModuleOrder |
set/change the module position within a pane on a page
| |
| UpdateModuleSetting |
Adds or updates a module's setting value
| |
| UpdateTabModuleOrder |
set/change all module's positions within a page
| |
| UpdateTabModuleSetting |
Adds or updates a tab module's setting value
| |
| UpdateTranslationStatus |
Updates the translation status.
|