**identifier** a required argument that specifies the unique identifier of the item in the repository from which the record must be disseminated.
**metadataPrefix** a required argument that specifies the metadataPrefix of the format that should be included in the metadata part of the returned record . A record should only be returned if the format specified by the metadataPrefix can be disseminated from the item identified by the value of the identifier argument. The metadata formats supported by a repository and for a particular record can be retrieved using the ListMetadataFormats request.
Error and Exception Conditions
badArgument - The request includes illegal arguments or is missing required arguments.
cannotDisseminateFormat - The value of the metadataPrefix argument is not supported by the item identified by the value of the identifier argument.
idDoesNotExist - The value of the identifier argument is unknown or illegal in this repository.
badArgument - The request includes illegal arguments.
Response Format
The response must include one instance of the following elements:
repositoryName : a human readable name for the repository;
baseURL : the base URL of the repository;
protocolVersion : the version of the OAI-PMH supported by the repository;
earliestDatestamp : a UTCdatetime that is the guaranteed lower limit of all datestamps recording changes, modifications, or deletions in the repository. A repository must not use datestamps lower than the one specified by the content of the earliestDatestamp element. earliestDatestamp must be expressed at the finest granularity supported by the repository.
deletedRecord : the manner in which the repository supports the notion of deleted records. Legitimate values are no ; transient ; persistent with meanings defined in the section on deletion.
granularity: the finest harvesting granularity supported by the repository. The legitimate values are YYYY-MM-DD and YYYY-MM-DDThh:mm:ssZ with meanings as defined in ISO8601.
**from** an optional argument with a UTCdatetime value, which specifies a lower bound for datestamp-based selective harvesting.
**until** an optional argument with a UTCdatetime value, which specifies a upper bound for datestamp-based selective harvesting.
**metadataPrefix** a required argument, which specifies that headers should be returned only if the metadata format matching the supplied metadataPrefix is available or, depending on the repository's support for deletions, has been deleted. The metadata formats supported by a repository and for a particular item can be retrieved using the ListMetadataFormats request.
**set** an optional argument with a setSpec value , which specifies set criteria for selective harvesting.
**resumptionToken** an exclusive argument with a value that is the flow control token returned by a previous ListIdentifiers request that issued an incomplete list.
Error and Exception Conditions
badArgument - The request includes illegal arguments or is missing required arguments.
badResumptionToken - The value of the resumptionToken argument is invalid or expired.
cannotDisseminateFormat - The value of the metadataPrefix argument is not supported by the repository.
noRecordsMatch- The combination of the values of the from, until, and set arguments results in an empty list.
noSetHierarchy - The repository does not support sets.
identifier an optional argument that specifies the unique identifier of the item for which available metadata formats are being requested. If this argument is omitted, then the response includes all metadata formats supported by this repository. Note that the fact that a metadata format is supported by a repository does not mean that it can be disseminated from all items in the repository.
Error and Exception Conditions
badArgument - The request includes illegal arguments or is missing required arguments.
idDoesNotExist - The value of the identifier argument is unknown or illegal in this repository.
noMetadataFormats - There are no metadata formats available for the specified item.
**from** an optional argument with a UTCdatetime value, which specifies a lower bound for datestamp-based selective harvesting.
**until** an optional argument with a UTCdatetime value, which specifies a upper bound for datestamp-based selective harvesting.
**set** an optional argument with a setSpec value , which specifies set criteria for selective harvesting.
**resumptionToken** an exclusive argument with a value that is the flow control token returned by a previous ListRecords request that issued an incomplete list.
**metadataPrefix** a required argument (unless the exclusive argument resumptionToken is used) that specifies the metadataPrefix of the format that should be included in the metadata part of the returned records. Records should be included only for items from which the metadata format
matching the metadataPrefix can be disseminated. The metadata formats supported by a repository and for a particular item can be retrieved using the ListMetadataFormats request.
Error and Exception Conditions
badArgument - The request includes illegal arguments or is missing required arguments.
badResumptionToken - The value of the resumptionToken argument is invalid or expired.
cannotDisseminateFormat - The value of the metadataPrefix argument is not supported by the repository.
noRecordsMatch - The combination of the values of the from, until, set and metadataPrefix arguments results in an empty list.
noSetHierarchy - The repository does not support sets.
*/
this match {
case OaiRequest(_,Some(mp),set, from,until,None,resumptiontoken,_) => true
resumptionToken an exclusive argument with a value that is the flow control token returned by a previous ListSets request that issued an incomplete list.
GH: guess we do not need this for memobase because there aren't so much sets - probably
Error and Exception Conditions
badArgument - The request includes illegal arguments or is missing required arguments.
badResumptionToken - The value of the resumptionToken argument is invalid or expired.
noSetHierarchy - The repository does not support sets.
**from** an optional argument with a UTCdatetime value, which specifies a lower bound for datestamp-based selective harvesting.
**until** an optional argument with a UTCdatetime value, which specifies a upper bound for datestamp-based selective harvesting.
**metadataPrefix** a required argument, which specifies that headers should be returned only if the metadata format matching the supplied metadataPrefix is available or, depending on the repository's support for deletions, has been deleted. The metadata formats supported by a repository and for a particular item can be retrieved using the ListMetadataFormats request.
**set** an optional argument with a setSpec value , which specifies set criteria for selective harvesting.
**resumptionToken** an exclusive argument with a value that is the flow control token returned by a previous ListIdentifiers request that issued an incomplete list.
badArgument - The request includes illegal arguments.
Response Format
The response must include one instance of the following elements:
repositoryName : a human readable name for the repository;
baseURL : the base URL of the repository;
protocolVersion : the version of the OAI-PMH supported by the repository;
earliestDatestamp : a UTCdatetime that is the guaranteed lower limit of all datestamps recording changes, modifications, or deletions in the repository. A repository must not use datestamps lower than the one specified by the content of the earliestDatestamp element. earliestDatestamp must be expressed at the finest granularity supported by the repository.
deletedRecord : the manner in which the repository supports the notion of deleted records. Legitimate values are no ; transient ; persistent with meanings defined in the section on deletion.
granularity: the finest harvesting granularity supported by the repository. The legitimate values are YYYY-MM-DD and YYYY-MM-DDThh:mm:ssZ with meanings as defined in ISO8601.