Package | Description |
---|---|
eu.ehri.project.acl |
Classes pertaining directly to the
access-control and permission system.
|
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.core |
Classes pertaining to the low-level
management of vertices and edges.
|
eu.ehri.project.core.impl | |
eu.ehri.project.importers.csv | |
eu.ehri.project.importers.eac | |
eu.ehri.project.importers.util | |
eu.ehri.project.models |
The interfaces in this package specify the classes of entities that map to graph
frame classes.
|
eu.ehri.project.models.utils | |
eu.ehri.project.persistence |
Classes dealing with persistence of
relational item data in sub-tree format.
|
eu.ehri.project.tools |
Modifier and Type | Method and Description |
---|---|
ContentType |
PermissionUtils.getContentTypeNode(EntityClass entityClass)
Get the content type node with the given id.
|
Modifier and Type | Method and Description |
---|---|
long |
QueryApi.count(EntityClass type)
Count all items of a given type.
|
<E extends Entity> |
QueryApi.page(EntityClass type,
Class<E> cls)
Return a Page instance containing a total of total items, and an iterable
for the given page/count.
|
EventsApi |
EventsApi.withEntityClasses(EntityClass... entityTypes) |
Modifier and Type | Method and Description |
---|---|
long |
QueryApiImpl.count(EntityClass type)
Count all items of a given type.
|
<E extends Entity> |
QueryApiImpl.page(EntityClass type,
Class<E> cls)
Return a Page instance containing a total of total items, and an iterable
for the given page/count.
|
EventsApi |
EventsApiImpl.withEntityClasses(EntityClass... entityTypes) |
EventsApiImpl.Builder |
EventsApiImpl.Builder.withEntityTypes(EntityClass... entities) |
Modifier and Type | Method and Description |
---|---|
EntityClass |
GraphManager.getEntityClass(Entity entity)
Get the type of an arbitrary framed vertex.
|
EntityClass |
GraphManager.getEntityClass(com.tinkerpop.blueprints.Vertex vertex)
Get the type of an arbitrary vertex.
|
Modifier and Type | Method and Description |
---|---|
com.tinkerpop.blueprints.Vertex |
GraphManager.createVertex(String id,
EntityClass type,
Map<String,?> data)
Create a vertex with the given id, type, and data.
|
<T> com.tinkerpop.blueprints.CloseableIterable<T> |
GraphManager.getEntities(EntityClass type,
Class<T> cls)
Get an Iterable of vertices of the given type, frames with the given
interface class.
|
<T> com.tinkerpop.blueprints.CloseableIterable<T> |
GraphManager.getEntities(String key,
Object value,
EntityClass type,
Class<T> cls)
Get a CloseableIterable of entities with the given type, and the given
key/value property.
|
<T> T |
GraphManager.getEntity(String id,
EntityClass type,
Class<T> cls)
Get a node with the given ID and type, framing it with the given
interface class.
|
com.tinkerpop.blueprints.CloseableIterable<com.tinkerpop.blueprints.Vertex> |
GraphManager.getVertices(EntityClass type)
Get a CloseableIterable of vertices with the given entity class.
|
com.tinkerpop.blueprints.CloseableIterable<com.tinkerpop.blueprints.Vertex> |
GraphManager.getVertices(String key,
Object value,
EntityClass type)
Get a CloseableIterable of vertices with the given type, and the given
key/value property.
|
com.tinkerpop.blueprints.Vertex |
GraphManager.updateVertex(String id,
EntityClass type,
Map<String,?> data)
Create a vertex with the given id, type, and data.
|
Modifier and Type | Method and Description |
---|---|
EntityClass |
BlueprintsGraphManager.getEntityClass(Entity entity) |
EntityClass |
BlueprintsGraphManager.getEntityClass(com.tinkerpop.blueprints.Vertex vertex) |
Modifier and Type | Method and Description |
---|---|
com.tinkerpop.blueprints.Vertex |
Neo4jGraphManager.createVertex(String id,
EntityClass type,
Map<String,?> data) |
com.tinkerpop.blueprints.Vertex |
BlueprintsGraphManager.createVertex(String id,
EntityClass type,
Map<String,?> data) |
<E> com.tinkerpop.blueprints.CloseableIterable<E> |
BlueprintsGraphManager.getEntities(EntityClass type,
Class<E> cls) |
<E> com.tinkerpop.blueprints.CloseableIterable<E> |
BlueprintsGraphManager.getEntities(String key,
Object value,
EntityClass type,
Class<E> cls) |
<E> E |
BlueprintsGraphManager.getEntity(String id,
EntityClass type,
Class<E> cls) |
com.tinkerpop.blueprints.CloseableIterable<com.tinkerpop.blueprints.Vertex> |
Neo4jGraphManager.getVertices(EntityClass type) |
com.tinkerpop.blueprints.CloseableIterable<com.tinkerpop.blueprints.Vertex> |
BlueprintsGraphManager.getVertices(EntityClass type) |
com.tinkerpop.blueprints.CloseableIterable<com.tinkerpop.blueprints.Vertex> |
Neo4jGraphManager.getVertices(String key,
Object value,
EntityClass type) |
com.tinkerpop.blueprints.CloseableIterable<com.tinkerpop.blueprints.Vertex> |
BlueprintsGraphManager.getVertices(String key,
Object value,
EntityClass type) |
com.tinkerpop.blueprints.Vertex |
Neo4jGraphManager.updateVertex(String id,
EntityClass type,
Map<String,?> data) |
com.tinkerpop.blueprints.Vertex |
BlueprintsGraphManager.updateVertex(String id,
EntityClass type,
Map<String,?> data) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
CsvAuthoritativeItemImporter.extractUnitDescription(Map<String,Object> itemData,
EntityClass entityClass) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
EacImporter.extractUnitDescription(Map<String,Object> itemData,
EntityClass entity) |
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
ImportHelpers.extractDescription(Map<String,Object> itemData,
EntityClass entity)
Extract a Map containing the properties of a generic description.
|
static Object |
ImportHelpers.flattenNonMultivaluedProperties(String key,
Object value,
EntityClass entity)
only properties that have the multivalued-status can actually be multivalued.
|
Modifier and Type | Method and Description |
---|---|
static EntityClass |
EntityClass.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityClass[] |
EntityClass.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static EntityClass |
EntityClass.withName(String name) |
Modifier and Type | Method and Description |
---|---|
static EntityClass |
ClassUtils.getEntityType(Class<?> cls)
Get the entity type string for a given class.
|
Modifier and Type | Method and Description |
---|---|
EntityClass |
Bundle.getType()
Get the type of entity this bundle represents as per the target class's
entity type key.
|
Modifier and Type | Method and Description |
---|---|
static Bundle |
Bundle.of(EntityClass type)
Constructor for just a type.
|
static Bundle |
Bundle.of(EntityClass type,
Map<String,Object> data)
Constructor for bundle without existing id or relations.
|
static Bundle |
Bundle.of(EntityClass type,
Map<String,Object> data,
com.google.common.collect.Multimap<String,Bundle> relations)
Factory for bundle without existing id.
|
static Bundle |
Bundle.of(String id,
EntityClass type,
Map<String,Object> data,
com.google.common.collect.Multimap<String,Bundle> relations)
Factory for bundle without existing id.
|
static Bundle |
Bundle.of(String id,
EntityClass type,
Map<String,Object> data,
com.google.common.collect.Multimap<String,Bundle> relations,
Map<String,Object> meta)
Factory.
|
com.tinkerpop.blueprints.CloseableIterable<Version> |
VersionManager.versionsAtDeletion(EntityClass type,
String from,
String until)
Get the last version for all deleted items.
|
static Bundle.Builder |
Bundle.Builder.withClass(EntityClass cls) |
Modifier and Type | Method and Description |
---|---|
List<List<String>> |
FindReplace.findAndReplace(EntityClass contentType,
EntityClass entityType,
String property,
String textToFind,
String replacement,
Actioner actioner,
String logMessage)
Find and replace a string
|
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.