Class ModuleController
Inheritance
ModuleController
Assembly: DotNetNuke.dll
Syntax
public class ModuleController : ServiceLocator<IModuleController, ModuleController>, IModuleController
Constructors
ModuleController()
Declaration
public ModuleController()
Methods
AddModule(ModuleInfo)
Declaration
public int AddModule(ModuleInfo module)
Parameters
Returns
ClearCache(int)
Declaration
public void ClearCache(int tabId)
Parameters
Type |
Name |
Description |
int |
tabId |
|
CopyModule(ModuleInfo, TabInfo, string, bool)
Declaration
public void CopyModule(ModuleInfo sourceModule, TabInfo destinationTab, string toPaneName, bool includeSettings)
Parameters
CopyModules(TabInfo, TabInfo, bool)
Declaration
public void CopyModules(TabInfo sourceTab, TabInfo destinationTab, bool asReference)
Parameters
CopyModules(TabInfo, TabInfo, bool, bool)
Declaration
public void CopyModules(TabInfo sourceTab, TabInfo destinationTab, bool asReference, bool includeAllTabsMobules)
Parameters
CreateContentItem(ModuleInfo)
Declaration
public void CreateContentItem(ModuleInfo module)
Parameters
DeLocalizeModule(ModuleInfo)
Declaration
public int DeLocalizeModule(ModuleInfo sourceModule)
Parameters
Returns
DeleteAllModules(int, int, List<TabInfo>, bool, bool, bool)
Declaration
public void DeleteAllModules(int moduleId, int tabId, List<TabInfo> fromTabs, bool softDelete, bool includeCurrent, bool deleteBaseModule)
Parameters
DeleteModule(int)
Declaration
public void DeleteModule(int moduleId)
Parameters
Type |
Name |
Description |
int |
moduleId |
|
DeleteModuleSetting(int, string)
Declaration
public void DeleteModuleSetting(int moduleId, string settingName)
Parameters
Type |
Name |
Description |
int |
moduleId |
|
string |
settingName |
|
DeleteTabModule(int, int, bool)
Declaration
public void DeleteTabModule(int tabId, int moduleId, bool softDelete)
Parameters
Type |
Name |
Description |
int |
tabId |
|
int |
moduleId |
|
bool |
softDelete |
|
DeleteTabModuleSetting(int, string)
Declaration
public void DeleteTabModuleSetting(int tabModuleId, string settingName)
Parameters
Type |
Name |
Description |
int |
tabModuleId |
|
string |
settingName |
|
DeserializeModule(XmlNode, ModuleInfo, int, int)
Declaration
public static void DeserializeModule(XmlNode nodeModule, ModuleInfo module, int portalId, int tabId)
Parameters
DeserializeModule(XmlNode, XmlNode, int, int, PortalTemplateModuleAction, Hashtable)
Declaration
public static void DeserializeModule(XmlNode nodeModule, XmlNode nodePane, int portalId, int tabId, PortalTemplateModuleAction mergeTabs, Hashtable hModules)
Parameters
GetAllModules()
Declaration
public ArrayList GetAllModules()
Returns
GetAllTabsModules(int, bool)
Declaration
public ArrayList GetAllTabsModules(int portalID, bool allTabs)
Parameters
Type |
Name |
Description |
int |
portalID |
|
bool |
allTabs |
|
Returns
GetAllTabsModulesByModuleID(int)
Declaration
public ArrayList GetAllTabsModulesByModuleID(int moduleID)
Parameters
Type |
Name |
Description |
int |
moduleID |
|
Returns
GetFactory()
Declaration
protected override Func<IModuleController> GetFactory()
Returns
Overrides
GetMasterTabId(ModuleInfo)
Declaration
public int GetMasterTabId(ModuleInfo module)
Parameters
Returns
GetModule(int)
Declaration
public ModuleInfo GetModule(int moduleID)
Parameters
Type |
Name |
Description |
int |
moduleID |
|
Returns
GetModule(int, int)
Declaration
public ModuleInfo GetModule(int moduleID, int tabID)
Parameters
Type |
Name |
Description |
int |
moduleID |
|
int |
tabID |
|
Returns
GetModule(int, int, bool)
Declaration
public ModuleInfo GetModule(int moduleID, int tabID, bool ignoreCache)
Parameters
Type |
Name |
Description |
int |
moduleID |
|
int |
tabID |
|
bool |
ignoreCache |
|
Returns
GetModuleByCulture(int, int, int, Locale)
Declaration
public ModuleInfo GetModuleByCulture(int moduleId, int tabid, int portalId, Locale locale)
Parameters
Returns
GetModuleByDefinition(int, string)
Declaration
public ModuleInfo GetModuleByDefinition(int portalId, string definitionName)
Parameters
Type |
Name |
Description |
int |
portalId |
|
string |
definitionName |
|
Returns
GetModuleByUniqueID(Guid)
Declaration
public ModuleInfo GetModuleByUniqueID(Guid uniqueID)
Parameters
Type |
Name |
Description |
Guid |
uniqueID |
|
Returns
GetModules(int)
Declaration
public ArrayList GetModules(int portalID)
Parameters
Type |
Name |
Description |
int |
portalID |
|
Returns
GetModulesByDefinition(int, string)
Declaration
public ArrayList GetModulesByDefinition(int portalID, string definitionName)
Parameters
Type |
Name |
Description |
int |
portalID |
|
string |
definitionName |
|
Returns
GetModulesByDesktopModuleId(int)
Declaration
public ArrayList GetModulesByDesktopModuleId(int desktopModuleId)
Parameters
Type |
Name |
Description |
int |
desktopModuleId |
|
Returns
GetSearchModules(int)
Declaration
public ArrayList GetSearchModules(int portalID)
Parameters
Type |
Name |
Description |
int |
portalID |
|
Returns
GetTabModule(int)
Declaration
public ModuleInfo GetTabModule(int tabModuleID)
Parameters
Type |
Name |
Description |
int |
tabModuleID |
|
Returns
GetTabModules(int)
Declaration
public Dictionary<int, ModuleInfo> GetTabModules(int tabId)
Parameters
Type |
Name |
Description |
int |
tabId |
|
Returns
GetTabModulesByModule(int)
Declaration
public IList<ModuleInfo> GetTabModulesByModule(int moduleID)
Parameters
Type |
Name |
Description |
int |
moduleID |
|
Returns
InitialModulePermission(ModuleInfo, int, int)
Declaration
public void InitialModulePermission(ModuleInfo module, int tabId, int permissionType)
Parameters
IsSharedModule(ModuleInfo)
Declaration
public bool IsSharedModule(ModuleInfo module)
Parameters
Returns
LocalizeModule(ModuleInfo, Locale)
Declaration
public void LocalizeModule(ModuleInfo sourceModule, Locale locale)
Parameters
MoveModule(int, int, int, string)
Declaration
public void MoveModule(int moduleId, int fromTabId, int toTabId, string toPaneName)
Parameters
Type |
Name |
Description |
int |
moduleId |
|
int |
fromTabId |
|
int |
toTabId |
|
string |
toPaneName |
|
RestoreModule(ModuleInfo)
Declaration
public void RestoreModule(ModuleInfo objModule)
Parameters
SerializeModule(XmlDocument, ModuleInfo, bool)
Declaration
public static XmlNode SerializeModule(XmlDocument xmlModule, ModuleInfo module, bool includeContent)
Parameters
Returns
SynchronizeModule(int)
Declaration
public static void SynchronizeModule(int moduleID)
Parameters
Type |
Name |
Description |
int |
moduleID |
|
UpdateModule(ModuleInfo)
Declaration
public void UpdateModule(ModuleInfo module)
Parameters
UpdateModuleOrder(int, int, int, string)
Declaration
public void UpdateModuleOrder(int tabId, int moduleId, int moduleOrder, string paneName)
Parameters
Type |
Name |
Description |
int |
tabId |
|
int |
moduleId |
|
int |
moduleOrder |
|
string |
paneName |
|
UpdateModuleSetting(int, string, string)
Declaration
public void UpdateModuleSetting(int moduleId, string settingName, string settingValue)
Parameters
UpdateTabModuleOrder(int)
Declaration
public void UpdateTabModuleOrder(int tabId)
Parameters
Type |
Name |
Description |
int |
tabId |
|
UpdateTabModuleSetting(int, string, string)
Declaration
public void UpdateTabModuleSetting(int tabModuleId, string settingName, string settingValue)
Parameters
Type |
Name |
Description |
int |
tabModuleId |
|
string |
settingName |
|
string |
settingValue |
|
UpdateTranslationStatus(ModuleInfo, bool)
Declaration
public void UpdateTranslationStatus(ModuleInfo localizedModule, bool isTranslated)
Parameters
Implements
Extension Methods