Show / Hide Table of Contents

Class BaseRemoteStorageProvider

Inheritance
object
BaseRemoteStorageProvider
AzureFolderProvider
Namespace: DotNetNuke.Providers.FolderProviders.Components
Assembly: DotNetNuke.Providers.FolderProviders.dll
Syntax
public abstract class BaseRemoteStorageProvider : FolderProvider

Constructors

BaseRemoteStorageProvider()

Declaration
protected BaseRemoteStorageProvider()

Properties

FileNotFoundMessage

Declaration
protected virtual string FileNotFoundMessage { get; }
Property Value
Type Description
string

ListObjectsCacheKey

Declaration
protected virtual string ListObjectsCacheKey { get; }
Property Value
Type Description
string

ListObjectsCacheTimeout

Declaration
protected virtual int ListObjectsCacheTimeout { get; }
Property Value
Type Description
int

ObjectCacheKey

Declaration
protected virtual string ObjectCacheKey { get; }
Property Value
Type Description
string

ObjectCacheTimeout

Declaration
protected virtual int ObjectCacheTimeout { get; }
Property Value
Type Description
int

SupportsMappedPaths

Declaration
public override bool SupportsMappedPaths { get; }
Property Value
Type Description
bool

SupportsMoveFile

Declaration
public override bool SupportsMoveFile { get; }
Property Value
Type Description
bool

SupportsMoveFolder

Declaration
public override bool SupportsMoveFolder { get; }
Property Value
Type Description
bool

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

AddFolder(string, FolderMappingInfo)

Declaration
public override void AddFolder(string folderPath, FolderMappingInfo folderMapping)
Parameters
Type Name Description
string folderPath
FolderMappingInfo folderMapping

ClearCache(int)

Declaration
public virtual void ClearCache(int folderMappingId)
Parameters
Type Name Description
int folderMappingId

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

CopyFileInternal(FolderMappingInfo, string, string)

Declaration
protected abstract void CopyFileInternal(FolderMappingInfo folderMapping, string sourceUri, string newUri)
Parameters
Type Name Description
FolderMappingInfo folderMapping
string sourceUri
string newUri

DeleteFile(IFileInfo)

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

DeleteFileInternal(FolderMappingInfo, string)

Declaration
protected abstract void DeleteFileInternal(FolderMappingInfo folderMapping, string uri)
Parameters
Type Name Description
FolderMappingInfo folderMapping
string uri

DeleteFolder(IFolderInfo)

Declaration
public override void DeleteFolder(IFolderInfo folder)
Parameters
Type Name Description
IFolderInfo folder

DeleteFolderInternal(FolderMappingInfo, IFolderInfo)

Declaration
protected abstract void DeleteFolderInternal(FolderMappingInfo folderMapping, IFolderInfo folder)
Parameters
Type Name Description
FolderMappingInfo folderMapping
IFolderInfo folder

FileExists(IFolderInfo, string)

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

FolderExists(string, FolderMappingInfo)

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

GetBooleanSetting(FolderMappingInfo, string)

Declaration
protected static bool GetBooleanSetting(FolderMappingInfo folderMapping, string settingName)
Parameters
Type Name Description
FolderMappingInfo folderMapping
string settingName
Returns
Type Description
bool

GetFileAttributes(IFileInfo)

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

GetFileSize(IFileInfo)

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

GetFileStream(IFileInfo)

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

GetFileStream(IFolderInfo, string)

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

GetFileStreamInternal(FolderMappingInfo, string)

Declaration
protected abstract Stream GetFileStreamInternal(FolderMappingInfo folderMapping, string uri)
Parameters
Type Name Description
FolderMappingInfo folderMapping
string uri
Returns
Type Description
Stream

GetFiles(IFolderInfo)

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

GetHashCode(IFileInfo)

Declaration
public override string GetHashCode(IFileInfo file)
Parameters
Type Name Description
IFileInfo file
Returns
Type Description
string

GetHashCode(IFileInfo, Stream)

Declaration
public override string GetHashCode(IFileInfo file, Stream fileContent)
Parameters
Type Name Description
IFileInfo file
Stream fileContent
Returns
Type Description
string

GetIntegerSetting(FolderMappingInfo, string, int)

Declaration
protected static int GetIntegerSetting(FolderMappingInfo folderMapping, string settingName, int defaultValue)
Parameters
Type Name Description
FolderMappingInfo folderMapping
string settingName
int defaultValue
Returns
Type Description
int

GetLastModificationTime(IFileInfo)

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

GetObjectList(FolderMappingInfo)

Declaration
protected abstract IList<IRemoteStorageItem> GetObjectList(FolderMappingInfo folderMapping)
Parameters
Type Name Description
FolderMappingInfo folderMapping
Returns
Type Description
IList<IRemoteStorageItem>

GetObjectList(FolderMappingInfo, string)

Declaration
protected virtual IList<IRemoteStorageItem> GetObjectList(FolderMappingInfo folderMapping, string path)
Parameters
Type Name Description
FolderMappingInfo folderMapping
string path
Returns
Type Description
IList<IRemoteStorageItem>

GetSetting(FolderMappingInfo, string)

Declaration
protected static string GetSetting(FolderMappingInfo folderMapping, string settingName)
Parameters
Type Name Description
FolderMappingInfo folderMapping
string settingName
Returns
Type Description
string

GetStorageItem(FolderMappingInfo, string)

Declaration
protected virtual IRemoteStorageItem GetStorageItem(FolderMappingInfo folderMapping, string key)
Parameters
Type Name Description
FolderMappingInfo folderMapping
string key
Returns
Type Description
IRemoteStorageItem

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>

IsInSync(IFileInfo)

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

MoveFileInternal(FolderMappingInfo, string, string)

Declaration
protected abstract void MoveFileInternal(FolderMappingInfo folderMapping, string sourceUri, string newUri)
Parameters
Type Name Description
FolderMappingInfo folderMapping
string sourceUri
string newUri

MoveFolder(string, string, FolderMappingInfo)

Declaration
public override void MoveFolder(string folderPath, string newFolderPath, FolderMappingInfo folderMapping)
Parameters
Type Name Description
string folderPath
string newFolderPath
FolderMappingInfo folderMapping

MoveFolderInternal(FolderMappingInfo, string, string)

Declaration
protected abstract void MoveFolderInternal(FolderMappingInfo folderMapping, string sourceUri, string newUri)
Parameters
Type Name Description
FolderMappingInfo folderMapping
string sourceUri
string newUri

RenameFile(IFileInfo, string)

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

RenameFolder(IFolderInfo, string)

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

SetFileAttributes(IFileInfo, FileAttributes)

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

SupportsFileAttributes()

Declaration
public override bool SupportsFileAttributes()
Returns
Type Description
bool

UpdateFile(IFileInfo, Stream)

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

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

UpdateFileInternal(Stream, FolderMappingInfo, string)

Declaration
protected abstract void UpdateFileInternal(Stream stream, FolderMappingInfo folderMapping, string uri)
Parameters
Type Name Description
Stream stream
FolderMappingInfo folderMapping
string uri

Extension Methods

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