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.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.persistence |
Classes dealing with persistence of
relational item data in sub-tree format.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
AnnotationResource.createAnnotation(String id,
String did,
List<String> accessors,
Bundle bundle)
Create an annotation for a particular item.
|
void |
GenericResource.deleteDescription(String id,
String did)
Delete a description with the given ID, belonging to the given parent item.
|
javax.ws.rs.core.Response |
GenericResource.setVisibility(String id,
List<String> accessorIds)
Set the accessors who are able to view an item.
|
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.
|
javax.ws.rs.core.Response |
GenericResource.visibility(String id)
Get the accessors who are able to view an item.
|
Modifier and Type | Method and Description |
---|---|
int |
Api.delete(String id)
Delete an object bundle, following dependency cascades, within the scope
of item `scope`.
|
int |
Api.delete(String id,
Optional<String> logMessage)
Delete an object bundle, following dependency cascades, within the scope
of item `scope`.
|
int |
Api.deleteDependent(String parentId,
String id,
Optional<String> logMessage)
Delete a dependent item, belonging to the given parent.
|
Modifier and Type | Method and Description |
---|---|
int |
ApiImpl.delete(String id) |
int |
ApiImpl.delete(String id,
Optional<String> logMessage) |
int |
ApiImpl.deleteDependent(String parentId,
String id,
Optional<String> logMessage) |
Modifier and Type | Method and Description |
---|---|
<T extends Entity> |
Serializer.entityToBundle(T item)
Convert an Entity into a Bundle that includes its @Fetch'd
relations.
|
<T extends Entity> |
Serializer.entityToData(T item)
Convert a vertex frame to a raw bundle of data.
|
<T extends Entity> |
Serializer.entityToJson(T item)
Serialise a vertex frame to JSON.
|
static void |
Bundle.toStream(Bundle bundle,
OutputStream stream)
Write a bundle to a JSON stream.
|
Bundle |
Serializer.vertexToBundle(com.tinkerpop.blueprints.Vertex item)
Convert a Vertex into a Bundle that includes its @Fetch'd
relations.
|
Map<String,Object> |
Serializer.vertexToData(com.tinkerpop.blueprints.Vertex item)
Convert a vertex to a raw bundle of data.
|
String |
Serializer.vertexToJson(com.tinkerpop.blueprints.Vertex item)
Serialise a vertex to JSON.
|
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.