|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.registry.resource.NodesResource
public class NodesResource
This resource is responsible Classification Nodes for a given Classification Scheme.
Constructor Summary | |
---|---|
NodesResource(javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.Request request,
RegistryService registryService,
String schemeGuid)
|
Method Summary | |
---|---|
javax.ws.rs.core.Response |
deleteClassificationNode(String nodeGuid)
Deletes the classification node from the registry |
ClassificationNode |
getClassificationNode(String nodeGuid)
Retrieves the classification node with the given identifier |
RegistryResponse |
getClassificationNodes()
Retrieves the classification nodes for the scheme |
protected static URI |
getNodeUri(String schemeGuid,
ClassificationNode node,
javax.ws.rs.core.UriInfo uriInfo)
|
javax.ws.rs.core.Response |
publishNode(ClassificationNode node)
Publishes a classification node to the registry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodesResource(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.Request request, RegistryService registryService, String schemeGuid)
Method Detail |
---|
public javax.ws.rs.core.Response publishNode(ClassificationNode node)
node
- to publish
public RegistryResponse getClassificationNodes()
public ClassificationNode getClassificationNode(String nodeGuid)
nodeGuid
- globally unique identifier of classification node
public javax.ws.rs.core.Response deleteClassificationNode(String nodeGuid)
nodeGuid
- globally unique identifier of node
protected static URI getNodeUri(String schemeGuid, ClassificationNode node, javax.ws.rs.core.UriInfo uriInfo)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |