메소드 | 설명 | |
---|---|---|
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 fiel from the specific repository.
|
|
IgnoreBadCertificates ( ) : void |
Together with the AcceptAllCertifications method right below this causes to bypass errors caused by SLL-Errors.
|
|
MerritAdapter ( ) : Ionic.Zip |
Initializes a new instance of the MerritAdapter class.
|
|
RefreshToken ( string refreshToken ) : |
Retreives the RefreshToken
|
메소드 | 설명 | |
---|---|---|
AcceptAllCertifications ( object sender, |
In Short: the Method solves the Problem of broken Certificates. Sometime when requesting Data and the sending Webserverconnection is based on a SSL Connection, an Error is caused by Servers whoes Certificate(s) have Errors. Like when the Cert is out of date and much more... So at this point when calling the method, this behaviour is prevented
|
|
CreateFile ( Microsoft.Research.DataOnboarding.Utilities.MerritConstants fileCreationType, string filePath, MerritQueryData request, |
||
DownloadFile ( string fileName, byte fileContents, string fileExtentsion, bool isCompressed, string tempFolder ) : void |
Method to download the file to temp directory
|
|
GenerateCheckSum ( byte byteArray ) : string | ||
GetIdentifier ( MerritQueryData queryData, |
||
GetIdentifierRequestBody ( MerritQueryData request ) : string | ||
GetStandardUnits ( ) : List |
||
ManageAttributeListElement ( |
||
ManageContactElement ( |
||
ManageEntityNameElement ( |
||
ManageGeographicLocationCoordinates ( |
||
ManageProjectTitleElement ( |
||
ManageTemporalCoverage ( |
||
PostFile ( |
||
RemoveEmptyElements ( |
||
RemoveEmptyElements ( |
||
RemoveEmptyParentNodes ( |
||
ReplaceMetadata ( Microsoft.Research.DataOnboarding.DomainModel file, |
||
WriteEML ( MerritQueryData request, string filePath, Microsoft.Research.DataOnboarding.DomainModel file, Microsoft.Research.DataOnboarding.DomainModel repositoryData, IEnumerable |
||
WriteParamMetadata ( MerritQueryData request, |
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 |
리턴 |
public DownloadFile ( string downloadUrl, string authorization, string fileName ) : Microsoft.Research.DataOnboarding.Utilities.Model.DataFile | ||
downloadUrl | string | |
authorization | string | |
fileName | string | |
리턴 | Microsoft.Research.DataOnboarding.Utilities.Model.DataFile |
public RefreshToken ( string refreshToken ) : |
||
refreshToken | string | refreshToken |
리턴 |