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.core |
Classes pertaining to the low-level
management of vertices and edges.
|
eu.ehri.project.core.impl | |
eu.ehri.project.importers.json | |
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.
|
javax.ws.rs.core.Response |
GenericResource.addDemotion(String id)
Down vote an item
|
javax.ws.rs.core.Response |
VirtualUnitResource.addIncludedVirtualUnits(String id,
List<String> includedIds) |
void |
GroupResource.addMember(String id,
String aid)
Add an accessor to a group.
|
javax.ws.rs.core.Response |
CvocConceptResource.addNarrowerCvocConcept(String id,
List<String> narrower)
Add an existing concept to the list of 'narrower' relations.
|
javax.ws.rs.core.Response |
GenericResource.addPromotion(String id)
Up vote an item.
|
javax.ws.rs.core.Response |
CvocConceptResource.addRelatedCvocConcept(String id,
List<String> related)
Add a relation by creating the 'related' edge between the two existing
items.
|
javax.ws.rs.core.Response |
UserProfileResource.aggregateEventsForUser(String userId,
EventsApi.Aggregation aggregation)
Aggregate actions that are relevant to a given user based on
the other users that they follow and the items they watch.
|
javax.ws.rs.core.Response |
GroupResource.aggregateUserActions(String userId,
EventsApi.Aggregation aggregation)
Fetch an aggregate list of a user's actions.
|
javax.ws.rs.core.Response |
UserProfileResource.aggregateUserActions(String userId,
EventsApi.Aggregation aggregation)
Fetch an aggregate list of a user's actions.
|
javax.ws.rs.core.Response |
GenericResource.annotations(String id)
Return a (paged) list of annotations for the given item.
|
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.
|
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.
|
void |
UserProfileResource.blockUserProfile(String userId,
List<String> otherIds) |
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 |
GroupResource.delete(String id) |
void |
CountryResource.delete(String id) |
void |
AnnotationResource.delete(String id) |
void |
AuthoritativeSetResource.delete(String id) |
void |
VocabularyResource.delete(String id) |
void |
CvocConceptResource.delete(String id) |
void |
LinkResource.delete(String id) |
void |
RepositoryResource.delete(String id) |
void |
PermissionGrantResource.delete(String id)
Revoke a particular permission grant.
|
void |
DocumentaryUnitResource.delete(String id) |
void |
VirtualUnitResource.delete(String id) |
void |
HistoricalAgentResource.delete(String id) |
void |
UserProfileResource.delete(String id) |
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.
|
javax.ws.rs.core.Response |
AuthoritativeSetResource.deleteAllAuthoritativeSetHistoricalAgents(String id) |
void |
VocabularyResource.deleteAllVocabularyConcepts(String id) |
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.events(String id,
EventsApi.Aggregation aggregation)
Lookup and page the history for a given item.
|
Document |
GenericResource.exportDc(String id,
String langCode) |
javax.ws.rs.core.Response |
HistoricalAgentResource.exportEac(String id,
String lang)
Export the given historical agent as an EAC document.
|
javax.ws.rs.core.Response |
RepositoryResource.exportEad(String id,
String lang)
Export the given repository's top-level units as EAD streamed
in a ZIP file.
|
javax.ws.rs.core.Response |
DocumentaryUnitResource.exportEad(String id,
String lang)
Export the given documentary unit as EAD.
|
javax.ws.rs.core.Response |
CountryResource.exportEag(String id,
String lang)
Export the given country's repositories as EAG streamed
in a ZIP file.
|
javax.ws.rs.core.Response |
AuthoritativeSetResource.exportEag(String id,
String lang)
Export the given set's historical agents as EAC streamed
in a ZIP file.
|
javax.ws.rs.core.Response |
RepositoryResource.exportEag(String id,
String lang)
Export the given repository as an EAG file.
|
javax.ws.rs.core.Response |
VocabularyResource.exportSkos(String id,
String format,
String baseUri)
Export the given vocabulary as SKOS.
|
void |
UserProfileResource.followUserProfile(String userId,
List<String> otherIds) |
void |
ToolsResource.fullUpgradeDb1to2() |
javax.ws.rs.core.Response |
GroupResource.get(String id) |
javax.ws.rs.core.Response |
SystemEventResource.get(String id) |
javax.ws.rs.core.Response |
CountryResource.get(String id) |
javax.ws.rs.core.Response |
AnnotationResource.get(String id) |
javax.ws.rs.core.Response |
AuthoritativeSetResource.get(String id) |
javax.ws.rs.core.Response |
VocabularyResource.get(String id) |
javax.ws.rs.core.Response |
CvocConceptResource.get(String id) |
javax.ws.rs.core.Response |
LinkResource.get(String id) |
javax.ws.rs.core.Response |
RepositoryResource.get(String id) |
javax.ws.rs.core.Response |
VersionResource.get(String id)
Get a version item.
|
javax.ws.rs.core.Response |
PermissionGrantResource.get(String id)
Fetch a given permission grant.
|
javax.ws.rs.core.Response |
DocumentaryUnitResource.get(String id) |
javax.ws.rs.core.Response |
ContentTypeResource.get(String id) |
javax.ws.rs.core.Response |
VirtualUnitResource.get(String id) |
javax.ws.rs.core.Response |
GenericResource.get(String id)
Fetch an item of any type by ID.
|
javax.ws.rs.core.Response |
HistoricalAgentResource.get(String id) |
javax.ws.rs.core.Response |
UserProfileResource.get(String id) |
javax.ws.rs.core.Response |
CvocConceptResource.getCvocBroaderConcepts(String id)
List broader concepts.
|
javax.ws.rs.core.Response |
CvocConceptResource.getCvocRelatedByConcepts(String id)
List concepts related to another concept.
|
javax.ws.rs.core.Response |
CvocConceptResource.getCvocRelatedConcepts(String id)
List concepts related to another concept.
|
InheritedItemPermissionSet |
PermissionsResource.getEntityMatrix(String userId,
String id)
Get the permission matrix for a given user on the given entity.
|
InheritedGlobalPermissionSet |
PermissionsResource.getGlobalMatrix()
Get the global permission matrix for the user making the request, based
on the Authorization header.
|
InheritedGlobalPermissionSet |
PermissionsResource.getGlobalMatrix(String userId)
Get the global permission matrix for the given accessor.
|
InheritedGlobalPermissionSet |
PermissionsResource.getScopedMatrix(String userId,
String id)
Get the user's permissions for a given scope.
|
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.
|
boolean |
UserProfileResource.isBlocking(String userId,
String otherId) |
boolean |
UserProfileResource.isFollower(String userId,
String otherId) |
boolean |
UserProfileResource.isFollowing(String userId,
String otherId) |
boolean |
UserProfileResource.isWatching(String userId,
String otherId) |
javax.ws.rs.core.Response |
GenericResource.links(String id)
Returns a list of items linked to the given description.
|
javax.ws.rs.core.Response |
UserProfileResource.listAnnotations(String userId) |
javax.ws.rs.core.Response |
UserProfileResource.listBlocked(String userId) |
javax.ws.rs.core.Response |
GroupResource.listChildren(String id,
boolean all)
list members of the specified group;
UserProfiles and sub-Groups (direct descendants)
|
javax.ws.rs.core.Response |
CountryResource.listChildren(String id,
boolean all) |
javax.ws.rs.core.Response |
AuthoritativeSetResource.listChildren(String id,
boolean all) |
javax.ws.rs.core.Response |
VocabularyResource.listChildren(String id,
boolean all) |
javax.ws.rs.core.Response |
CvocConceptResource.listChildren(String id,
boolean all) |
javax.ws.rs.core.Response |
RepositoryResource.listChildren(String id,
boolean all) |
javax.ws.rs.core.Response |
DocumentaryUnitResource.listChildren(String id,
boolean all) |
javax.ws.rs.core.Response |
VirtualUnitResource.listChildVirtualUnits(String id,
boolean all) |
javax.ws.rs.core.Response |
UserProfileResource.listFollowers(String userId) |
javax.ws.rs.core.Response |
UserProfileResource.listFollowing(String userId) |
javax.ws.rs.core.Response |
GenericResource.listFromJson(String json)
Fetch a list of items by their ID.
|
javax.ws.rs.core.Response |
VirtualUnitResource.listIncludedVirtualUnits(String id) |
javax.ws.rs.core.Response |
PermissionsResource.listPermissionGrants(String id)
Get a list of permission grants for the given user
|
javax.ws.rs.core.Response |
GenericResource.listVersions(String id)
Lookup and page the versions for a given item.
|
javax.ws.rs.core.Response |
UserProfileResource.listWatching(String userId) |
void |
VirtualUnitResource.moveIncludedVirtualUnits(String fromId,
String toId,
List<String> includedIds) |
javax.ws.rs.core.Response |
UserProfileResource.pageLinks(String userId) |
javax.ws.rs.core.Response |
SystemEventResource.pageSubjectsForEvent(String id)
Fetch a page of subjects for a given event.
|
javax.ws.rs.core.Response |
UserProfileResource.pageVirtualUnits(String userId) |
javax.ws.rs.core.Response |
GenericResource.permissionGrants(String id)
List all the permission grants that relate specifically to this item.
|
javax.ws.rs.core.Response |
GenericResource.permissionGrantsAsScope(String id)
List all the permission grants that relate specifically to this scope.
|
String |
ToolsResource.regenerateDescriptionIds(int bufferSize,
boolean commit)
Regenerate description IDs.
|
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.
|
javax.ws.rs.core.Response |
GenericResource.removeDemotion(String id)
Remove a down vote.
|
javax.ws.rs.core.Response |
VirtualUnitResource.removeIncludedVirtualUnits(String id,
List<String> includedIds) |
void |
GroupResource.removeMember(String id,
String aid)
Remove an accessor from a group.
|
javax.ws.rs.core.Response |
CvocConceptResource.removeNarrowerCvocConcept(String id,
List<String> narrower)
Remove a narrower relationship between two concepts.
|
javax.ws.rs.core.Response |
GenericResource.removePromotion(String id)
Remove an up vote.
|
javax.ws.rs.core.Response |
CvocConceptResource.removeRelatedCvocConcept(String id,
List<String> related)
Remove a relation by deleting the edge, not the vertex of the related
concept.
|
InheritedGlobalPermissionSet |
PermissionsResource.setGlobalMatrix(String userId,
GlobalPermissionSet globals)
Set a user's global permission matrix.
|
InheritedItemPermissionSet |
PermissionsResource.setItemPermissions(String userId,
String id,
ItemPermissionSet itemPerms)
Set a user's permissions on a given item.
|
String |
ToolsResource.setLabels() |
InheritedGlobalPermissionSet |
PermissionsResource.setScopedPermissions(String userId,
String id,
GlobalPermissionSet globals)
Set a user's permissions on a content type with a given scope.
|
javax.ws.rs.core.Response |
GenericResource.setVisibility(String id,
List<String> accessorIds)
Set the accessors who are able to view an item.
|
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.
|
void |
UserProfileResource.unblockUserProfile(String userId,
List<String> otherIds) |
void |
UserProfileResource.unfollowUserProfile(String userId,
List<String> otherIds) |
void |
UserProfileResource.unwatchItem(String userId,
List<String> otherIds) |
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.
|
javax.ws.rs.core.Response |
GenericResource.visibility(String id)
Get the accessors who are able to view an item.
|
void |
UserProfileResource.watchItem(String userId,
List<String> otherIds) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
ParentResource.createChild(String id,
Bundle bundle,
List<String> accessors)
Create a subordinate resource.
|
void |
DeleteResource.delete(String id)
Delete a resource.
|
protected void |
AbstractAccessibleResource.deleteItem(String id)
Delete (remove) an instance of the 'entity' in the database
|
protected void |
AbstractAccessibleResource.deleteItem(String id,
AbstractAccessibleResource.Handler<E> preProcess)
Delete (remove) an instance of the 'entity' in the database,
running a handler callback beforehand.
|
javax.ws.rs.core.Response |
GetResource.get(String id)
Fetch a resource by id.
|
javax.ws.rs.core.Response |
AbstractAccessibleResource.getItem(String id)
Retieve (get) an instance of the 'entity' in the database
|
javax.ws.rs.core.Response |
ParentResource.listChildren(String id,
boolean all)
List available resources subordinate to this item.
|
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 |
ItemNotFoundMapper.toResponse(ItemNotFound e) |
Modifier and Type | Method and Description |
---|---|
UserProfile |
UserProfilesApi.addBlocked(String userId,
List<String> ids) |
UserProfile |
UserProfilesApi.addFollowers(String userId,
List<String> ids) |
Concept |
ConceptsApi.addNarrowerConcepts(String id,
List<String> narrower) |
Concept |
ConceptsApi.addRelatedConcepts(String id,
List<String> related) |
UserProfile |
UserProfilesApi.addWatching(String userId,
List<String> ids) |
Link |
Api.createAccessPointLink(String targetId1,
String targetId2,
String descriptionId,
String bodyName,
AccessPointType bodyType,
Bundle bundle,
Collection<Accessor> accessibleTo,
Optional<String> logMessage)
Create a link between two items, along with an access point on the given description.
|
Annotation |
Api.createAnnotation(String id,
String did,
Bundle bundle,
Collection<Accessor> accessibleTo,
Optional<String> logMessage)
Create an annotation for a dependent node of an item.
|
<T extends Accessible> |
Api.createDependent(String parentId,
Bundle data,
Class<T> cls,
Optional<String> logMessage)
Create a dependent item, belonging to the given parent.
|
Link |
Api.createLink(String targetId1,
String targetId2,
List<String> bodies,
Bundle bundle,
Collection<Accessor> accessibleTo,
Optional<String> logMessage)
Create a link between two items.
|
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.
|
Promotable |
Api.demote(String id)
Down vote an item, removing an up vote if there is one.
|
<E extends Accessible> |
Api.detail(String id,
Class<E> cls)
Fetch an item, as a user.
|
Promotable |
Api.promote(String id)
Up vote an item, removing a down vote if there is one.
|
UserProfile |
UserProfilesApi.removeBlocked(String userId,
List<String> ids) |
Promotable |
Api.removeDemotion(String id)
Remove a down vote.
|
UserProfile |
UserProfilesApi.removeFollowers(String userId,
List<String> ids) |
Concept |
ConceptsApi.removeNarrowerConcepts(String id,
List<String> narrower) |
Promotable |
Api.removePromotion(String id)
Remove an up vote.
|
Concept |
ConceptsApi.removeRelatedConcepts(String id,
List<String> related) |
UserProfile |
UserProfilesApi.removeWatching(String userId,
List<String> ids) |
<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.
|
<T extends Accessible> |
Api.updateDependent(String parentId,
Bundle data,
Class<T> cls,
Optional<String> logMessage)
Update a dependent item, belonging to the given parent.
|
Modifier and Type | Method and Description |
---|---|
Link |
ApiImpl.createAccessPointLink(String targetId1,
String targetId2,
String descriptionId,
String bodyName,
AccessPointType bodyType,
Bundle bundle,
Collection<Accessor> accessibleTo,
Optional<String> logMessage) |
Annotation |
ApiImpl.createAnnotation(String id,
String did,
Bundle bundle,
Collection<Accessor> accessibleTo,
Optional<String> logMessage) |
<T extends Accessible> |
ApiImpl.createDependent(String parentId,
Bundle data,
Class<T> cls,
Optional<String> logMessage) |
Link |
ApiImpl.createLink(String targetId1,
String targetId2,
List<String> bodies,
Bundle bundle,
Collection<Accessor> accessibleTo,
Optional<String> logMessage) |
int |
ApiImpl.delete(String id) |
int |
ApiImpl.delete(String id,
Optional<String> logMessage) |
int |
ApiImpl.deleteDependent(String parentId,
String id,
Optional<String> logMessage) |
Promotable |
ApiImpl.demote(String id) |
<E extends Accessible> |
ApiImpl.detail(String id,
Class<E> cls) |
Promotable |
ApiImpl.promote(String id) |
Promotable |
ApiImpl.removeDemotion(String id) |
Promotable |
ApiImpl.removePromotion(String id) |
<E extends Accessible> |
ApiImpl.update(Bundle bundle,
Class<E> cls) |
<E extends Accessible> |
ApiImpl.update(Bundle bundle,
Class<E> cls,
Optional<String> logMessage) |
<T extends Accessible> |
ApiImpl.updateDependent(String parentId,
Bundle data,
Class<T> cls,
Optional<String> logMessage) |
Modifier and Type | Method and Description |
---|---|
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) |
int |
RelationAdd.execWithOptions(com.tinkerpop.frames.FramedGraph<?> graph,
org.apache.commons.cli.CommandLine cmdLine) |
Modifier and Type | Method and Description |
---|---|
void |
GraphManager.deleteVertex(String id)
Delete a vertex with the given ID.
|
<T> T |
GraphManager.getEntity(String id,
Class<T> cls)
Get a node with the given ID, and frame it with the given interface
class.
|
<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.Vertex |
GraphManager.getVertex(String id)
Get a node with the given ID.
|
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 |
---|---|
void |
BlueprintsGraphManager.deleteVertex(String id) |
<E> E |
BlueprintsGraphManager.getEntity(String id,
Class<E> cls) |
<E> E |
BlueprintsGraphManager.getEntity(String id,
EntityClass type,
Class<E> cls) |
com.tinkerpop.blueprints.Vertex |
Neo4jGraphManager.getVertex(String id) |
com.tinkerpop.blueprints.Vertex |
BlueprintsGraphManager.getVertex(String id) |
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 |
---|---|
int |
BatchOperations.batchDelete(List<String> ids,
Actioner actioner,
Optional<String> logMessage)
Delete a batch of items by ID.
|
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 |
---|---|
<T extends Entity> |
BundleManager.update(Bundle bundle,
Class<T> cls)
Entry-point for updating a bundle.
|
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.