public class EacImporter extends AbstractImporter<Map<String,Object>,HistoricalAgent>
actioner, framedGraph, log, manager, permissionScope| Constructor and Description |
|---|
EacImporter(com.tinkerpop.frames.FramedGraph<?> graph,
PermissionScope permissionScope,
Actioner actioner,
ImportLog log)
Construct an EacImporter object.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
extractUnitDescription(Map<String,Object> itemData,
EntityClass entity) |
HistoricalAgent |
importItem(Map<String,Object> itemData)
Import an item representation into the graph, and return the Node.
|
HistoricalAgent |
importItem(Map<String,Object> itemData,
List<String> idPath)
Import an item representation into the graph at a certain depth, and return the Node.
|
addCallback, addErrorCallback, getActioner, getPermissionScope, getPersister, getPersister, handleCallbacks, handleErrorpublic EacImporter(com.tinkerpop.frames.FramedGraph<?> graph,
PermissionScope permissionScope,
Actioner actioner,
ImportLog log)
graph - the framed graphpermissionScope - the permission scopelog - the import logpublic HistoricalAgent importItem(Map<String,Object> itemData, List<String> idPath) throws ValidationError
ItemImporteritemData - the item representation to importidPath - parent identifiers for ID generation,
not including permission scopeValidationError - when the item representation does not validatepublic HistoricalAgent importItem(Map<String,Object> itemData) throws ValidationError
ItemImporteritemData - the item data mapValidationError - when the item representation does not validateCopyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.