Interface IRequestPartitionHelperSvc


  • Method Summary

    Modifier and Type
    Method
    Description
    ca.uhn.fhir.interceptor.model.RequestPartitionId
    determineCreatePartitionForRequest(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theResource, String theResourceType)
     
    ca.uhn.fhir.interceptor.model.RequestPartitionId
    determineReadPartitionForRequest(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, String theResourceType, ca.uhn.fhir.interceptor.model.ReadPartitionIdRequestDetails theDetails)
     
    default ca.uhn.fhir.interceptor.model.RequestPartitionId
    determineReadPartitionForRequestForHistory(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, String theResourceType, org.hl7.fhir.instance.model.api.IIdType theIdType)
     
    default ca.uhn.fhir.interceptor.model.RequestPartitionId
    determineReadPartitionForRequestForRead(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, String theResourceType, org.hl7.fhir.instance.model.api.IIdType theId)
     
    default ca.uhn.fhir.interceptor.model.RequestPartitionId
    determineReadPartitionForRequestForSearchType(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, String theResourceType, SearchParameterMap theParams, org.hl7.fhir.instance.model.api.IBaseResource theConditionalOperationTargetOrNull)
     
    toReadPartitions(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
     
    toStoragePartition(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
     
    default void
    validateHasPartitionPermissions(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, String theResourceType, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
     
  • Method Details

    • determineReadPartitionForRequest

      @Nonnull ca.uhn.fhir.interceptor.model.RequestPartitionId determineReadPartitionForRequest(@Nullable ca.uhn.fhir.rest.api.server.RequestDetails theRequest, String theResourceType, ca.uhn.fhir.interceptor.model.ReadPartitionIdRequestDetails theDetails)
    • determineReadPartitionForRequestForRead

      @Nonnull default ca.uhn.fhir.interceptor.model.RequestPartitionId determineReadPartitionForRequestForRead(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, String theResourceType, org.hl7.fhir.instance.model.api.IIdType theId)
    • determineReadPartitionForRequestForSearchType

      @Nonnull default ca.uhn.fhir.interceptor.model.RequestPartitionId determineReadPartitionForRequestForSearchType(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, String theResourceType, SearchParameterMap theParams, org.hl7.fhir.instance.model.api.IBaseResource theConditionalOperationTargetOrNull)
    • determineReadPartitionForRequestForHistory

      @Nonnull default ca.uhn.fhir.interceptor.model.RequestPartitionId determineReadPartitionForRequestForHistory(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, String theResourceType, org.hl7.fhir.instance.model.api.IIdType theIdType)
    • validateHasPartitionPermissions

      @Nonnull default void validateHasPartitionPermissions(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, String theResourceType, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
    • determineCreatePartitionForRequest

      @Nonnull ca.uhn.fhir.interceptor.model.RequestPartitionId determineCreatePartitionForRequest(@Nullable ca.uhn.fhir.rest.api.server.RequestDetails theRequest, @Nonnull org.hl7.fhir.instance.model.api.IBaseResource theResource, @Nonnull String theResourceType)
    • toStoragePartition

      @Nonnull PartitionablePartitionId toStoragePartition(@Nonnull ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)
    • toReadPartitions

      @Nonnull Set<Integer> toReadPartitions(@Nonnull ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)