@ApplicationPath(value="schema") public class SchemaManager extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.gcube.informationsystem.resourceregistry.api.SchemaManagement |
schemaManager |
| Constructor and Description |
|---|
SchemaManager() |
| Modifier and Type | Method and Description |
|---|---|
String |
registerConsistOfSchema(String jsonSchema)
e.g.
|
String |
registerEmbeddedTypeSchema(String jsonSchema)
e.g.
|
String |
registerFacetSchema(String jsonSchema)
e.g.
|
String |
registerRelatedToSchema(String jsonSchema)
e.g.
|
String |
registerResourceSchema(String jsonSchema)
e.g.
|
protected org.gcube.informationsystem.resourceregistry.api.SchemaManagement schemaManager
@PUT @Path(value="embedded") public String registerEmbeddedTypeSchema(@QueryParam(value="schema") String jsonSchema) throws org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaException
jsonSchema - org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaException@PUT @Path(value="facet") public String registerFacetSchema(@QueryParam(value="schema") String jsonSchema) throws org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaException
jsonSchema - org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaException@PUT @Path(value="resource") public String registerResourceSchema(@QueryParam(value="schema") String jsonSchema) throws org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaException
jsonSchema - jsonSchema - org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaException@PUT @Path(value="consistOf") public String registerConsistOfSchema(@QueryParam(value="schema") String jsonSchema) throws org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaException
jsonSchema - org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaException@PUT @Path(value="relatedTo") public String registerRelatedToSchema(@QueryParam(value="schema") String jsonSchema) throws org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaException
jsonSchema - org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaExceptionCopyright © 2016. All Rights Reserved.