|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.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 |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
protected AbstractHarvester |
owner
|
protected java.net.URI |
source
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
protected |
AbstractHarvester.AbstractHarvestProcessor(AbstractHarvester owner,
java.net.URI source)
|
Method Summary | |
---|---|
protected abstract java.lang.String |
createConstraint(java.lang.String fileIdentifier,
java.lang.String xpath)
a constraint for delete und update operation depends on concrete metadata format. |
protected java.lang.String |
createDeleteRequest(java.lang.String identifier)
creates a transaction request including a delete operation to remove the metadata record with the passed fileIdentifier from the catalogue |
protected java.lang.String |
createInsertRequest(XMLFragment metaData)
creates a CSW Transaction including an Update operation for the passed meta data |
protected java.lang.String |
createUpdateRequest(java.lang.String identifier,
java.lang.String xpath,
XMLFragment metaData)
creates a CSW Transaction including an Update operation for the passed meta data. |
protected void |
performTransaction(java.lang.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(java.net.URI source,
java.util.Date date)
actualizes the source in the repository with timestamp of last harvesting |
protected void |
writeNextHarvestingTimestamp(java.net.URI source,
java.util.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 java.net.URI source
protected AbstractHarvester owner
Constructor Detail |
---|
protected AbstractHarvester.AbstractHarvestProcessor(AbstractHarvester owner, java.net.URI source)
Method Detail |
---|
protected void performTransaction(java.lang.String trans) throws org.xml.sax.SAXException, java.io.IOException, OGCWebServiceException
trans
-
org.xml.sax.SAXException
java.io.IOException
OGCWebServiceException
protected java.lang.String createUpdateRequest(java.lang.String identifier, java.lang.String xpath, XMLFragment metaData) throws java.io.IOException
identifier
- xpath
- metaData
-
java.io.IOException
protected java.lang.String createDeleteRequest(java.lang.String identifier) throws java.io.IOException
identifier
-
java.io.IOException
protected abstract java.lang.String createConstraint(java.lang.String fileIdentifier, java.lang.String xpath) throws java.io.IOException
fileIdentifier
- value to be comparedxpath
- comparable property
java.io.IOException
protected java.lang.String createInsertRequest(XMLFragment metaData) throws java.io.IOException
metaData
-
java.io.IOException
protected void writeLastHarvestingTimestamp(java.net.URI source, java.util.Date date) throws java.io.IOException, DBPoolException, java.sql.SQLException
source
- date
-
java.sql.SQLException
DBPoolException
java.io.IOException
protected void writeNextHarvestingTimestamp(java.net.URI source, java.util.Date date) throws java.io.IOException, DBPoolException, java.sql.SQLException
source
- date
-
java.sql.SQLException
DBPoolException
java.io.IOException
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
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