Package ca.uhn.fhir.jpa.util
Class SubscriptionsRequireManualActivationInterceptorDstu2
java.lang.Object
ca.uhn.fhir.jpa.util.SubscriptionsRequireManualActivationInterceptorDstu2
Interceptor which requires newly created
subscriptions
to be in
SubscriptionStatusEnum.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<ca.uhn.fhir.model.dstu2.resource.Subscription> theDao)
-
Constructor Details
-
SubscriptionsRequireManualActivationInterceptorDstu2
-
-
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
-