org.fao.geonet.kernel.harvest.harvester
Class UUIDMapper

java.lang.Object
  extended by org.fao.geonet.kernel.harvest.harvester.UUIDMapper

public class UUIDMapper
extends Object

Create a mapping remote ID -> local ID / change date. Retrieves all metadata of a given siteID and puts them into an hashmap.


Constructor Summary
UUIDMapper(Dbms dbms, String harvestUuid)
           
 
Method Summary
 String getChangeDate(String uuid)
           
 String getID(String uuid)
           
 String getTemplate(String uuid)
           
 Iterable<String> getUUIDs()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UUIDMapper

public UUIDMapper(Dbms dbms,
                  String harvestUuid)
           throws Exception
Throws:
Exception
Method Detail

getTemplate

public String getTemplate(String uuid)

getChangeDate

public String getChangeDate(String uuid)

getID

public String getID(String uuid)

getUUIDs

public Iterable<String> getUUIDs()


Copyright © 2003-2013. All Rights Reserved.