Class DatabaseFolderProvider
Inheritance
DatabaseFolderProvider
Assembly: DotNetNuke.dll
Syntax
public class DatabaseFolderProvider : SecureFolderProvider
Constructors
DatabaseFolderProvider()
Declaration
public DatabaseFolderProvider()
Methods
AddFile(IFolderInfo, string, Stream)
Declaration
public override void AddFile(IFolderInfo folder, string fileName, Stream content)
Parameters
Overrides
ClearFileContent(int)
Declaration
public static void ClearFileContent(int fileId)
Parameters
Type |
Name |
Description |
int |
fileId |
|
CopyFile(string, string, string, FolderMappingInfo)
Declaration
public override void CopyFile(string folderPath, string fileName, string newFolderPath, FolderMappingInfo folderMapping)
Parameters
Overrides
DeleteFile(IFileInfo)
Declaration
public override void DeleteFile(IFileInfo file)
Parameters
Overrides
FileExists(IFolderInfo, string)
Declaration
public override bool FileExists(IFolderInfo folder, string fileName)
Parameters
Returns
Overrides
FolderExists(string, FolderMappingInfo)
Declaration
public override bool FolderExists(string folderPath, FolderMappingInfo folderMapping)
Parameters
Returns
Overrides
GetFileAttributes(IFileInfo)
Declaration
public override FileAttributes? GetFileAttributes(IFileInfo file)
Parameters
Returns
Overrides
GetFileSize(IFileInfo)
Declaration
public override long GetFileSize(IFileInfo file)
Parameters
Returns
Overrides
GetFileStream(IFileInfo)
Declaration
public override Stream GetFileStream(IFileInfo file)
Parameters
Returns
Overrides
GetFileStream(IFolderInfo, IFileInfo, int)
Declaration
public override Stream GetFileStream(IFolderInfo folder, IFileInfo file, int version)
Parameters
Returns
Overrides
GetFileStream(IFolderInfo, string)
Declaration
public override Stream GetFileStream(IFolderInfo folder, string fileName)
Parameters
Returns
Overrides
GetFiles(IFolderInfo)
Declaration
public override string[] GetFiles(IFolderInfo folder)
Parameters
Returns
Overrides
GetFolderProviderIconPath()
Declaration
public override string GetFolderProviderIconPath()
Returns
Overrides
GetLastModificationTime(IFileInfo)
Declaration
public override DateTime GetLastModificationTime(IFileInfo file)
Parameters
Returns
Overrides
GetSubFolders(string, FolderMappingInfo)
Declaration
public override IEnumerable<string> GetSubFolders(string folderPath, FolderMappingInfo folderMapping)
Parameters
Returns
Overrides
IsInSync(IFileInfo)
Declaration
public override bool IsInSync(IFileInfo file)
Parameters
Returns
Overrides
MoveFile(IFileInfo, IFolderInfo)
Declaration
public override void MoveFile(IFileInfo file, IFolderInfo destinationFolder)
Parameters
Overrides
RenameFile(IFileInfo, string)
Declaration
public override void RenameFile(IFileInfo file, string newFileName)
Parameters
Overrides
RenameFolder(IFolderInfo, string)
Declaration
public override void RenameFolder(IFolderInfo folder, string newFolderName)
Parameters
Overrides
SetFileAttributes(IFileInfo, FileAttributes)
Declaration
public override void SetFileAttributes(IFileInfo file, FileAttributes fileAttributes)
Parameters
Overrides
SupportsFileAttributes()
Declaration
public override bool SupportsFileAttributes()
Returns
Overrides
UpdateFile(IFileInfo, Stream)
Declaration
public override void UpdateFile(IFileInfo file, Stream content)
Parameters
Overrides
UpdateFile(IFolderInfo, string, Stream)
Declaration
public override void UpdateFile(IFolderInfo folder, string fileName, Stream content)
Parameters
Overrides
UpdateFileContent(int, byte[])
Declaration
public static void UpdateFileContent(int fileId, byte[] content)
Parameters
Type |
Name |
Description |
int |
fileId |
|
byte[] |
content |
|
UpdateFileContent(int, Stream)
Declaration
public static void UpdateFileContent(int fileId, Stream content)
Parameters
Type |
Name |
Description |
int |
fileId |
|
Stream |
content |
|
Extension Methods