Package com.ibm.fhir.persistence.helper
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 FHIRPersistencegetFHIRPersistenceImplementation()Returns an appropriate FHIRPersistance implementation according to the current configuration.FHIRPersistencegetFHIRPersistenceImplementation(java.lang.String factoryPropertyName)Returns an appropriate FHIRPersistance implementation according to the current configuration.default booleanisValidFHIRPersistenceImplementation(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 FHIRPersistenceExceptionIdentifies if a FHIRPersistence implementation can be found by using the given identifier.- Parameters:
 identifier-- Returns:
 - TRUE if the identifier maps to a valid 
FHIRPersistenceidentifier. Default value is FALSE. - Throws:
 FHIRPersistenceException
 
 - 
 
 -