org.fao.geonet.kernel.harvest.harvester.wfsfeatures
Class WfsFeaturesHarvester

java.lang.Object
  extended by org.fao.geonet.kernel.harvest.BaseAligner
      extended by org.fao.geonet.kernel.harvest.harvester.AbstractHarvester
          extended by org.fao.geonet.kernel.harvest.harvester.wfsfeatures.WfsFeaturesHarvester

public class WfsFeaturesHarvester
extends AbstractHarvester


Nested Class Summary
 
Nested classes/interfaces inherited from class org.fao.geonet.kernel.harvest.harvester.AbstractHarvester
AbstractHarvester.HarvestWithIndexProcessor
 
Field Summary
 
Fields inherited from class org.fao.geonet.kernel.harvest.harvester.AbstractHarvester
context, dataMan, HARVESTER_GROUP_NAME, log, result, settingMan
 
Constructor Summary
WfsFeaturesHarvester()
           
 
Method Summary
protected  String doAdd(Dbms dbms, org.jdom.Element node)
           
protected  void doHarvest(Logger log, ResourceManager rm)
           
protected  void doInit(org.jdom.Element node)
           
protected  void doUpdate(Dbms dbms, String id, org.jdom.Element node)
           
 String getType()
           
static void init(ServiceContext context)
           
protected  void storeNodeExtra(Dbms dbms, AbstractParams p, String path, String siteId, String optionsId)
          Override this method to store harvesting node's specific settings.
 
Methods inherited from class org.fao.geonet.kernel.harvest.harvester.AbstractHarvester
add, add, addHarvestInfo, addInfo, create, destroy, doAddInfo, doDestroy, getID, getParams, getResult, getScheduler, init, invoke, run, setParams, setValue, shutdown, shutdownScheduler, start, staticInit, stop, storeCategories, storeNode, storePrivileges, update
 
Methods inherited from class org.fao.geonet.kernel.harvest.BaseAligner
addCategories, addPrivileges
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WfsFeaturesHarvester

public WfsFeaturesHarvester()
Method Detail

init

public static void init(ServiceContext context)
                 throws Exception
Throws:
Exception

getType

public String getType()
Specified by:
getType in class AbstractHarvester
Returns:

doInit

protected void doInit(org.jdom.Element node)
               throws BadInputEx
Specified by:
doInit in class AbstractHarvester
Throws:
BadInputEx

doAdd

protected String doAdd(Dbms dbms,
                       org.jdom.Element node)
                throws BadInputEx,
                       SQLException
Specified by:
doAdd in class AbstractHarvester
Returns:
Throws:
BadInputEx
SQLException

doUpdate

protected void doUpdate(Dbms dbms,
                        String id,
                        org.jdom.Element node)
                 throws BadInputEx,
                        SQLException
Specified by:
doUpdate in class AbstractHarvester
Throws:
BadInputEx
SQLException

storeNodeExtra

protected void storeNodeExtra(Dbms dbms,
                              AbstractParams p,
                              String path,
                              String siteId,
                              String optionsId)
                       throws SQLException
Description copied from class: AbstractHarvester
Override this method to store harvesting node's specific settings.

Overrides:
storeNodeExtra in class AbstractHarvester
Throws:
SQLException

doHarvest

protected void doHarvest(Logger log,
                         ResourceManager rm)
                  throws Exception
Specified by:
doHarvest in class AbstractHarvester
Throws:
Exception


Copyright © 2003-2013. All Rights Reserved.