public class ContextManagementImpl extends Object implements ContextManagement
| Constructor and Description |
|---|
ContextManagementImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected com.tinkerpop.blueprints.Vertex |
checkContext(com.tinkerpop.blueprints.impls.orient.OrientGraph orientGraph,
UUID parentContext,
String contextName) |
String |
create(UUID parentContext,
String name) |
boolean |
delete(UUID uuid) |
com.tinkerpop.blueprints.Vertex |
getContext(com.tinkerpop.blueprints.impls.orient.OrientGraph orientGraph,
UUID context) |
String |
move(UUID newParentUUID,
UUID contextToMoveUUID) |
String |
read(UUID contextUUID) |
String |
rename(UUID contextUUID,
String newName) |
protected com.tinkerpop.blueprints.Vertex checkContext(com.tinkerpop.blueprints.impls.orient.OrientGraph orientGraph,
UUID parentContext,
String contextName)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextException
org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextExceptionpublic com.tinkerpop.blueprints.Vertex getContext(com.tinkerpop.blueprints.impls.orient.OrientGraph orientGraph,
UUID context)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException
org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionpublic String create(UUID parentContext, String name) throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextCreationException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
create in interface ContextManagementorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextCreationExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String read(UUID contextUUID) throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextException
read in interface ContextManagementorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextExceptionpublic String rename(UUID contextUUID, String newName) throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextException
rename in interface ContextManagementorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextExceptionpublic String move(UUID newParentUUID, UUID contextToMoveUUID) throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextException
move in interface ContextManagementorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextExceptionpublic boolean delete(UUID uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextException
delete in interface ContextManagementorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextExceptionCopyright © 2017. All Rights Reserved.