Interface IParameterNameCache
-
public interface IParameterNameCache
Abstraction of the cache service managing parameter names.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
readOrAddParameterNameId(String parameterName)
Reads the id associated with the name of the passed Parameter from the Parameter_Names table.
-
-
-
Method Detail
-
readOrAddParameterNameId
int readOrAddParameterNameId(String parameterName) throws FHIRPersistenceException
Reads the id associated with the name of the passed Parameter from the Parameter_Names table. If the id for the passed name is not present in the database, an id is generated, persisted, and returned.- Parameters:
parameterName
- A valid FHIR search parameter name.- Returns:
- the id associated with the name of the passed Parameter.
- Throws:
FHIRPersistenceException
-
-