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