|
||||||||||
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 Classification Schemes with the registry service.
Constructor Summary | |
---|---|
SchemesResource(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 |
deleteClassificationScheme(String schemeGuid)
Deletes the classification scheme with the given global identifier. |
gov.nasa.pds.registry.model.PagedResponse<gov.nasa.pds.registry.model.ClassificationNode> |
getClassificationNodes(String schemeGuid)
Retrieves the classification nodes for the given classification scheme. |
gov.nasa.pds.registry.model.ClassificationScheme |
getClassificationScheme(String schemeGuid)
Retrieves the classification scheme with the given global identifier. |
protected static URI |
getSchemeUri(gov.nasa.pds.registry.model.ClassificationScheme scheme,
javax.ws.rs.core.UriInfo uriInfo)
|
javax.ws.rs.core.Response |
getServices(Integer start,
Integer rows)
Retrieves all classification schemes managed by the registry given a set of filters. |
javax.ws.rs.core.Response |
publishScheme(gov.nasa.pds.registry.model.ClassificationScheme scheme,
String packageGuid)
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, gov.nasa.pds.registry.service.RegistryService registryService)
Method Detail |
---|
public javax.ws.rs.core.Response publishScheme(gov.nasa.pds.registry.model.ClassificationScheme scheme, String packageGuid)
scheme
- to publish to registrypackageGuid
- optional package guid which this registry object is a member of
public gov.nasa.pds.registry.model.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 gov.nasa.pds.registry.model.PagedResponse<gov.nasa.pds.registry.model.ClassificationNode> getClassificationNodes(String schemeGuid)
schemeGuid
- globally unique id of scheme
public javax.ws.rs.core.Response getServices(Integer start, Integer rows)
protected static URI getSchemeUri(gov.nasa.pds.registry.model.ClassificationScheme scheme, javax.ws.rs.core.UriInfo uriInfo)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |