Show / Hide Table of Contents

Class DatabaseFolderProvider

Inheritance
object
FolderProvider
StandardFolderProvider
SecureFolderProvider
DatabaseFolderProvider
Inherited Members
SecureFolderProvider.GetFileUrl(IFileInfo)
SecureFolderProvider.GetActualPath(FolderMappingInfo, string, string)
SecureFolderProvider.GetActualPath(IFileInfo)
SecureFolderProvider.GetActualPath(IFolderInfo, string)
SecureFolderProvider.ProtectedExtension
SecureFolderProvider.IsStorageSecure
StandardFolderProvider.AddFolder(string, FolderMappingInfo)
StandardFolderProvider.DeleteFolder(IFolderInfo)
StandardFolderProvider.MoveFolder(string, string, FolderMappingInfo)
StandardFolderProvider.GetActualPath(FolderMappingInfo, string)
StandardFolderProvider.GetActualPath(IFolderInfo)
StandardFolderProvider.GetFileStreamInternal(string)
StandardFolderProvider.GetRelativePath(FolderMappingInfo, string)
StandardFolderProvider.RequiresNetworkConnectivity
StandardFolderProvider.SupportsMoveFile
StandardFolderProvider.SupportsMoveFolder
FolderProvider.GetProviderList()
FolderProvider.Instance(string)
FolderProvider.AddFolder(string, FolderMappingInfo, string)
FolderProvider.GetSettingsControlVirtualPath()
FolderProvider.GetEncryptedSetting(Hashtable, string)
FolderProvider.EncryptValue(string)
FolderProvider.GetHashCode(IFileInfo)
FolderProvider.GetHashCode(IFileInfo, Stream)
FolderProvider.SupportsMappedPaths
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Services.FileSystem
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
Type Name Description
IFolderInfo folder
string fileName
Stream content
Overrides
StandardFolderProvider.AddFile(IFolderInfo, string, Stream)

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
Type Name Description
string folderPath
string fileName
string newFolderPath
FolderMappingInfo folderMapping
Overrides
StandardFolderProvider.CopyFile(string, string, string, FolderMappingInfo)

DeleteFile(IFileInfo)

Declaration
public override void DeleteFile(IFileInfo file)
Parameters
Type Name Description
IFileInfo file
Overrides
StandardFolderProvider.DeleteFile(IFileInfo)

FileExists(IFolderInfo, string)

Declaration
public override bool FileExists(IFolderInfo folder, string fileName)
Parameters
Type Name Description
IFolderInfo folder
string fileName
Returns
Type Description
bool
Overrides
StandardFolderProvider.FileExists(IFolderInfo, string)

FolderExists(string, FolderMappingInfo)

Declaration
public override bool FolderExists(string folderPath, FolderMappingInfo folderMapping)
Parameters
Type Name Description
string folderPath
FolderMappingInfo folderMapping
Returns
Type Description
bool
Overrides
StandardFolderProvider.FolderExists(string, FolderMappingInfo)

GetFileAttributes(IFileInfo)

Declaration
public override FileAttributes? GetFileAttributes(IFileInfo file)
Parameters
Type Name Description
IFileInfo file
Returns
Type Description
FileAttributes?
Overrides
StandardFolderProvider.GetFileAttributes(IFileInfo)

GetFileSize(IFileInfo)

Declaration
public override long GetFileSize(IFileInfo file)
Parameters
Type Name Description
IFileInfo file
Returns
Type Description
long
Overrides
StandardFolderProvider.GetFileSize(IFileInfo)

GetFileStream(IFileInfo)

Declaration
public override Stream GetFileStream(IFileInfo file)
Parameters
Type Name Description
IFileInfo file
Returns
Type Description
Stream
Overrides
StandardFolderProvider.GetFileStream(IFileInfo)

GetFileStream(IFolderInfo, IFileInfo, int)

Declaration
public override Stream GetFileStream(IFolderInfo folder, IFileInfo file, int version)
Parameters
Type Name Description
IFolderInfo folder
IFileInfo file
int version
Returns
Type Description
Stream
Overrides
FolderProvider.GetFileStream(IFolderInfo, IFileInfo, int)

GetFileStream(IFolderInfo, string)

Declaration
public override Stream GetFileStream(IFolderInfo folder, string fileName)
Parameters
Type Name Description
IFolderInfo folder
string fileName
Returns
Type Description
Stream
Overrides
StandardFolderProvider.GetFileStream(IFolderInfo, string)

GetFiles(IFolderInfo)

Declaration
public override string[] GetFiles(IFolderInfo folder)
Parameters
Type Name Description
IFolderInfo folder
Returns
Type Description
string[]
Overrides
SecureFolderProvider.GetFiles(IFolderInfo)

GetFolderProviderIconPath()

Declaration
public override string GetFolderProviderIconPath()
Returns
Type Description
string
Overrides
SecureFolderProvider.GetFolderProviderIconPath()

GetLastModificationTime(IFileInfo)

Declaration
public override DateTime GetLastModificationTime(IFileInfo file)
Parameters
Type Name Description
IFileInfo file
Returns
Type Description
DateTime
Overrides
StandardFolderProvider.GetLastModificationTime(IFileInfo)

GetSubFolders(string, FolderMappingInfo)

Declaration
public override IEnumerable<string> GetSubFolders(string folderPath, FolderMappingInfo folderMapping)
Parameters
Type Name Description
string folderPath
FolderMappingInfo folderMapping
Returns
Type Description
IEnumerable<string>
Overrides
StandardFolderProvider.GetSubFolders(string, FolderMappingInfo)

IsInSync(IFileInfo)

Declaration
public override bool IsInSync(IFileInfo file)
Parameters
Type Name Description
IFileInfo file
Returns
Type Description
bool
Overrides
StandardFolderProvider.IsInSync(IFileInfo)

MoveFile(IFileInfo, IFolderInfo)

Declaration
public override void MoveFile(IFileInfo file, IFolderInfo destinationFolder)
Parameters
Type Name Description
IFileInfo file
IFolderInfo destinationFolder
Overrides
StandardFolderProvider.MoveFile(IFileInfo, IFolderInfo)

RenameFile(IFileInfo, string)

Declaration
public override void RenameFile(IFileInfo file, string newFileName)
Parameters
Type Name Description
IFileInfo file
string newFileName
Overrides
StandardFolderProvider.RenameFile(IFileInfo, string)

RenameFolder(IFolderInfo, string)

Declaration
public override void RenameFolder(IFolderInfo folder, string newFolderName)
Parameters
Type Name Description
IFolderInfo folder
string newFolderName
Overrides
StandardFolderProvider.RenameFolder(IFolderInfo, string)

SetFileAttributes(IFileInfo, FileAttributes)

Declaration
public override void SetFileAttributes(IFileInfo file, FileAttributes fileAttributes)
Parameters
Type Name Description
IFileInfo file
FileAttributes fileAttributes
Overrides
StandardFolderProvider.SetFileAttributes(IFileInfo, FileAttributes)

SupportsFileAttributes()

Declaration
public override bool SupportsFileAttributes()
Returns
Type Description
bool
Overrides
StandardFolderProvider.SupportsFileAttributes()

UpdateFile(IFileInfo, Stream)

Declaration
public override void UpdateFile(IFileInfo file, Stream content)
Parameters
Type Name Description
IFileInfo file
Stream content
Overrides
StandardFolderProvider.UpdateFile(IFileInfo, Stream)

UpdateFile(IFolderInfo, string, Stream)

Declaration
public override void UpdateFile(IFolderInfo folder, string fileName, Stream content)
Parameters
Type Name Description
IFolderInfo folder
string fileName
Stream content
Overrides
StandardFolderProvider.UpdateFile(IFolderInfo, string, Stream)

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

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS