public abstract class Wp2PersonalitiesImporter extends AbstractImporter<Map<String,Object>,HistoricalAgent>
actioner, framedGraph, log, manager, permissionScope
Constructor and Description |
---|
Wp2PersonalitiesImporter(com.tinkerpop.frames.FramedGraph<?> framedGraph,
Actioner actioner,
PermissionScope permissionScope,
ImportLog log) |
Modifier and Type | Method and Description |
---|---|
List<Map<String,Object>> |
extractDates(Map<String,Object> itemData) |
HistoricalAgent |
importItem(Map<String,Object> itemData)
Import an item representation into the graph, and return the Node.
|
HistoricalAgent |
importItem(Map<String,Object> itemData,
int depth) |
addCallback, addErrorCallback, getActioner, getPermissionScope, getPersister, getPersister, handleCallbacks, handleError
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
importItem
public Wp2PersonalitiesImporter(com.tinkerpop.frames.FramedGraph<?> framedGraph, Actioner actioner, PermissionScope permissionScope, ImportLog log)
public HistoricalAgent importItem(Map<String,Object> itemData) throws ValidationError
ItemImporter
itemData
- the item representation to importValidationError
- when the item representation does not validatepublic HistoricalAgent importItem(Map<String,Object> itemData, int depth) throws ValidationError
ValidationError
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.