public class NodesResource
extends java.lang.Object
Constructor and Description |
---|
NodesResource(javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.Request request,
gov.nasa.pds.registry.service.RegistryService registryService) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
deleteClassificationNode(java.lang.String nodeGuid)
Deletes the classification node with the given global identifier.
|
gov.nasa.pds.registry.model.ClassificationNode |
getClassificationNode(java.lang.String nodeGuid)
Retrieves the classification node with the given global identifier.
|
javax.ws.rs.core.Response |
getNodes(java.lang.Integer start,
java.lang.Integer rows) |
protected static java.net.URI |
getNodeUri(gov.nasa.pds.registry.model.ClassificationNode node,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
publishNode(gov.nasa.pds.registry.model.ClassificationNode node,
java.lang.String packageGuid)
Publishes a classification node to the registry.
|
public NodesResource(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.Request request, gov.nasa.pds.registry.service.RegistryService registryService)
public javax.ws.rs.core.Response publishNode(gov.nasa.pds.registry.model.ClassificationNode node, java.lang.String packageGuid)
node
- to publish to registrypackageGuid
- optional package guid which this registry object is a member ofpublic gov.nasa.pds.registry.model.ClassificationNode getClassificationNode(java.lang.String nodeGuid)
nodeGuid
- globally unique identifier of classification nodepublic javax.ws.rs.core.Response deleteClassificationNode(java.lang.String nodeGuid)
nodeGuid
- globally unique identifier of nodepublic javax.ws.rs.core.Response getNodes(java.lang.Integer start, java.lang.Integer rows)
protected static java.net.URI getNodeUri(gov.nasa.pds.registry.model.ClassificationNode node, javax.ws.rs.core.UriInfo uriInfo)
Copyright © 2010-2018 Planetary Data System. All Rights Reserved.