public class NodesResource extends Object
Constructor and Description |
---|
NodesResource(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 |
deleteClassificationNode(String nodeGuid)
Deletes the classification node with the given global identifier.
|
ClassificationNode |
getClassificationNode(String nodeGuid)
Retrieves the classification node with the given global identifier.
|
javax.ws.rs.core.Response |
getNodes(Integer start,
Integer rows) |
protected static URI |
getNodeUri(ClassificationNode node,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
publishNode(ClassificationNode node,
String packageGuid)
Publishes a classification node to the registry.
|
public NodesResource(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.Request request, RegistryService registryService)
public javax.ws.rs.core.Response publishNode(ClassificationNode node, String packageGuid)
node
- to publish to registrypackageGuid
- optional package guid which this registry object is a member ofpublic ClassificationNode getClassificationNode(String nodeGuid)
nodeGuid
- globally unique identifier of classification nodepublic javax.ws.rs.core.Response deleteClassificationNode(String nodeGuid)
nodeGuid
- globally unique identifier of nodeprotected static URI getNodeUri(ClassificationNode node, javax.ws.rs.core.UriInfo uriInfo)
Copyright © 2010–2018 Planetary Data System. All rights reserved.