Class ResourceResource

java.lang.Object
org.javastro.ivoa.registry.graphql.ResourceResource

@GraphQLApi public class ResourceResource extends Object
  • 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:
      URISyntaxException
      org.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:
      URISyntaxException
      org.basex.core.BaseXException