Class ResourceResource
java.lang.Object
org.javastro.ivoa.registry.graphql.ResourceResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.javastro.ivoa.entities.resource.ResourcegetResource(String id) List<org.javastro.ivoa.entities.resource.Resource>org.javastro.ivoa.entities.resource.ServicegetService(String id) List<org.javastro.ivoa.entities.resource.Service>
-
Constructor Details
-
ResourceResource
public ResourceResource()
-
-
Method Details
-
getResources
@Query("allResources") @Description("get all the resources in the registry") public List<org.javastro.ivoa.entities.resource.Resource> getResources() -
getservices
@Query("allServices") @Description("get all the Services in the registry") public List<org.javastro.ivoa.entities.resource.Service> getservices() -
getResource
@Query("getResource") @Description("get a single resource by its identifier") public org.javastro.ivoa.entities.resource.Resource getResource(String id) throws URISyntaxException, org.basex.core.BaseXException - Throws:
URISyntaxExceptionorg.basex.core.BaseXException
-
getService
@Query("getService") @Description("get a single service by its identifier") public org.javastro.ivoa.entities.resource.Service getService(String id) throws URISyntaxException, org.basex.core.BaseXException - Throws:
URISyntaxExceptionorg.basex.core.BaseXException
-