public class UkrainianUnitImporter extends AbstractImporter<Map<String,Object>,AbstractUnit>
actioner, framedGraph, log, manager, permissionScope
Constructor and Description |
---|
UkrainianUnitImporter(com.tinkerpop.frames.FramedGraph<?> framedGraph,
PermissionScope permissionScope,
Actioner actioner,
ImportLog log) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
constructDateMap(Map<String,Object> itemData) |
AbstractUnit |
importItem(Map<String,Object> itemData)
Import an item representation into the graph, and return the Node.
|
AbstractUnit |
importItem(Map<String,Object> itemData,
List<String> scopeIds)
Import an item representation into the graph at a certain depth, and return the Node.
|
addCallback, addErrorCallback, getActioner, getPermissionScope, getPersister, getPersister, handleCallbacks, handleError
public UkrainianUnitImporter(com.tinkerpop.frames.FramedGraph<?> framedGraph, PermissionScope permissionScope, Actioner actioner, ImportLog log)
public AbstractUnit importItem(Map<String,Object> itemData) throws ValidationError
ItemImporter
itemData
- the item representation to importValidationError
- when the item representation does not validatepublic AbstractUnit importItem(Map<String,Object> itemData, List<String> scopeIds) throws ValidationError
ItemImporter
itemData
- the item representation to importscopeIds
- parent identifiers for ID generation,
not including permission scopeValidationError
- when the item representation does not validateCopyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.