C# Класс GreenQloud.Repository.RemoteRepositoryController

Наследование: AbstractController, IRemoteRepositoryController
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateObjectInstance ( ListEntry s3item ) : RepositoryItem
Delete ( RepositoryItem item ) : void
Download ( RepositoryItem item, bool recursive = false ) : void
Exists ( RepositoryItem item ) : bool
Exists ( string key ) : bool
GetContentLength ( string key ) : long
GetItems ( string prefix ) : List
GetMetadata ( string key, bool recoveryIfFolderBroken = false ) : GetObjectResponse
GetRootFoldersS3Objects ( ) : IEnumerable
Move ( RepositoryItem item ) : void
RemoteETAG ( RepositoryItem item ) : string
RemoteRepositoryController ( LocalRepository repo ) : System
Upload ( RepositoryItem item ) : void

Защищенные методы

Метод Описание
AddStatistics ( string key, TransferStatistic statistic ) : void
GetInstancesOfItems ( IEnumerable s3items ) : List
UpdateStatistics ( string key, S3ProgressEventArgs args ) : void

Приватные методы

Метод Описание
DeleteEntry ( ListEntry entry ) : void
DeleteFolder ( string key ) : void
DownloadEntry ( IEnumerable entries, RepositoryItem father ) : void
GenericCopy ( string sourceKey, string destinationKey ) : void
GenericCreateFolder ( string key ) : void
GenericDelete ( string key, bool keyAsPrefix = false ) : void
GenericDownload ( string key, string localAbsolutePath ) : void
GenericUpload ( string key, string filepath ) : void
GetS3Objects ( string prefix ) : IEnumerable
Key ( ListEntry s3item ) : string
MoveEntry ( IEnumerable entries, RepositoryItem father ) : void
UploadEntry ( IEnumerable entries, RepositoryItem father ) : void

Описание методов

AddStatistics() защищенный Метод

protected AddStatistics ( string key, TransferStatistic statistic ) : void
key string
statistic TransferStatistic
Результат void

CreateObjectInstance() публичный Метод

public CreateObjectInstance ( ListEntry s3item ) : RepositoryItem
s3item LitS3.ListEntry
Результат GreenQloud.Model.RepositoryItem

Delete() публичный Метод

public Delete ( RepositoryItem item ) : void
item GreenQloud.Model.RepositoryItem
Результат void

Download() публичный Метод

public Download ( RepositoryItem item, bool recursive = false ) : void
item GreenQloud.Model.RepositoryItem
recursive bool
Результат void

Exists() публичный Метод

public Exists ( RepositoryItem item ) : bool
item GreenQloud.Model.RepositoryItem
Результат bool

Exists() публичный Метод

public Exists ( string key ) : bool
key string
Результат bool

GetContentLength() публичный Метод

public GetContentLength ( string key ) : long
key string
Результат long

GetInstancesOfItems() защищенный Метод

protected GetInstancesOfItems ( IEnumerable s3items ) : List
s3items IEnumerable
Результат List

GetItems() публичный Метод

public GetItems ( string prefix ) : List
prefix string
Результат List

GetMetadata() публичный Метод

public GetMetadata ( string key, bool recoveryIfFolderBroken = false ) : GetObjectResponse
key string
recoveryIfFolderBroken bool
Результат GetObjectResponse

GetRootFoldersS3Objects() публичный Метод

public GetRootFoldersS3Objects ( ) : IEnumerable
Результат IEnumerable

Move() публичный Метод

public Move ( RepositoryItem item ) : void
item GreenQloud.Model.RepositoryItem
Результат void

RemoteETAG() публичный Метод

public RemoteETAG ( RepositoryItem item ) : string
item GreenQloud.Model.RepositoryItem
Результат string

RemoteRepositoryController() публичный Метод

public RemoteRepositoryController ( LocalRepository repo ) : System
repo LocalRepository
Результат System

UpdateStatistics() защищенный Метод

protected UpdateStatistics ( string key, S3ProgressEventArgs args ) : void
key string
args LitS3.S3ProgressEventArgs
Результат void

Upload() публичный Метод

public Upload ( RepositoryItem item ) : void
item GreenQloud.Model.RepositoryItem
Результат void