Package ca.uhn.fhir.jpa.util
Class SubscriptionsRequireManualActivationInterceptorR4
java.lang.Object
ca.uhn.fhir.jpa.util.SubscriptionsRequireManualActivationInterceptorR4
Interceptor which requires newly created
subscriptions
to be in
Subscription.SubscriptionStatus.REQUESTED
state and prevents clients from changing the status.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.r4.model.Subscription> theDao)
-
Constructor Details
-
SubscriptionsRequireManualActivationInterceptorR4
-
-
Method Details
-
resourceCreated
public void resourceCreated(ca.uhn.fhir.rest.api.server.RequestDetails theRequest, org.hl7.fhir.instance.model.api.IBaseResource theResource) -
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) -
setDao
-