Method | Description | |
---|---|---|
GetFinalRoutingDestinationFolderUrl ( |
This operation is used to determine the storage location for the submission based on the rules in the repository and a suggested save location chosen by a user.
|
|
GetHoldsInfo ( ) : Microsoft.Protocols.TestSuites.MS_OFFICIALFILE.HoldInfo[] |
This operation is called to retrieve information about the legal holds in a repository.
|
|
GetRecordRoutingCollection ( ) : string |
This method is used to retrieve the recording routing collection information.
|
|
GetRecordingRouting ( string recordRouting ) : string |
This method is used to retrieve the recording routing information.
|
|
GetServerInfo ( ) : |
This operation is used to retrieves data about the type, version of the repository and whether the repository is configured for routing.
|
|
Initialize ( ITestSite testSite ) : void |
Overrides IAdapter's Initialize(), to set testSite.DefaultProtocolDocShortName.
|
|
IntializeService ( |
Initialize the services of MS-OFFICIALFILE.
|
|
SubmitFile ( [ DataType = "base64Binary")]byte[]fileToSubmit, [ IsNullable = false)]RecordsRepositoryProperty[]properties, string recordRouting, string sourceUrl, string userName ) : |
This operation is used to submit a file and its associated properties to the repository.
|
Method | Description | |
---|---|---|
ParseGetServerInfoResult ( string serverInfo ) : |
This method is used to parse the GetServerInfoResult from xml to class.
|
|
ParseSubmitFileResult ( string response ) : |
This method is used to parse the SubmitFileResult from xml to class.
|
|
VerifyAndParseGetServerInfo ( string serverInfo ) : |
Verify the requirements of GetServerInfo and parse the GetServerInfoResult from xml to class When the server returns a GetServerInfo response successfully.
|
|
VerifyAndParseSubmitFile ( string result ) : |
Verify the requirements of SubmitFile in Adapter. When the server returns a SubmitFile response successfully, which includes web service output message and soap fault.
|
|
VerifyGetFinalRoutingDestinationFolderUrl ( ) : void |
Verify the requirements of FinalRoutingDestinationFolderUrl in Adapter. When the server returns a GetFinalRoutingDestinationFolderUrl response successfully, which includes web service output message and soap fault.
|
|
VerifyGetHoldsInfo ( ) : void |
Verify the requirements of GetHoldsInfo When the server returns a GetHoldsInfo response successfully, which includes web service output message and soap fault.
|
|
VerifyGetRoutingCollectionInfo ( ) : void |
Verify the requirements of GetRoutingInfo When the server returns a GetRoutingInfo response successfully, which includes web service output message and soap fault.
|
|
VerifyGetRoutingInfo ( ) : void |
Verify the requirements of GetRoutingInfo in Adapter When the server returns a GetRoutingInfo response successfully, which includes web service output message and soap fault.
|
|
VerifyTransportRelatedRequirments ( ) : void |
Verify underlying transport protocol related requirements. These requirements can be captured directly when the server returns a SOAP response successfully, which includes web service output message and soap fault.
|
public GetFinalRoutingDestinationFolderUrl ( |
||
properties | The properties of the file. | |
contentTypeName | string | The file type. |
originalSaveLocation | string | The suggested save location chosen by a user. |
return |
public GetHoldsInfo ( ) : Microsoft.Protocols.TestSuites.MS_OFFICIALFILE.HoldInfo[] | ||
return | Microsoft.Protocols.TestSuites.MS_OFFICIALFILE.HoldInfo[] |
public GetRecordRoutingCollection ( ) : string | ||
return | string |
public GetRecordingRouting ( string recordRouting ) : string | ||
recordRouting | string | The file type. |
return | string |
public Initialize ( ITestSite testSite ) : void | ||
testSite | ITestSite | Transfer ITestSite into adapter,Make adapter can use ITestSite's function. |
return | void |
public IntializeService ( |
||
paras | The TransportType object indicates which transport parameters are used. | |
return | void |
public SubmitFile ( [ DataType = "base64Binary")]byte[]fileToSubmit, [ IsNullable = false)]RecordsRepositoryProperty[]properties, string recordRouting, string sourceUrl, string userName ) : |
||
DataType | [ | |
IsNullable | [ | |
recordRouting | string | The file type. |
sourceUrl | string | The source URL of the file. |
userName | string | The name of the user submitting the file. |
return |