public class SchemesResource extends Object
Constructor and Description |
---|
SchemesResource(javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.Request request,
RegistryService registryService) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
deleteClassificationScheme(String schemeGuid)
Deletes the classification scheme with the given global identifier.
|
PagedResponse<ClassificationNode> |
getClassificationNodes(String schemeGuid)
Retrieves the classification nodes for the given classification scheme.
|
ClassificationScheme |
getClassificationScheme(String schemeGuid)
Retrieves the classification scheme with the given global identifier.
|
protected static URI |
getSchemeUri(ClassificationScheme scheme,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
getServices(Integer start,
Integer rows)
Retrieves all classification schemes managed by the registry given a
set of filters.
|
javax.ws.rs.core.Response |
publishScheme(ClassificationScheme scheme,
String packageGuid)
Publishes a classification scheme to the registry.
|
public SchemesResource(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.Request request, RegistryService registryService)
public javax.ws.rs.core.Response publishScheme(ClassificationScheme scheme, String packageGuid)
scheme
- to publish to registrypackageGuid
- optional package guid which this registry object is a member ofpublic ClassificationScheme getClassificationScheme(String schemeGuid)
schemeGuid
- globally unique id of schemepublic javax.ws.rs.core.Response deleteClassificationScheme(String schemeGuid)
schemeGuid
- globally unique id of schemepublic PagedResponse<ClassificationNode> getClassificationNodes(String schemeGuid)
schemeGuid
- globally unique id of schemepublic javax.ws.rs.core.Response getServices(Integer start, Integer rows)
protected static URI getSchemeUri(ClassificationScheme scheme, javax.ws.rs.core.UriInfo uriInfo)
Copyright © 2010–2015 Planetary Data System. All rights reserved.