Interface IFolderMappingsConfigController
Namespace: DotNetNuke.Services.FileSystem.FolderMappings
Assembly: DotNetNuke.dll
Syntax
public interface IFolderMappingsConfigController
Properties
| Improve this Doc View SourceConfigNode
Gets root node in folderMappings config file.
Declaration
string ConfigNode { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
FolderTypes
Gets all folder types read from folderMappings config file.
Declaration
IList<FolderTypeConfig> FolderTypes { get; }
Property Value
| Type | Description |
|---|---|
| IList<FolderTypeConfig> |
Methods
| Improve this Doc View SourceGetFolderMapping(Int32, String)
Gets the folderMapping configured for a specific folder.
Declaration
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
void LoadConfig()
SaveConfig(String)
Save data in folderMappings config file.
Declaration
void SaveConfig(string folderMappinsSettings)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | folderMappinsSettings |