Interface PersistenceHelper
-
- All Known Implementing Classes:
FHIRPersistenceHelper
public interface PersistenceHelper
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FHIRPersistence
getFHIRPersistenceImplementation()
Returns an appropriate FHIRPersistance implementation according to the current configuration.FHIRPersistence
getFHIRPersistenceImplementation(java.lang.String factoryPropertyName)
Returns an appropriate FHIRPersistance implementation according to the current configuration.default boolean
isValidFHIRPersistenceImplementation(java.lang.String identifier)
Identifies if a FHIRPersistence implementation can be found by using the given identifier.
-
-
-
Method Detail
-
getFHIRPersistenceImplementation
FHIRPersistence getFHIRPersistenceImplementation() throws FHIRPersistenceException
Returns an appropriate FHIRPersistance implementation according to the current configuration.- Throws:
FHIRPersistenceException
-
getFHIRPersistenceImplementation
FHIRPersistence getFHIRPersistenceImplementation(java.lang.String factoryPropertyName) throws FHIRPersistenceException
Returns an appropriate FHIRPersistance implementation according to the current configuration.- Throws:
FHIRPersistenceException
-
isValidFHIRPersistenceImplementation
default boolean isValidFHIRPersistenceImplementation(java.lang.String identifier) throws FHIRPersistenceException
Identifies if a FHIRPersistence implementation can be found by using the given identifier.- Parameters:
identifier
-- Returns:
- TRUE if the identifier maps to a valid
FHIRPersistence
identifier. Default value is FALSE. - Throws:
FHIRPersistenceException
-
-