|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.deegree.ogcwebservices.csw.manager.AbstractHarvester.AbstractHarvestProcessor
protected abstract class AbstractHarvester.AbstractHarvestProcessor
abstract super class for all harvest processores
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
Thread.State, Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
protected AbstractHarvester |
owner
|
protected URI |
source
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
protected |
AbstractHarvester.AbstractHarvestProcessor(AbstractHarvester owner,
URI source)
|
Method Summary | |
---|---|
protected abstract String |
createConstraint(String fileIdentifier,
String xpath)
a constraint for delete und update operation depends on concrete metadata format. |
protected String |
createDeleteRequest(String identifier)
creates a transaction request including a delete operation to remove the metadata record with the passed fileIdentifier from the catalogue |
protected String |
createInsertRequest(XMLFragment metaData)
creates a CSW Transaction including an Update operation for the passed meta data |
protected String |
createUpdateRequest(String identifier,
String xpath,
XMLFragment metaData)
creates a CSW Transaction including an Update operation for the passed meta data. |
protected void |
performTransaction(String trans)
performs a transaction for inserting or updating a service meta data record in the catalogue a harvester instance belongs too |
protected void |
writeLastHarvestingTimestamp(URI source,
Date date)
actualizes the source in the repository with timestamp of last harvesting |
protected void |
writeNextHarvestingTimestamp(URI source,
Date date)
actualizes the source in the repository with timestamp when next harvesting shall be performed |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected URI source
protected AbstractHarvester owner
Constructor Detail |
---|
protected AbstractHarvester.AbstractHarvestProcessor(AbstractHarvester owner, URI source)
Method Detail |
---|
protected void performTransaction(String trans) throws SAXException, IOException, OGCWebServiceException
trans
-
SAXException
IOException
OGCWebServiceException
protected String createUpdateRequest(String identifier, String xpath, XMLFragment metaData) throws IOException
identifier
- xpath
- metaData
-
IOException
protected String createDeleteRequest(String identifier) throws IOException
identifier
-
IOException
protected abstract String createConstraint(String fileIdentifier, String xpath) throws IOException
fileIdentifier
- value to be comparedxpath
- comparable property
IOException
protected String createInsertRequest(XMLFragment metaData) throws IOException
metaData
-
IOException
protected void writeLastHarvestingTimestamp(URI source, Date date) throws IOException, DBPoolException, SQLException
source
- date
-
SQLException
DBPoolException
IOException
protected void writeNextHarvestingTimestamp(URI source, Date date) throws IOException, DBPoolException, SQLException
source
- date
-
SQLException
DBPoolException
IOException
|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org