Class DesktopModuleController
Inheritance
DesktopModuleController
Assembly: DotNetNuke.dll
Syntax
public class DesktopModuleController
Constructors
DesktopModuleController()
Declaration
public DesktopModuleController()
Methods
AddDesktopModuleToPortal(int, DesktopModuleInfo, DesktopModulePermissionCollection, bool)
Declaration
public static int AddDesktopModuleToPortal(int portalID, DesktopModuleInfo desktopModule, DesktopModulePermissionCollection permissions, bool clearCache)
Parameters
Returns
AddDesktopModuleToPortal(int, int, bool, bool)
Declaration
public static int AddDesktopModuleToPortal(int portalId, int desktopModuleId, bool addPermissions, bool clearCache)
Parameters
Type |
Name |
Description |
int |
portalId |
|
int |
desktopModuleId |
|
bool |
addPermissions |
|
bool |
clearCache |
|
Returns
AddDesktopModuleToPortals(int)
Declaration
public static void AddDesktopModuleToPortals(int desktopModuleId)
Parameters
Type |
Name |
Description |
int |
desktopModuleId |
|
AddDesktopModulesToPortal(int)
Declaration
public static void AddDesktopModulesToPortal(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
AddModuleCategory(string)
Declaration
public static void AddModuleCategory(string category)
Parameters
Type |
Name |
Description |
string |
category |
|
DeleteDesktopModule(DesktopModuleInfo)
Declaration
public void DeleteDesktopModule(DesktopModuleInfo objDesktopModule)
Parameters
DeleteDesktopModule(int)
Declaration
public void DeleteDesktopModule(int desktopModuleID)
Parameters
Type |
Name |
Description |
int |
desktopModuleID |
|
DeleteDesktopModule(string)
Declaration
public static void DeleteDesktopModule(string moduleName)
Parameters
Type |
Name |
Description |
string |
moduleName |
|
GetDesktopModule(int, int)
Declaration
public static DesktopModuleInfo GetDesktopModule(int desktopModuleID, int portalID)
Parameters
Type |
Name |
Description |
int |
desktopModuleID |
|
int |
portalID |
|
Returns
GetDesktopModuleByFriendlyName(string)
Declaration
public static DesktopModuleInfo GetDesktopModuleByFriendlyName(string friendlyName)
Parameters
Type |
Name |
Description |
string |
friendlyName |
|
Returns
GetDesktopModuleByModuleName(string, int)
Declaration
public static DesktopModuleInfo GetDesktopModuleByModuleName(string moduleName, int portalID)
Parameters
Type |
Name |
Description |
string |
moduleName |
|
int |
portalID |
|
Returns
GetDesktopModuleByPackageID(int)
Declaration
public static DesktopModuleInfo GetDesktopModuleByPackageID(int packageID)
Parameters
Type |
Name |
Description |
int |
packageID |
|
Returns
GetDesktopModules(int)
Declaration
public static Dictionary<int, DesktopModuleInfo> GetDesktopModules(int portalID)
Parameters
Type |
Name |
Description |
int |
portalID |
|
Returns
GetPortalDesktopModule(int, int)
Declaration
public static PortalDesktopModuleInfo GetPortalDesktopModule(int portalId, int desktopModuleId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
int |
desktopModuleId |
|
Returns
GetPortalDesktopModules(int)
Declaration
public static SortedList<string, PortalDesktopModuleInfo> GetPortalDesktopModules(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
Returns
GetPortalDesktopModulesByDesktopModuleID(int)
Declaration
public static Dictionary<int, PortalDesktopModuleInfo> GetPortalDesktopModulesByDesktopModuleID(int desktopModuleId)
Parameters
Type |
Name |
Description |
int |
desktopModuleId |
|
Returns
GetPortalDesktopModulesByPortalID(int)
Declaration
public static Dictionary<int, PortalDesktopModuleInfo> GetPortalDesktopModulesByPortalID(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
Returns
RemoveDesktopModuleFromPortal(int, int, bool)
Declaration
public static void RemoveDesktopModuleFromPortal(int portalId, int desktopModuleId, bool clearCache)
Parameters
Type |
Name |
Description |
int |
portalId |
|
int |
desktopModuleId |
|
bool |
clearCache |
|
RemoveDesktopModuleFromPortals(int)
Declaration
public static void RemoveDesktopModuleFromPortals(int desktopModuleId)
Parameters
Type |
Name |
Description |
int |
desktopModuleId |
|
RemoveDesktopModulesFromPortal(int)
Declaration
public static void RemoveDesktopModulesFromPortal(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
SaveDesktopModule(DesktopModuleInfo, bool, bool)
Declaration
public static int SaveDesktopModule(DesktopModuleInfo desktopModule, bool saveChildren, bool clearCache)
Parameters
Returns
SerializePortalDesktopModules(XmlWriter, int)
Declaration
public static void SerializePortalDesktopModules(XmlWriter writer, int portalId)
Parameters
UpdateModuleInterfaces(ref DesktopModuleInfo)
Declaration
public void UpdateModuleInterfaces(ref DesktopModuleInfo desktopModuleInfo)
Parameters
UpdateModuleInterfaces(ref DesktopModuleInfo, string, bool)
Declaration
public void UpdateModuleInterfaces(ref DesktopModuleInfo desktopModuleInfo, string sender, bool forceAppRestart)
Parameters
Extension Methods