Class SubscriptionsRequireManualActivationInterceptorR4

  • All Implemented Interfaces:
    ca.uhn.fhir.rest.server.interceptor.IServerInterceptor, ca.uhn.fhir.rest.server.interceptor.IServerOperationInterceptor

    public class SubscriptionsRequireManualActivationInterceptorR4
    extends ca.uhn.fhir.rest.server.interceptor.ServerOperationInterceptorAdapter
    Interceptor which requires newly created subscriptions to be in Subscription.SubscriptionStatus.REQUESTED state and prevents clients from changing the status.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface ca.uhn.fhir.rest.server.interceptor.IServerInterceptor

        ca.uhn.fhir.rest.server.interceptor.IServerInterceptor.ActionRequestDetails
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void resourceCreated​(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theResource)  
      void resourceUpdated​(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theOldResource, org.hl7.fhir.instance.model.api.IBaseResource theNewResource)  
      void setDao​(ca.uhn.fhir.jpa.api.dao.IFhirResourceDao<org.hl7.fhir.r4.model.Subscription> theDao)  
      • Methods inherited from class ca.uhn.fhir.rest.server.interceptor.ServerOperationInterceptorAdapter

        resourceDeleted, resourcePreCreate, resourcePreDelete, resourcePreUpdate, resourceUpdated
      • Methods inherited from class ca.uhn.fhir.rest.server.interceptor.InterceptorAdapter

        handleException, incomingRequestPostProcessed, incomingRequestPreHandled, incomingRequestPreProcessed, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, preProcessOutgoingException, processingCompletedNormally
      • Methods inherited from interface ca.uhn.fhir.rest.server.interceptor.IServerInterceptor

        handleException, incomingRequestPostProcessed, incomingRequestPreHandled, incomingRequestPreProcessed, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, preProcessOutgoingException, processingCompletedNormally
    • Method Detail

      • resourceCreated

        public void resourceCreated​(ca.uhn.fhir.rest.api.server.RequestDetails theRequest,
                                    org.hl7.fhir.instance.model.api.IBaseResource theResource)
        Specified by:
        resourceCreated in interface ca.uhn.fhir.rest.server.interceptor.IServerOperationInterceptor
        Overrides:
        resourceCreated in class ca.uhn.fhir.rest.server.interceptor.ServerOperationInterceptorAdapter
      • resourceUpdated

        public void resourceUpdated​(ca.uhn.fhir.rest.api.server.RequestDetails theRequest,
                                    org.hl7.fhir.instance.model.api.IBaseResource theOldResource,
                                    org.hl7.fhir.instance.model.api.IBaseResource theNewResource)
        Specified by:
        resourceUpdated in interface ca.uhn.fhir.rest.server.interceptor.IServerOperationInterceptor
        Overrides:
        resourceUpdated in class ca.uhn.fhir.rest.server.interceptor.ServerOperationInterceptorAdapter
      • setDao

        public void setDao​(ca.uhn.fhir.jpa.api.dao.IFhirResourceDao<org.hl7.fhir.r4.model.Subscription> theDao)