Class ModulesController
Inheritance
System.Object
ModulesController
Assembly: Dnn.PersonaBar.Library.dll
Syntax
public class ModulesController : ServiceLocator<IModulesController, ModulesController>, IModulesController
Constructors
|
Improve this Doc
View Source
ModulesController()
Declaration
public ModulesController()
|
Improve this Doc
View Source
ModulesController(IContentVerifier)
Declaration
public ModulesController(IContentVerifier contentVerifier)
Parameters
Methods
|
Improve this Doc
View Source
AddNewModule(PortalSettings, String, Int32, Int32, String, Int32, Int32, String, out KeyValuePair<HttpStatusCode, String>)
Declaration
public 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
public 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
public 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
GetFactory()
Gets the service locator factory.
Declaration
protected override Func<IModulesController> GetFactory()
Returns
Overrides
DotNetNuke.Framework.ServiceLocator<Dnn.PersonaBar.Library.Controllers.IModulesController, Dnn.PersonaBar.Library.Controllers.ModulesController>.GetFactory()
|
Improve this Doc
View Source
GetModule(PortalSettings, Int32, Nullable<Int32>, out KeyValuePair<HttpStatusCode, String>)
Declaration
public 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
public IEnumerable<ModuleInfo> GetModules(PortalSettings portalSettings, bool? deleted, out int total, string moduleName = null, string moduleTitle = null, int? pageId = null, int pageIndex = 0, int pageSize = 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 |
pageSize |
|
Returns
Implements
Extension Methods