C# Class LearningRegistry.Harvester

Mostra file Open project: adlnet-archive/LR.Net Class Usage Examples

Public Methods

Method Description
GetRecordByDocId ( string docId ) : HarvestRecord
GetRecordsByResourceLocator ( string locator ) : GetRecordHarvestResult
Harvester ( ) : System
ListIdentifiers ( ) : ListIdentifiersHarvestResult
ListIdentifiers ( System.DateTime fromDate, System.DateTime untilDate ) : ListIdentifiersHarvestResult
ListIdentifiersFrom ( System.DateTime date ) : ListIdentifiersHarvestResult
ListIdentifiersUntil ( System.DateTime date ) : ListIdentifiersHarvestResult
ListMetadataFormats ( ) : ListMetadataFormatsHarvestResult
ListRecords ( ) : ListRecordsHarvestResult
ListRecords ( System.DateTime fromDate, System.DateTime untilDate ) : ListRecordsHarvestResult
ListRecordsFrom ( System.DateTime date ) : ListRecordsHarvestResult
ListRecordsUntil ( System.DateTime date ) : ListRecordsHarvestResult

Private Methods

Method Description
Harvester ( Uri baseUri ) : System
getRecord ( string requestId, bool byDocId = false ) : GetRecordHarvestResult
harvestFromDateBoundary ( string action, string boundaryType, System.DateTime date ) : HarvestResult
harvestFromDateRange ( string action, System.DateTime fromDate, System.DateTime untilDate ) : HarvestResult

Method Details

GetRecordByDocId() public method

public GetRecordByDocId ( string docId ) : HarvestRecord
docId string
return HarvestRecord

GetRecordsByResourceLocator() public method

public GetRecordsByResourceLocator ( string locator ) : GetRecordHarvestResult
locator string
return GetRecordHarvestResult

Harvester() public method

public Harvester ( ) : System
return System

ListIdentifiers() public method

public ListIdentifiers ( ) : ListIdentifiersHarvestResult
return ListIdentifiersHarvestResult

ListIdentifiers() public method

public ListIdentifiers ( System.DateTime fromDate, System.DateTime untilDate ) : ListIdentifiersHarvestResult
fromDate System.DateTime
untilDate System.DateTime
return ListIdentifiersHarvestResult

ListIdentifiersFrom() public method

public ListIdentifiersFrom ( System.DateTime date ) : ListIdentifiersHarvestResult
date System.DateTime
return ListIdentifiersHarvestResult

ListIdentifiersUntil() public method

public ListIdentifiersUntil ( System.DateTime date ) : ListIdentifiersHarvestResult
date System.DateTime
return ListIdentifiersHarvestResult

ListMetadataFormats() public method

public ListMetadataFormats ( ) : ListMetadataFormatsHarvestResult
return ListMetadataFormatsHarvestResult

ListRecords() public method

public ListRecords ( ) : ListRecordsHarvestResult
return ListRecordsHarvestResult

ListRecords() public method

public ListRecords ( System.DateTime fromDate, System.DateTime untilDate ) : ListRecordsHarvestResult
fromDate System.DateTime
untilDate System.DateTime
return ListRecordsHarvestResult

ListRecordsFrom() public method

public ListRecordsFrom ( System.DateTime date ) : ListRecordsHarvestResult
date System.DateTime
return ListRecordsHarvestResult

ListRecordsUntil() public method

public ListRecordsUntil ( System.DateTime date ) : ListRecordsHarvestResult
date System.DateTime
return ListRecordsHarvestResult