public class SchemaContextManagement extends Object implements SchemaManagement
| Constructor and Description |
|---|
SchemaContextManagement() |
| Modifier and Type | Method and Description |
|---|---|
String |
create(String json,
org.gcube.informationsystem.model.reference.AccessType baseType) |
String |
delete(String type,
org.gcube.informationsystem.model.reference.AccessType accessType) |
protected com.tinkerpop.blueprints.Vertex |
getVertex(com.tinkerpop.blueprints.impls.orient.OrientGraph orientGraph,
String vertexType) |
String |
read(String type,
boolean includeSubtypes) |
String |
update(String type,
org.gcube.informationsystem.model.reference.AccessType accessType,
String json) |
public static final String SCHEMA
protected com.tinkerpop.blueprints.Vertex getVertex(com.tinkerpop.blueprints.impls.orient.OrientGraph orientGraph,
String vertexType)
throws Exception
Exceptionpublic String create(String json, org.gcube.informationsystem.model.reference.AccessType baseType) throws org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaException
create in interface SchemaManagementorg.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaExceptionpublic String read(String type, boolean includeSubtypes) throws org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaException
read in interface SchemaManagementorg.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaExceptionpublic String update(String type, org.gcube.informationsystem.model.reference.AccessType accessType, String json) throws org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaException
update in interface SchemaManagementorg.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaExceptionpublic String delete(String type, org.gcube.informationsystem.model.reference.AccessType accessType) throws org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaNotFoundException
delete in interface SchemaManagementorg.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaNotFoundExceptionCopyright © 2019. All Rights Reserved.