|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Basic interface for an OAI harvester
Nested Class Summary |
Nested classes inherited from class fr.gouv.culture.oai.OAIObject |
OAIObject.Node |
Field Summary |
Fields inherited from interface fr.gouv.culture.oai.OAIObject |
HTTP_HEADER_NAME_FROM, HTTP_HEADER_NAME_USER_AGENT, NUMBER_RECORDS_PER_RESPONSE, STRING_DATEFORMAT_GRANULARITY_DAY, STRING_DATEFORMAT_GRANULARITY_SECOND |
Method Summary | |
void |
close()
|
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 |
Methods inherited from interface org.apache.avalon.framework.logger.LogEnabled |
enableLogging |
Methods inherited from interface org.apache.avalon.framework.context.Contextualizable |
contextualize |
Methods inherited from interface org.apache.excalibur.xml.sax.XMLizable |
toSAX |
Methods inherited from interface org.xml.sax.ContentHandler |
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping |
Methods inherited from interface org.xml.sax.ext.LexicalHandler |
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity |
Methods inherited from interface org.apache.cocoon.xml.XMLProducer |
setConsumer |
Methods inherited from interface org.apache.avalon.framework.configuration.Configurable |
configure |
Methods inherited from interface fr.gouv.culture.util.apache.cocoon.xml.SynchronizedXMLProducer |
acquired, setConsumer |
Methods inherited from interface org.apache.avalon.excalibur.concurrent.Sync |
acquire, attempt, release |
Methods inherited from interface fr.gouv.culture.util.apache.cocoon.xml.SynchronizedXMLConsumer |
acquired |
Method Detail |
public java.lang.String[] getAdminEmails()
public void setAdminEmails(java.lang.String[] adminEmails)
public void setIdentifierName(java.lang.String name)
name
- public void sendPastHarvestsSummary() throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void sendStoredHarvestingRequests() throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void purgePastHarvestsData()
public void receiveRequest(java.lang.String requestUrl)
public void receiveSynchronizedRequest(java.lang.String requestUrl)
public void receiveSynchronizedRequest(java.lang.String requestUrl, java.lang.String originalRequestUrl)
public void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |