org.fao.geonet.kernel.harvest.harvester.z3950
Class Z3950Harvester

java.lang.Object
  extended by org.fao.geonet.kernel.harvest.harvester.AbstractHarvester
      extended by org.fao.geonet.kernel.harvest.harvester.z3950.Z3950Harvester

public class Z3950Harvester
extends AbstractHarvester


Field Summary
 
Fields inherited from class org.fao.geonet.kernel.harvest.harvester.AbstractHarvester
context, dataMan, settingMan
 
Constructor Summary
Z3950Harvester()
           
 
Method Summary
protected  java.lang.String doAdd(jeeves.resources.dbms.Dbms dbms, org.jdom.Element node)
           
protected  void doAddInfo(org.jdom.Element node)
           
protected  void doDestroy(jeeves.resources.dbms.Dbms dbms)
           
protected  void doHarvest(jeeves.interfaces.Logger log, jeeves.server.resources.ResourceManager rm)
           
protected  void doInit(org.jdom.Element node)
           
protected  void doUpdate(jeeves.resources.dbms.Dbms dbms, java.lang.String id, org.jdom.Element node)
           
 AbstractParams getParams()
           
 java.lang.String getType()
           
static void init(jeeves.server.context.ServiceContext context)
           
protected  void storeNodeExtra(jeeves.resources.dbms.Dbms dbms, AbstractParams p, java.lang.String path, java.lang.String siteId, java.lang.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, getID, init, run, setValue, start, staticInit, stop, storeCategories, storeNode, storePrivileges, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Z3950Harvester

public Z3950Harvester()
Method Detail

init

public static void init(jeeves.server.context.ServiceContext context)
                 throws java.lang.Exception
Throws:
java.lang.Exception

getType

public java.lang.String getType()
Specified by:
getType in class AbstractHarvester

doInit

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

doDestroy

protected void doDestroy(jeeves.resources.dbms.Dbms dbms)
                  throws java.sql.SQLException
Specified by:
doDestroy in class AbstractHarvester
Throws:
java.sql.SQLException

doAdd

protected java.lang.String doAdd(jeeves.resources.dbms.Dbms dbms,
                                 org.jdom.Element node)
                          throws jeeves.exceptions.BadInputEx,
                                 java.sql.SQLException
Specified by:
doAdd in class AbstractHarvester
Throws:
jeeves.exceptions.BadInputEx
java.sql.SQLException

doUpdate

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

storeNodeExtra

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

Overrides:
storeNodeExtra in class AbstractHarvester
Throws:
java.sql.SQLException

getParams

public AbstractParams getParams()
Specified by:
getParams in class AbstractHarvester

doAddInfo

protected void doAddInfo(org.jdom.Element node)
Specified by:
doAddInfo in class AbstractHarvester

doHarvest

protected void doHarvest(jeeves.interfaces.Logger log,
                         jeeves.server.resources.ResourceManager rm)
                  throws java.lang.Exception
Specified by:
doHarvest in class AbstractHarvester
Throws:
java.lang.Exception