Interface ParameterNameDAO
- 
- All Known Implementing Classes:
 DerbyParameterNamesDAO,ParameterNameDAOImpl,PostgresParameterNamesDAO
public interface ParameterNameDAOThis Data Access Object interface defines APIs specific to parameter_names table. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Integer>readAllSearchParameterNames()Reads all rows in the Parameter_Names table and returns the data as a MapintreadOrAddParameterNameId(java.lang.String parameterName)Reads the id associated with the name of the passed Parameter from the Parameter_Names table.java.lang.IntegerreadParameterNameId(java.lang.String parameterName)Read the parameter_name_id for the given parameterName 
 - 
 
- 
- 
Method Detail
- 
readAllSearchParameterNames
java.util.Map<java.lang.String,java.lang.Integer> readAllSearchParameterNames() throws FHIRPersistenceDataAccessExceptionReads all rows in the Parameter_Names table and returns the data as a Map- Returns:
 - A map containing key=parameter-name, value=parameter-name-id
 - Throws:
 FHIRPersistenceDataAccessException
 
- 
readOrAddParameterNameId
int readOrAddParameterNameId(java.lang.String parameterName) throws FHIRPersistenceDataAccessExceptionReads 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:
 FHIRPersistenceDataAccessException
 
- 
readParameterNameId
java.lang.Integer readParameterNameId(java.lang.String parameterName) throws FHIRPersistenceDataAccessExceptionRead the parameter_name_id for the given parameterName- Parameters:
 parameterName- A valid FHIR search parameter name.- Returns:
 - the parameter_name_id for for parameter, or null if it doesn't exist
 - Throws:
 FHIRPersistenceDataAccessException
 
 - 
 
 -