|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.registry.resource.ServicesResource
public class ServicesResource
This resource is responsible for managing Service descriptions.
Constructor Summary | |
---|---|
ServicesResource(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 |
deleteService(String guid)
Deletes the service from the registry. |
gov.nasa.pds.registry.model.Service |
getService(String guid)
Retrieves the service with the given identifier. |
javax.ws.rs.core.Response |
getServices(Integer start,
Integer rows)
|
protected static URI |
getServiceUri(gov.nasa.pds.registry.model.Service service,
javax.ws.rs.core.UriInfo uriInfo)
|
javax.ws.rs.core.Response |
publishService(gov.nasa.pds.registry.model.Service service)
Publishes a service to the registry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServicesResource(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 publishService(gov.nasa.pds.registry.model.Service service)
service
- to publish
public gov.nasa.pds.registry.model.Service getService(String guid)
guid
- globally unique identifier of service
public javax.ws.rs.core.Response deleteService(String guid)
guid
- globally unique identifier of service
public javax.ws.rs.core.Response getServices(Integer start, Integer rows)
protected static URI getServiceUri(gov.nasa.pds.registry.model.Service service, javax.ws.rs.core.UriInfo uriInfo)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |