public interface OAIHarvester extends OAIObject, org.apache.avalon.framework.configuration.Configurable, SynchronizedXMLPipe
OAIObject.Node
HTTP_HEADER_NAME_FROM, HTTP_HEADER_NAME_USER_AGENT, NUMBER_RECORDS_PER_RESPONSE, STRING_DATEFORMAT_GRANULARITY_DAY, STRING_DATEFORMAT_GRANULARITY_SECOND
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAdminEmails()
Gets the admin emails for this harvester
|
void |
purgePastHarvestsData()
Removes all data from datastructures concerning past harvests
|
void |
receiveRequest(java.lang.String requestUrl)
Makes a request using the provided url and consumes the events WITHOUT synchronization
Assumes that synchronization is handled by caller
|
void |
receiveSynchronizedRequest(java.lang.String requestUrl)
Makes a request using the provided url and consumes the events WITH synchronization
|
void |
receiveSynchronizedRequest(java.lang.String requestUrl,
java.lang.String originalRequestUrl)
Makes a request using the provided url and consumes the events WITH synchronization
The original request may be change according past harvests to get new documents since the last harvest date.
|
void |
sendPastHarvestsSummary()
Shows past harvesting request data, if a null handler is provided events should be sent
to any consumer, handler, etc. which was previously set
|
void |
sendStoredHarvestingRequests()
Shows stored harvesting request data, if a null handler is provided events should be sent
to any consumer, handler, etc. which was previously set
|
void |
setAdminEmails(java.lang.String[] adminEmails)
Sets the admin emails for this harvester
|
void |
setIdentifierName(java.lang.String name)
Sets the name of the element or the value of the
attribute with the name "name" such that url pointers
to oai records can be read from repository responses
|
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity
acquired, setConsumer
acquired
java.lang.String[] getAdminEmails()
void setAdminEmails(java.lang.String[] adminEmails)
void setIdentifierName(java.lang.String name)
name
- void sendPastHarvestsSummary() throws org.xml.sax.SAXException
org.xml.sax.SAXException
void sendStoredHarvestingRequests() throws org.xml.sax.SAXException
org.xml.sax.SAXException
void purgePastHarvestsData()
void receiveRequest(java.lang.String requestUrl)
void receiveSynchronizedRequest(java.lang.String requestUrl)
void receiveSynchronizedRequest(java.lang.String requestUrl, java.lang.String originalRequestUrl)
Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.