|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.registry.resource.SchemesResource
public class SchemesResource
This resource is responsible for managing operations involving Classification Schemes.
Constructor Summary | |
---|---|
SchemesResource(javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.Request request,
RegistryService registryService)
|
Method Summary | |
---|---|
javax.ws.rs.core.Response |
deleteClassificationScheme(String schemeGuid)
Deletes the classification scheme with the given guid |
ClassificationScheme |
getClassificationScheme(String schemeGuid)
Retrieves the classification scheme with the given identifier |
NodesResource |
getNodesResource(String schemeGuid)
This returns a resource that manages the classification nodes for the given scheme |
protected static URI |
getSchemeUri(ClassificationScheme scheme,
javax.ws.rs.core.UriInfo uriInfo)
|
javax.ws.rs.core.Response |
publishScheme(ClassificationScheme scheme)
Publishes a Classification Scheme to the registry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchemesResource(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.Request request, RegistryService registryService)
Method Detail |
---|
public javax.ws.rs.core.Response publishScheme(ClassificationScheme scheme)
scheme
- to publish
public ClassificationScheme getClassificationScheme(String schemeGuid)
schemeGuid
- globally unique id of scheme
public javax.ws.rs.core.Response deleteClassificationScheme(String schemeGuid)
schemeGuid
- globally unique id of scheme
public NodesResource getNodesResource(String schemeGuid)
schemeGuid
- globally unique id of scheme
protected static URI getSchemeUri(ClassificationScheme scheme, javax.ws.rs.core.UriInfo uriInfo)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |