Class SubscriptionValidatingInterceptor
java.lang.Object
ca.uhn.fhir.jpa.subscription.submit.interceptor.SubscriptionValidatingInterceptor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
resourcePreCreate
(org.hl7.fhir.instance.model.api.IBaseResource theResource, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, RequestPartitionId theRequestPartitionId) void
resourceUpdated
(org.hl7.fhir.instance.model.api.IBaseResource theOldResource, org.hl7.fhir.instance.model.api.IBaseResource theResource, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, RequestPartitionId theRequestPartitionId) void
setDaoRegistryForUnitTest
(DaoRegistry theDaoRegistry) void
setFhirContext
(ca.uhn.fhir.context.FhirContext theFhirContext) void
setRequestPartitionHelperSvcForUnitTest
(IRequestPartitionHelperSvc theRequestPartitionHelperSvc) void
setSubscriptionCanonicalizerForUnitTest
(SubscriptionCanonicalizer theSubscriptionCanonicalizer) void
setSubscriptionChannelTypeValidatorFactoryForUnitTest
(SubscriptionChannelTypeValidatorFactory theSubscriptionChannelTypeValidatorFactory) void
setSubscriptionSettingsForUnitTest
(SubscriptionSettings theSubscriptionSettings) void
setSubscriptionStrategyEvaluatorForUnitTest
(SubscriptionStrategyEvaluator theSubscriptionStrategyEvaluator) protected void
validateChannelType
(CanonicalSubscription theSubscription) void
validateMessageSubscriptionEndpoint
(String theEndpointUrl) protected void
validatePermissions
(org.hl7.fhir.instance.model.api.IBaseResource theSubscription, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, RequestPartitionId theRequestPartitionId, ca.uhn.fhir.interceptor.api.Pointcut thePointcut) void
validateQuery
(String theQuery, String theFieldName)
-
Constructor Details
-
SubscriptionValidatingInterceptor
public SubscriptionValidatingInterceptor()
-
-
Method Details
-
resourcePreCreate
public void resourcePreCreate(org.hl7.fhir.instance.model.api.IBaseResource theResource, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, RequestPartitionId theRequestPartitionId) -
resourceUpdated
public void resourceUpdated(org.hl7.fhir.instance.model.api.IBaseResource theOldResource, org.hl7.fhir.instance.model.api.IBaseResource theResource, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, RequestPartitionId theRequestPartitionId) -
setFhirContext
-
validatePermissions
protected void validatePermissions(org.hl7.fhir.instance.model.api.IBaseResource theSubscription, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, RequestPartitionId theRequestPartitionId, ca.uhn.fhir.interceptor.api.Pointcut thePointcut) -
validateQuery
-
validateMessageSubscriptionEndpoint
-
validateChannelType
-
setSubscriptionCanonicalizerForUnitTest
public void setSubscriptionCanonicalizerForUnitTest(SubscriptionCanonicalizer theSubscriptionCanonicalizer) -
setDaoRegistryForUnitTest
-
setSubscriptionSettingsForUnitTest
-
setRequestPartitionHelperSvcForUnitTest
public void setRequestPartitionHelperSvcForUnitTest(IRequestPartitionHelperSvc theRequestPartitionHelperSvc) -
setSubscriptionStrategyEvaluatorForUnitTest
public void setSubscriptionStrategyEvaluatorForUnitTest(SubscriptionStrategyEvaluator theSubscriptionStrategyEvaluator) -
setSubscriptionChannelTypeValidatorFactoryForUnitTest
public void setSubscriptionChannelTypeValidatorFactoryForUnitTest(SubscriptionChannelTypeValidatorFactory theSubscriptionChannelTypeValidatorFactory)
-