| java.lang.Object org.fao.geonet.kernel.harvest.harvester.AbstractHarvester
All known Subclasses: org.fao.geonet.kernel.harvest.harvester.geonet.GeonetHarvester, org.fao.geonet.kernel.harvest.harvester.webdav.WebDavHarvester, org.fao.geonet.kernel.harvest.harvester.geonet20.Geonet20Harvester, org.fao.geonet.kernel.harvest.harvester.csw.CswHarvester, org.fao.geonet.kernel.harvest.harvester.z3950.Z3950Harvester, org.fao.geonet.kernel.harvest.harvester.oaipmh.OaiPmhHarvester,
AbstractHarvester | abstract public class AbstractHarvester (Code) | | |
Method Summary | |
public void | add(Dbms dbms, Element node) | protected void | add(Element el, String name, int value) | public void | addHarvestInfo(Element info, String id, String uuid) Adds harvesting information to each metadata element. | public void | addInfo(Element node) | public static AbstractHarvester | create(String type, ServiceContext context, SettingManager sm, DataManager dm) | public synchronized void | destroy(Dbms dbms) Called when the harvesting entry is removed from the system. | abstract protected String | doAdd(Dbms dbms, Element node) | abstract protected void | doAddInfo(Element node) | abstract protected void | doDestroy(Dbms dbms) | abstract protected void | doHarvest(Logger l, ResourceManager rm) | abstract protected void | doInit(Element entry) | abstract protected void | doUpdate(Dbms dbms, String id, Element node) | public String | getID() | abstract public AbstractParams | getParams() | abstract public String | getType() | void | harvest() | public void | init(Element node) | public synchronized OperResult | run() | protected void | setValue(Map<String, Object> values, String path, Element el, String name) | public synchronized OperResult | start(Dbms dbms) | public static void | staticInit(ServiceContext context) | public synchronized OperResult | stop(Dbms dbms) | protected void | storeCategories(Dbms dbms, AbstractParams params, String path) | protected void | storeNode(Dbms dbms, AbstractParams params, String path) | protected void | storeNodeExtra(Dbms dbms, AbstractParams params, String path, String siteId, String optionsId) | protected void | storePrivileges(Dbms dbms, AbstractParams params, String path) | public synchronized void | update(Dbms dbms, Element node) |
context | protected ServiceContext context(Code) | | |
add | protected void add(Element el, String name, int value)(Code) | | |
addHarvestInfo | public void addHarvestInfo(Element info, String id, String uuid)(Code) | | Adds harvesting information to each metadata element. Some sites can generate
url for thumbnails
|
addInfo | public void addInfo(Element node)(Code) | | Adds harvesting result information to each harvesting entry
|
destroy | public synchronized void destroy(Dbms dbms) throws Exception(Code) | | Called when the harvesting entry is removed from the system.
It is used to remove harvested metadata.
|
doAddInfo | abstract protected void doAddInfo(Element node)(Code) | | |
doHarvest | abstract protected void doHarvest(Logger l, ResourceManager rm) throws Exception(Code) | | |
doInit | abstract protected void doInit(Element entry) throws BadInputEx(Code) | | |
init | public void init(Element node) throws BadInputEx(Code) | | |
run | public synchronized OperResult run()(Code) | | |
staticInit | public static void staticInit(ServiceContext context) throws Exception(Code) | | |
update | public synchronized void update(Dbms dbms, Element node) throws BadInputEx, SQLException(Code) | | |
|
|