Class FhirTransactionConfiguration<T extends FhirAuditDataset>
java.lang.Object
org.openehealth.ipf.commons.ihe.core.TransactionConfiguration<T>
org.openehealth.ipf.commons.ihe.fhir.FhirTransactionConfiguration<T>
- Direct Known Subclasses:
Iti105TransactionConfiguration
,Iti65TransactionConfiguration
,Iti66TransactionConfiguration
,Iti67TransactionConfiguration
,Iti78TransactionConfiguration
,Iti81TransactionConfiguration
,Iti83TransactionConfiguration
,Pharm5TransactionConfiguration
public class FhirTransactionConfiguration<T extends FhirAuditDataset>
extends TransactionConfiguration<T>
Static configuration for FHIR transaction components
- Since:
- 3.2
- Author:
- Christian Ohr
-
Constructor Summary
ConstructorDescriptionFhirTransactionConfiguration
(String name, String description, boolean isQuery, AuditStrategy<T> clientAuditStrategy, AuditStrategy<T> serverAuditStrategy, FhirContext fhirContext, List<? extends FhirProvider> resourceProviders, ClientRequestFactory<?> clientRequestFactory, Function<FhirContext, FhirTransactionValidator> fhirValidator) FhirTransactionConfiguration
(String name, String description, boolean isQuery, AuditStrategy<T> clientAuditStrategy, AuditStrategy<T> serverAuditStrategy, FhirContext defaultFhirContext, FhirProvider resourceProvider, ClientRequestFactory<?> clientRequestFactory, Function<FhirContext, FhirTransactionValidator> fhirValidator) FhirTransactionConfiguration
(String name, String description, boolean isQuery, AuditStrategy<T> clientAuditStrategy, AuditStrategy<T> serverAuditStrategy, FhirVersionEnum fhirVersion, List<? extends FhirProvider> resourceProviders, ClientRequestFactory<?> clientRequestFactory, Function<FhirContext, FhirTransactionValidator> fhirValidator) FhirTransactionConfiguration
(String name, String description, boolean isQuery, AuditStrategy<T> clientAuditStrategy, AuditStrategy<T> serverAuditStrategy, FhirVersionEnum fhirVersion, FhirProvider resourceProvider, ClientRequestFactory<?> clientRequestFactory, Function<FhirContext, FhirTransactionValidator> fhirValidator) -
Method Summary
Modifier and TypeMethodDescriptionList<? extends FhirProvider>
Initializes the FHIR context.void
setStaticConsumerSelector
(Predicate<RequestDetails> staticConsumerSelector) void
setSupportsLazyLoading
(boolean supportsLazyLoading) Determines if the component and backend implementation does support lazy-loading of search result sets.boolean
Methods inherited from class org.openehealth.ipf.commons.ihe.core.TransactionConfiguration
getClientAuditStrategy, getDescription, getName, getServerAuditStrategy, isQuery, isStrict, setStrict
-
Constructor Details
-
FhirTransactionConfiguration
public FhirTransactionConfiguration(String name, String description, boolean isQuery, AuditStrategy<T> clientAuditStrategy, AuditStrategy<T> serverAuditStrategy, FhirContext defaultFhirContext, FhirProvider resourceProvider, ClientRequestFactory<?> clientRequestFactory, Function<FhirContext, FhirTransactionValidator> fhirValidator) -
FhirTransactionConfiguration
public FhirTransactionConfiguration(String name, String description, boolean isQuery, AuditStrategy<T> clientAuditStrategy, AuditStrategy<T> serverAuditStrategy, FhirContext fhirContext, List<? extends FhirProvider> resourceProviders, ClientRequestFactory<?> clientRequestFactory, Function<FhirContext, FhirTransactionValidator> fhirValidator) -
FhirTransactionConfiguration
public FhirTransactionConfiguration(String name, String description, boolean isQuery, AuditStrategy<T> clientAuditStrategy, AuditStrategy<T> serverAuditStrategy, FhirVersionEnum fhirVersion, FhirProvider resourceProvider, ClientRequestFactory<?> clientRequestFactory, Function<FhirContext, FhirTransactionValidator> fhirValidator) -
FhirTransactionConfiguration
public FhirTransactionConfiguration(String name, String description, boolean isQuery, AuditStrategy<T> clientAuditStrategy, AuditStrategy<T> serverAuditStrategy, FhirVersionEnum fhirVersion, List<? extends FhirProvider> resourceProviders, ClientRequestFactory<?> clientRequestFactory, Function<FhirContext, FhirTransactionValidator> fhirValidator)
-
-
Method Details
-
getStaticResourceProvider
-
getStaticClientRequestFactory
-
setStaticConsumerSelector
-
getStaticConsumerSelector
-
initializeFhirContext
Initializes the FHIR context. Note that this method is only called when the endpoint does not configure its custom (pre-initialized) FhirContext- Returns:
- the initialized FhirContext
-
getFhirVersion
-
getFhirValidator
-
setSupportsLazyLoading
public void setSupportsLazyLoading(boolean supportsLazyLoading) Determines if the component and backend implementation does support lazy-loading of search result sets. Even if true, the endpoint URI, however, must be explicitly configured to use lazy-loading.- Parameters:
supportsLazyLoading
- true if this component support lazy-loading
-
supportsLazyLoading
public boolean supportsLazyLoading()
-