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.base | |
eu.ehri.extension.errors.mappers |
Classes that map caught exceptions to appropriate HTTP responses.
|
eu.ehri.project.api |
Classes that provide data access data on the graph in a
manner that incorporate the permission and access-control
systems.
|
eu.ehri.project.api.impl | |
eu.ehri.project.commands |
Classes that represent actions that can
be run via the
CmdEntryPoint
to manage the graph, e.g. |
eu.ehri.project.importers.ead | |
eu.ehri.project.importers.json | |
eu.ehri.project.importers.links | |
eu.ehri.project.persistence |
Classes dealing with persistence of
relational item data in sub-tree format.
|
Modifier and Type | Method and Description |
---|---|
ImportLog |
RepositoryResource.addChildren(String id,
InputStream data)
Add items to a repository via serialised data.
|
long |
ToolsResource.autoLinkRepositoryDocs(String repositoryId,
String vocabularyId,
Set<AccessPointType> accessPointTypes,
String languageCode,
boolean excludeSingle,
boolean tolerant)
Create concepts and links derived from the access points
on a repository's documentary units.
|
String |
BatchResource.batchDelete(String scope,
Boolean version,
String log,
boolean commit,
Table ids)
Delete a batch of objects via JSON containing their IDs.
|
ImportLog |
BatchResource.batchUpdate(String scope,
Boolean tolerant,
Boolean version,
String log,
boolean commit,
InputStream inputStream)
Update a batch of items via JSON containing (partial)
data bundles.
|
javax.ws.rs.core.Response |
CountryResource.create(Bundle bundle,
List<String> accessors) |
javax.ws.rs.core.Response |
AuthoritativeSetResource.create(Bundle bundle,
List<String> accessors) |
javax.ws.rs.core.Response |
VocabularyResource.create(Bundle bundle,
List<String> accessors) |
javax.ws.rs.core.Response |
HistoricalAgentResource.create(Bundle bundle,
List<String> accessors) |
javax.ws.rs.core.Response |
LinkResource.create(Bundle bundle,
String source,
String target,
List<String> bodies,
List<String> accessors)
Create a link between two items.
|
javax.ws.rs.core.Response |
GenericResource.createAccessPoint(String id,
String did,
Bundle bundle)
Create an access point on the given description, for the given
parent item.
|
javax.ws.rs.core.Response |
AnnotationResource.createAnnotation(String id,
String did,
List<String> accessors,
Bundle bundle)
Create an annotation for a particular item.
|
javax.ws.rs.core.Response |
CountryResource.createChild(String id,
Bundle bundle,
List<String> accessors)
Create a top-level repository unit for this country.
|
javax.ws.rs.core.Response |
AuthoritativeSetResource.createChild(String id,
Bundle bundle,
List<String> accessors) |
javax.ws.rs.core.Response |
VocabularyResource.createChild(String id,
Bundle bundle,
List<String> accessors) |
javax.ws.rs.core.Response |
CvocConceptResource.createChild(String id,
Bundle bundle,
List<String> accessors) |
javax.ws.rs.core.Response |
RepositoryResource.createChild(String id,
Bundle bundle,
List<String> accessors)
Create a documentary unit for this repository.
|
javax.ws.rs.core.Response |
DocumentaryUnitResource.createChild(String id,
Bundle bundle,
List<String> accessors) |
javax.ws.rs.core.Response |
VirtualUnitResource.createChildVirtualUnit(String id,
Bundle bundle,
List<String> accessors,
List<String> includedIds) |
javax.ws.rs.core.Response |
GenericResource.createDescription(String id,
Bundle bundle)
Create a new description for this item.
|
javax.ws.rs.core.Response |
GroupResource.createGroup(Bundle bundle,
List<String> accessors,
List<String> members) |
javax.ws.rs.core.Response |
VirtualUnitResource.createTopLevelVirtualUnit(Bundle bundle,
List<String> accessors,
List<String> includedIds) |
javax.ws.rs.core.Response |
UserProfileResource.createUserProfile(Bundle bundle,
List<String> groupIds,
List<String> accessors) |
void |
GenericResource.deleteAccessPoint(String id,
String did,
String apid)
Delete the access point with the given ID, on the given description,
belonging to the given parent item.
|
ImportLog |
ImportResource.importCsv(String scopeId,
Boolean tolerant,
Boolean allowUpdates,
String logMessage,
String importerClass,
boolean commit,
InputStream data)
Import a set of CSV files.
|
ImportLog |
ImportResource.importEac(String scopeId,
Boolean tolerant,
Boolean allowUpdates,
String logMessage,
String propertyFile,
String handlerClass,
String importerClass,
boolean commit,
InputStream data)
Import EAC files.
|
ImportLog |
ImportResource.importEad(String scopeId,
Boolean tolerant,
Boolean allowUpdates,
String logMessage,
String propertyFile,
String handlerClass,
String importerClass,
boolean commit,
InputStream data)
Import a set of EAD files.
|
ImportLog |
ImportResource.importEag(String scopeId,
Boolean tolerant,
Boolean allowUpdates,
String logMessage,
String propertyFile,
String handlerClass,
String importerClass,
boolean commit,
InputStream data)
Import EAG files.
|
ImportLog |
ImportResource.importLinks(Boolean tolerant,
boolean commit,
Table table)
Create multiple links via CSV or JSON tabular upload.
|
ImportLog |
ImportResource.importSkos(String scopeId,
Boolean tolerant,
String baseURI,
String uriSuffix,
String logMessage,
String format,
boolean commit,
InputStream stream)
Import a SKOS file, of varying formats, as specified by the "language"
column of the file extensions table here.
|
javax.ws.rs.core.Response |
GenericResource.listFromJson(String json)
Fetch a list of items by their ID.
|
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.
|
SyncLog |
ImportResource.syncEad(String scopeId,
String fonds,
Boolean tolerant,
Boolean allowUpdates,
String logMessage,
String propertyFile,
String handlerClass,
String importerClass,
Set<String> ex,
boolean commit,
InputStream data)
Synchronise a repository or fonds via EAD data, removing
items which are not present in the incoming data.
|
javax.ws.rs.core.Response |
GroupResource.update(String id,
Bundle bundle) |
javax.ws.rs.core.Response |
CountryResource.update(String id,
Bundle bundle) |
javax.ws.rs.core.Response |
AnnotationResource.update(String id,
Bundle bundle) |
javax.ws.rs.core.Response |
AuthoritativeSetResource.update(String id,
Bundle bundle) |
javax.ws.rs.core.Response |
VocabularyResource.update(String id,
Bundle bundle) |
javax.ws.rs.core.Response |
CvocConceptResource.update(String id,
Bundle bundle) |
javax.ws.rs.core.Response |
LinkResource.update(String id,
Bundle bundle) |
javax.ws.rs.core.Response |
RepositoryResource.update(String id,
Bundle bundle) |
javax.ws.rs.core.Response |
DocumentaryUnitResource.update(String id,
Bundle bundle) |
javax.ws.rs.core.Response |
VirtualUnitResource.update(String id,
Bundle bundle) |
javax.ws.rs.core.Response |
HistoricalAgentResource.update(String id,
Bundle bundle) |
javax.ws.rs.core.Response |
UserProfileResource.update(String id,
Bundle bundle) |
javax.ws.rs.core.Response |
GenericResource.updateDescription(String id,
Bundle bundle)
Update a description belonging to the given item.
|
javax.ws.rs.core.Response |
GenericResource.updateDescriptionWithId(String id,
String did,
Bundle bundle)
Update a description with the given ID, belonging to the given parent item.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
CreateResource.create(Bundle bundle,
List<String> accessors)
Create a resource.
|
javax.ws.rs.core.Response |
ParentResource.createChild(String id,
Bundle bundle,
List<String> accessors)
Create a subordinate resource.
|
javax.ws.rs.core.Response |
AbstractAccessibleResource.createItem(Bundle entityBundle,
List<String> accessorIds) |
javax.ws.rs.core.Response |
AbstractAccessibleResource.createItem(Bundle entityBundle,
List<String> accessorIds,
AbstractAccessibleResource.Handler<E> handler)
Create an instance of the 'entity' in the database
|
<T extends Accessible> |
AbstractAccessibleResource.createItem(Bundle entityBundle,
List<String> accessorIds,
AbstractAccessibleResource.Handler<T> handler,
Api scopedApi,
Class<T> otherCls)
Create an instance of the 'entity' in the database
|
javax.ws.rs.core.Response |
UpdateResource.update(String id,
Bundle bundle)
Update a resource.
|
javax.ws.rs.core.Response |
AbstractAccessibleResource.updateItem(Bundle entityBundle)
Update (change) an instance of the 'entity' in the database.
|
javax.ws.rs.core.Response |
AbstractAccessibleResource.updateItem(String id,
Bundle rawBundle)
Update (change) an instance of the 'entity' in the database
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
DeserializationErrorMapper.toResponse(DeserializationError e) |
Modifier and Type | Method and Description |
---|---|
<E extends Accessible> |
Api.create(Bundle bundle,
Class<E> cls)
Create a new object of type `E` from the given data, within the scope of
`scope`.
|
<E extends Accessible> |
Api.create(Bundle bundle,
Class<E> cls,
Optional<String> logMessage)
Create a new object of type `E` from the given data, saving an Action log
with the given log message.
|
<E extends Accessible> |
Api.createOrUpdate(Bundle bundle,
Class<E> cls)
Create or update a new object of type `E` from the given data, within the
scope of `scope`.
|
<E extends Accessible> |
Api.createOrUpdate(Bundle bundle,
Class<E> cls,
Optional<String> logMessage)
Create or update a new object of type `E` from the given data, within the
scope of `scope`.
|
<E extends Accessible> |
Api.update(Bundle bundle,
Class<E> cls)
Update an object bundle, also updating dependent items.
|
<E extends Accessible> |
Api.update(Bundle bundle,
Class<E> cls,
Optional<String> logMessage)
Create or update a new object of type `E` from the given data, saving an
Action log with the given log message.
|
Modifier and Type | Method and Description |
---|---|
<E extends Accessible> |
ApiImpl.create(Bundle bundle,
Class<E> cls) |
<E extends Accessible> |
ApiImpl.create(Bundle bundle,
Class<E> cls,
Optional<String> logMessage) |
<E extends Accessible> |
ApiImpl.createOrUpdate(Bundle bundle,
Class<E> cls) |
<E extends Accessible> |
ApiImpl.createOrUpdate(Bundle bundle,
Class<E> cls,
Optional<String> logMessage) |
<E extends Accessible> |
ApiImpl.update(Bundle bundle,
Class<E> cls) |
<E extends Accessible> |
ApiImpl.update(Bundle bundle,
Class<E> cls,
Optional<String> logMessage) |
Modifier and Type | Method and Description |
---|---|
void |
EntityAdd.createItem(com.tinkerpop.frames.FramedGraph<?> graph,
org.apache.commons.cli.CommandLine cmdLine,
String id,
Bundle bundle,
PermissionScope scope,
UserProfile user,
String logMessage) |
int |
EntityAdd.execWithOptions(com.tinkerpop.frames.FramedGraph<?> graph,
org.apache.commons.cli.CommandLine cmdLine) |
int |
UserAdd.execWithOptions(com.tinkerpop.frames.FramedGraph<?> graph,
org.apache.commons.cli.CommandLine cmdLine) |
int |
UserMod.execWithOptions(com.tinkerpop.frames.FramedGraph<?> graph,
org.apache.commons.cli.CommandLine cmdLine) |
int |
CountryAdd.execWithOptions(com.tinkerpop.frames.FramedGraph<?> graph,
org.apache.commons.cli.CommandLine cmdLine) |
Modifier and Type | Method and Description |
---|---|
ImportLog |
EadSync.EadIngestOperation.runIngest(ImportManager manager) |
SyncLog |
EadSync.sync(EadSync.EadIngestOperation op,
Set<String> excludes,
String logMessage)
Synchronise an archival scope from EAD files.
|
Modifier and Type | Method and Description |
---|---|
ImportLog |
BatchOperations.batchImport(InputStream inputStream,
Actioner actioner,
Optional<String> logMessage)
Create or update a batch of items.
|
ImportLog |
BatchOperations.batchUpdate(InputStream inputStream,
Actioner actioner,
Optional<String> logMessage)
Update a batch of items.
|
Modifier and Type | Method and Description |
---|---|
ImportLog |
LinkImporter.importLinks(Table table,
String logMessage) |
Modifier and Type | Method and Description |
---|---|
static com.tinkerpop.blueprints.CloseableIterable<Bundle> |
Bundle.bundleStream(InputStream inputStream) |
static Bundle |
Bundle.fromData(Object data)
Create a bundle from raw data.
|
static Bundle |
Bundle.fromStream(InputStream stream)
Create a bundle from a stream containing JSON data..
|
static Bundle |
Bundle.fromString(String json)
Create a bundle from a (JSON) string.
|
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.