public class CsvHistoricalAgentImporter extends CsvAuthoritativeItemImporter
actioner, framedGraph, log, manager, permissionScope
Constructor and Description |
---|
CsvHistoricalAgentImporter(com.tinkerpop.frames.FramedGraph<?> framedGraph,
PermissionScope permissionScope,
Actioner actioner,
ImportLog log) |
Modifier and Type | Method and Description |
---|---|
AuthoritativeItem |
importItem(Map<String,Object> itemData)
Import an item representation into the graph, and return the Node.
|
extractUnit, extractUnitDescription, importItem
addCallback, addErrorCallback, getActioner, getPermissionScope, getPersister, getPersister, handleCallbacks, handleError
public CsvHistoricalAgentImporter(com.tinkerpop.frames.FramedGraph<?> framedGraph, PermissionScope permissionScope, Actioner actioner, ImportLog log)
public AuthoritativeItem importItem(Map<String,Object> itemData) throws ValidationError
ItemImporter
importItem
in interface ItemImporter<Map<String,Object>,AuthoritativeItem>
importItem
in class CsvAuthoritativeItemImporter
itemData
- the item representation to importValidationError
- when the item representation does not validateCopyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.