|
||||||||||
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 for managing Classification Nodes for a given Classification Scheme.
Constructor Summary | |
---|---|
NodesResource(javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.Request request,
gov.nasa.pds.registry.service.RegistryService registryService)
|
Method Summary | |
---|---|
javax.ws.rs.core.Response |
deleteClassificationNode(String nodeGuid)
Deletes the classification node with the given global identifier. |
gov.nasa.pds.registry.model.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(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,
String packageGuid)
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, gov.nasa.pds.registry.service.RegistryService registryService)
Method Detail |
---|
public javax.ws.rs.core.Response publishNode(gov.nasa.pds.registry.model.ClassificationNode node, String packageGuid)
node
- to publish to registrypackageGuid
- optional package guid which this registry object is a member of
public gov.nasa.pds.registry.model.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
public javax.ws.rs.core.Response getNodes(Integer start, Integer rows)
protected static URI getNodeUri(gov.nasa.pds.registry.model.ClassificationNode node, javax.ws.rs.core.UriInfo uriInfo)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |