Interface BasicResourceService<R extends org.hl7.fhir.r4.model.Resource>

All Superinterfaces:
BasicService
All Known Subinterfaces:
ActivityDefinitionService, BinaryService, BundleService, CodeSystemService, DocumentReferenceService, EndpointService, GroupService, HealthcareServiceService, LibraryService, LocationService, MeasureReportService, MeasureService, NamingSystemService, OrganizationAffiliationService, OrganizationService, PatientService, PractitionerRoleService, PractitionerService, ProvenanceService, QuestionnaireResponseService, QuestionnaireService, ResearchStudyService, StructureDefinitionService, SubscriptionService, TaskService, ValueSetService
All Known Implementing Classes:
AbstractResourceServiceImpl, AbstractResourceServiceJaxrs, AbstractResourceServiceSecure, ActivityDefinitionServiceImpl, ActivityDefinitionServiceJaxrs, ActivityDefinitionServiceSecure, BinaryServiceImpl, BinaryServiceJaxrs, BinaryServiceSecure, BundleServiceImpl, BundleServiceJaxrs, BundleServiceSecure, CodeSystemServiceImpl, CodeSystemServiceJaxrs, CodeSystemServiceSecure, DocumentReferenceServiceImpl, DocumentReferenceServiceJaxrs, DocumentReferenceServiceSecure, EndpointServiceImpl, EndpointServiceJaxrs, EndpointServiceSecure, GroupServiceImpl, GroupServiceJaxrs, GroupServiceSecure, HealthcareServiceServiceImpl, HealthcareServiceServiceJaxrs, HealthcareServiceServiceSecure, LibraryServiceImpl, LibraryServiceJaxrs, LibraryServiceSecure, LocationServiceImpl, LocationServiceJaxrs, LocationServiceSecure, MeasureReportServiceImpl, MeasureReportServiceJaxrs, MeasureReportServiceSecure, MeasureServiceImpl, MeasureServiceJaxrs, MeasureServiceSecure, NamingSystemServiceImpl, NamingSystemServiceJaxrs, NamingSystemServiceSecure, OrganizationAffiliationServiceImpl, OrganizationAffiliationServiceJaxrs, OrganizationAffiliationServiceSecure, OrganizationServiceImpl, OrganizationServiceJaxrs, OrganizationServiceSecure, PatientServiceImpl, PatientServiceJaxrs, PatientServiceSecure, PractitionerRoleServiceImpl, PractitionerRoleServiceJaxrs, PractitionerRoleServiceSecure, PractitionerServiceImpl, PractitionerServiceJaxrs, PractitionerServiceSecure, ProvenanceServiceImpl, ProvenanceServiceJaxrs, ProvenanceServiceSecure, QuestionnaireResponseServiceImpl, QuestionnaireResponseServiceJaxrs, QuestionnaireResponseServiceSecure, QuestionnaireServiceImpl, QuestionnaireServiceJaxrs, QuestionnaireServiceSecure, ResearchStudyServiceImpl, ResearchStudyServiceJaxrs, ResearchStudyServiceSecure, StructureDefinitionServiceImpl, StructureDefinitionServiceJaxrs, StructureDefinitionServiceSecure, SubscriptionServiceImpl, SubscriptionServiceJaxrs, SubscriptionServiceSecure, TaskServiceImpl, TaskServiceJaxrs, TaskServiceSecure, ValueSetServiceImpl, ValueSetServiceJaxrs, ValueSetServiceSecure

public interface BasicResourceService<R extends org.hl7.fhir.r4.model.Resource> extends BasicService
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.ws.rs.core.Response
    create(R resource, jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers)
    standard and conditional create
    jakarta.ws.rs.core.Response
    delete(jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers)
    conditional delete
    jakarta.ws.rs.core.Response
    delete(String id, jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers)
    standard delete
    jakarta.ws.rs.core.Response
    deletePermanently(String deletePath, String id, jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers)
     
    jakarta.ws.rs.core.Response
    history(jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers)
     
    jakarta.ws.rs.core.Response
    history(String id, jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers)
     
    jakarta.ws.rs.core.Response
    read(String id, jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers)
    read by id
    jakarta.ws.rs.core.Response
    search(jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers)
    search by request parameter
    jakarta.ws.rs.core.Response
    update(String id, R resource, jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers)
    standard update
    jakarta.ws.rs.core.Response
    update(R resource, jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers)
    conditional update
    jakarta.ws.rs.core.Response
    vread(String id, long version, jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers)
    read by id and version

    Methods inherited from interface dev.dsf.fhir.webservice.base.BasicService

    setCurrentIdentityProvider
  • Method Details

    • create

      jakarta.ws.rs.core.Response create(R resource, jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers)
      standard and conditional create
      Parameters:
      resource - not null
      uri - not null
      headers - not null
      Returns:
      Response defined in https://www.hl7.org/fhir/http.html#create
    • read

      jakarta.ws.rs.core.Response read(String id, jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers)
      read by id
      Parameters:
      id - not null
      uri - not null
      headers - not null
      Returns:
      Response defined in https://www.hl7.org/fhir/http.html#read
    • vread

      jakarta.ws.rs.core.Response vread(String id, long version, jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers)
      read by id and version
      Parameters:
      id - not null
      version - >0
      uri - not null
      headers - not null
      Returns:
      Response defined in https://www.hl7.org/fhir/http.html#vread
    • history

      jakarta.ws.rs.core.Response history(jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers)
    • history

      jakarta.ws.rs.core.Response history(String id, jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers)
    • update

      jakarta.ws.rs.core.Response update(String id, R resource, jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers)
      standard update
      Parameters:
      id - not null
      resource - not null
      uri - not null
      headers - not null
      Returns:
      Response defined in https://www.hl7.org/fhir/http.html#update
    • update

      jakarta.ws.rs.core.Response update(R resource, jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers)
      conditional update
      Parameters:
      resource - not null
      uri - not null
      headers - not null
      Returns:
      Response defined in https://www.hl7.org/fhir/http.html#update
    • delete

      jakarta.ws.rs.core.Response delete(String id, jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers)
      standard delete
      Parameters:
      id - not null
      uri - not null
      headers - not null
      Returns:
      Response defined in https://www.hl7.org/fhir/http.html#delete
    • delete

      jakarta.ws.rs.core.Response delete(jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers)
      conditional delete
      Parameters:
      uri - not null
      headers - not null
      Returns:
      Response defined in https://www.hl7.org/fhir/http.html#delete
    • search

      jakarta.ws.rs.core.Response search(jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers)
      search by request parameter
      Parameters:
      uri - not null
      headers - not null
      Returns:
      Response defined in https://www.hl7.org/fhir/http.html#search
    • deletePermanently

      jakarta.ws.rs.core.Response deletePermanently(String deletePath, String id, jakarta.ws.rs.core.UriInfo uri, jakarta.ws.rs.core.HttpHeaders headers)