Interface IModulesController
Assembly: Dnn.PersonaBar.Library.dll
Syntax
public interface IModulesController
Methods
|
Improve this Doc
View Source
AddNewModule(PortalSettings, String, Int32, Int32, String, Int32, Int32, String, out KeyValuePair<HttpStatusCode, String>)
Declaration
List<ModuleInfo> AddNewModule(PortalSettings portalSettings, string title, int desktopModuleId, int tabId, string paneName, int position, int permissionType, string align, out KeyValuePair<HttpStatusCode, string> message)
Parameters
Type |
Name |
Description |
PortalSettings |
portalSettings |
|
System.String |
title |
|
System.Int32 |
desktopModuleId |
|
System.Int32 |
tabId |
|
System.String |
paneName |
|
System.Int32 |
position |
|
System.Int32 |
permissionType |
|
System.String |
align |
|
KeyValuePair<HttpStatusCode, System.String> |
message |
|
Returns
|
Improve this Doc
View Source
CopyModule(PortalSettings, Int32, Int32, Int32, String, Boolean, out KeyValuePair<HttpStatusCode, String>, Boolean)
Declaration
ModuleInfo CopyModule(PortalSettings portalSettings, int moduleId, int sourcePageId, int targetPageId, string pane, bool includeSettings, out KeyValuePair<HttpStatusCode, string> message, bool moveBahaviour = false)
Parameters
Type |
Name |
Description |
PortalSettings |
portalSettings |
|
System.Int32 |
moduleId |
|
System.Int32 |
sourcePageId |
|
System.Int32 |
targetPageId |
|
System.String |
pane |
|
System.Boolean |
includeSettings |
|
KeyValuePair<HttpStatusCode, System.String> |
message |
|
System.Boolean |
moveBahaviour |
|
Returns
|
Improve this Doc
View Source
DeleteModule(PortalSettings, Int32, Int32, out KeyValuePair<HttpStatusCode, String>)
Declaration
void DeleteModule(PortalSettings portalSettings, int moduleId, int pageId, out KeyValuePair<HttpStatusCode, string> message)
Parameters
Type |
Name |
Description |
PortalSettings |
portalSettings |
|
System.Int32 |
moduleId |
|
System.Int32 |
pageId |
|
KeyValuePair<HttpStatusCode, System.String> |
message |
|
|
Improve this Doc
View Source
GetModule(PortalSettings, Int32, Nullable<Int32>, out KeyValuePair<HttpStatusCode, String>)
Declaration
ModuleInfo GetModule(PortalSettings portalSettings, int moduleId, int? pageId, out KeyValuePair<HttpStatusCode, string> message)
Parameters
Type |
Name |
Description |
PortalSettings |
portalSettings |
|
System.Int32 |
moduleId |
|
System.Nullable<System.Int32> |
pageId |
|
KeyValuePair<HttpStatusCode, System.String> |
message |
|
Returns
|
Improve this Doc
View Source
GetModules(PortalSettings, Nullable<Boolean>, out Int32, String, String, Nullable<Int32>, Int32, Int32)
Declaration
IEnumerable<ModuleInfo> GetModules(PortalSettings portalSettings, bool? deleted, out int total, string moduleName = null, string moduleTitle = null, int? pageId = null, int pageIndex = 0, int max = 10)
Parameters
Type |
Name |
Description |
PortalSettings |
portalSettings |
|
System.Nullable<System.Boolean> |
deleted |
|
System.Int32 |
total |
|
System.String |
moduleName |
|
System.String |
moduleTitle |
|
System.Nullable<System.Int32> |
pageId |
|
System.Int32 |
pageIndex |
|
System.Int32 |
max |
|
Returns
Extension Methods