Package | Description |
---|---|
eu.ehri.extension |
Jersey resource classes for providing
web service access to the graph, via
the
eu.ehri.project.api layer. |
eu.ehri.extension.providers | |
eu.ehri.project.importers.links | |
eu.ehri.project.utils |
Modifier and Type | Method and Description |
---|---|
Table |
ToolsResource.findReplace(String from,
String to,
String type,
String subType,
String property,
int maxItems,
boolean commit)
Find and replace text in descriptions for a given item type
and description property name.
|
Table |
ToolsResource.regenerateIds(List<String> ids,
boolean collisions,
boolean tolerant,
boolean commit,
Table data)
Regenerate the hierarchical graph ID for a set of items, optionally
renaming them.
|
Table |
ToolsResource.regenerateIdsForScope(String scopeId,
boolean collisions,
boolean tolerant,
boolean commit)
Regenerate the hierarchical graph ID for all items within the
permission scope and lower levels.
|
Table |
ToolsResource.regenerateIdsForType(String type,
boolean collisions,
boolean tolerant,
boolean commit)
Regenerate the hierarchical graph ID all items of a given
type.
|
Table |
ToolsResource.relink(Table mapping)
Takes a CSV file containing a mapping from one item to
another and moves changes the link target of anything linked
to
from to to . |
Table |
ToolsResource.rename(Table mapping)
Takes a CSV file containing two columns: the global id, and a new local
identifier to rename an item to.
|
Table |
ToolsResource.reparent(boolean commit,
Table mapping)
Takes a CSV file containing two columns: an item global id, and a new parent
ID.
|
Modifier and Type | Method and Description |
---|---|
String |
BatchResource.batchDelete(String scope,
Boolean version,
String log,
boolean commit,
Table ids)
Delete a batch of objects via JSON containing their IDs.
|
ImportLog |
ImportResource.importLinks(Boolean tolerant,
boolean commit,
Table table)
Create multiple links via CSV or JSON tabular upload.
|
Table |
ToolsResource.regenerateIds(List<String> ids,
boolean collisions,
boolean tolerant,
boolean commit,
Table data)
Regenerate the hierarchical graph ID for a set of items, optionally
renaming them.
|
Table |
ToolsResource.relink(Table mapping)
Takes a CSV file containing a mapping from one item to
another and moves changes the link target of anything linked
to
from to to . |
Table |
ToolsResource.rename(Table mapping)
Takes a CSV file containing two columns: the global id, and a new local
identifier to rename an item to.
|
Table |
ToolsResource.reparent(boolean commit,
Table mapping)
Takes a CSV file containing two columns: an item global id, and a new parent
ID.
|
Modifier and Type | Method and Description |
---|---|
Table |
TableProvider.readFrom(Class<Table> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Modifier and Type | Method and Description |
---|---|
long |
TableProvider.getSize(Table table,
Class<?> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
void |
TableProvider.writeTo(Table table,
Class<?> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> headers,
OutputStream outputStream) |
Modifier and Type | Method and Description |
---|---|
Table |
TableProvider.readFrom(Class<Table> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Modifier and Type | Method and Description |
---|---|
ImportLog |
LinkImporter.importLinks(Table table,
String logMessage) |
Modifier and Type | Method and Description |
---|---|
static Table |
Table.of(List<List<String>> data) |
static Table |
Table.of(List<List<String>> data,
List<String> headers) |
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.