Méthode | Description | |
---|---|---|
CheckIfFileExists ( string downloadURL, string fileIdentifier, string authorization ) : |
Verifies if the file exists in the repository
|
|
DownloadFile ( string downloadUrl, string authorization, string fileName ) : Microsoft.Research.DataOnboarding.Utilities.Model.DataFile |
Method to download the file from the repository.
|
|
RefreshToken ( string refreshToken ) : |
Retrives the Access token by passing refresh token
|
|
SkyDriveAdapter ( ) : Microsoft.Research.DataOnboarding.DomainModel |
Initializes a new instance of the SkyDriveAdapter class.
|
Méthode | Description | |
---|---|---|
CreateFolder ( string folderName, string parentFolderId, |
Creates the folder.
|
|
CreateFolderForFile ( string repositoryName, string fileId, string fileName, |
The method creates the folder structure to upload the file
|
|
DownloadFile ( string fileId, string fileName, string tempFolderPath, |
Downloads the file to a temp location
|
|
DownloadFile ( string fileId, |
Downloads the file and returns the byte array
|
|
GetChildFolders ( string parentFolderId, |
Returns the list of child folder.
|
|
GetFolder ( string folderName, string parentFolderId, |
Returns the Folder Id.
|
|
GetIdentifier ( MerritQueryData queryData, |
||
GetOrCreateFolder ( string folderName, string parentFolderId, |
Checks if the folder exists and if not then creates
|
|
GetRootFolder ( |
Gets the Root Folder.
|
|
PostFile ( |
||
UploadFile ( Microsoft.Research.DataOnboarding.Utilities.Model.PublishSkyDriveFileModel publishSkyDriveFileModel ) : string |
uploads the file to skydrive
|
public CheckIfFileExists ( string downloadURL, string fileIdentifier, string authorization ) : |
||
downloadURL | string | |
fileIdentifier | string | File Identifier |
authorization | string | AccessToken in case of skydrive and username password for Merrit |
Résultat |
public DownloadFile ( string downloadUrl, string authorization, string fileName ) : Microsoft.Research.DataOnboarding.Utilities.Model.DataFile | ||
downloadUrl | string | |
authorization | string | |
fileName | string | |
Résultat | Microsoft.Research.DataOnboarding.Utilities.Model.DataFile |
public RefreshToken ( string refreshToken ) : |
||
refreshToken | string | refresh Token |
Résultat |
public SkyDriveAdapter ( ) : Microsoft.Research.DataOnboarding.DomainModel | ||
Résultat | Microsoft.Research.DataOnboarding.DomainModel |