Class FolderMappingsConfigController
Inheritance
System.Object
FolderMappingsConfigController
Implements
Inherited Members
Namespace: DotNetNuke.Services.FileSystem
Assembly: DotNetNuke.dll
Syntax
public class FolderMappingsConfigController : ServiceLocator<IFolderMappingsConfigController, FolderMappingsConfigController>, IFolderMappingsConfigController
Constructors
| Improve this Doc View SourceFolderMappingsConfigController()
Initializes a new instance of the FolderMappingsConfigController class.
Declaration
public FolderMappingsConfigController()
Properties
| Improve this Doc View SourceConfigNode
Gets root node in folderMappings config file.
Declaration
public string ConfigNode { get; }
Property Value
Type | Description |
---|---|
System.String |
FolderTypes
Gets all folder types read from folderMappings config file.
Declaration
public IList<FolderTypeConfig> FolderTypes { get; }
Property Value
Type | Description |
---|---|
IList<FolderTypeConfig> |
Methods
| Improve this Doc View SourceGetFactory()
Gets the service locator factory.
Declaration
protected override Func<IFolderMappingsConfigController> GetFactory()
Returns
Type | Description |
---|---|
Func<IFolderMappingsConfigController> | A factory function. |
Overrides
DotNetNuke.Framework.ServiceLocator<DotNetNuke.Services.FileSystem.FolderMappings.IFolderMappingsConfigController, DotNetNuke.Services.FileSystem.FolderMappingsConfigController>.GetFactory()
|
Improve this Doc
View Source
GetFolderMapping(Int32, String)
Gets the folderMapping configured for a specific folder.
Declaration
public FolderMappingInfo GetFolderMapping(int portalId, string folderPath)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalId | Portal Id where the folder is. |
System.String | folderPath | Specific folder path. |
Returns
Type | Description |
---|---|
FolderMappingInfo | A FolderMappingInfo instance or null. |
LoadConfig()
Load data from folderMappings config file.
Declaration
public void LoadConfig()
SaveConfig(String)
Save data in folderMappings config file.
Declaration
public void SaveConfig(string folderMappinsSettings)
Parameters
Type | Name | Description |
---|---|---|
System.String | folderMappinsSettings |