Class SubscriptionsRequireManualActivationInterceptorDstu3

java.lang.Object
ca.uhn.fhir.rest.server.interceptor.InterceptorAdapter
ca.uhn.fhir.rest.server.interceptor.ServerOperationInterceptorAdapter
ca.uhn.fhir.jpa.util.SubscriptionsRequireManualActivationInterceptorDstu3
All Implemented Interfaces:
ca.uhn.fhir.rest.server.interceptor.IServerInterceptor, ca.uhn.fhir.rest.server.interceptor.IServerOperationInterceptor

public class SubscriptionsRequireManualActivationInterceptorDstu3 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.
  • Constructor Summary

    Constructors
  • Method Summary

    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(IFhirResourceDao<org.hl7.fhir.dstu3.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 class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface ca.uhn.fhir.rest.server.interceptor.IServerInterceptor

    handleException, incomingRequestPostProcessed, incomingRequestPreHandled, incomingRequestPreProcessed, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, preProcessOutgoingException, processingCompletedNormally
  • Constructor Details

  • Method Details

    • 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(IFhirResourceDao<org.hl7.fhir.dstu3.model.Subscription> theDao)