Interface JDBCIdentityCache
- 
- All Known Implementing Classes:
 JDBCIdentityCacheImpl
public interface JDBCIdentityCacheProvides access to all the identity information we need when processing resources and their parameters 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IntegergetCodeSystemId(String codeSystem)Get the database id for the named code-system.LonggetCommonTokenValueId(String codeSystem, String tokenValue)Get the common_token_value_id for the given tokenValue and codeSystem.IntegergetParameterNameId(String parameterName)Get the database id for the given parameter name.IntegergetResourceTypeId(String resourceType)Get the database id for the named resourceType. 
 - 
 
- 
- 
Method Detail
- 
getResourceTypeId
Integer getResourceTypeId(String resourceType) throws FHIRPersistenceException
Get the database id for the named resourceType. Reads from a cache or database if required.- Parameters:
 resourceType-- Returns:
 - Throws:
 FHIRPersistenceException
 
- 
getCodeSystemId
Integer getCodeSystemId(String codeSystem) throws FHIRPersistenceException
Get the database id for the named code-system. Creates new records if necessary- Parameters:
 codeSystem-- Returns:
 - Throws:
 FHIRPersistenceException
 
- 
getParameterNameId
Integer getParameterNameId(String parameterName) throws FHIRPersistenceException
Get the database id for the given parameter name. Creates new records if necessary.- Parameters:
 parameterName-- Returns:
 - Throws:
 FHIRPersistenceException
 
 - 
 
 -