Class JDBCIdentityCacheImpl

  • All Implemented Interfaces:
    JDBCIdentityCache

    public class JDBCIdentityCacheImpl
    extends java.lang.Object
    implements JDBCIdentityCache
    Pulls together the DAOs and tenant-specific cache to provide a single place where we can look up the identity of various records we need
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Long getCanonicalId​(java.lang.String canonicalValue)
      Get the database id for the given canonical value.
      java.lang.Integer getCodeSystemId​(java.lang.String codeSystemName)
      Get the database id for the named code-system.
      java.lang.Long getCommonTokenValueId​(java.lang.String codeSystem, java.lang.String tokenValue)
      Get the common_token_value_id for the given tokenValue and codeSystem.
      java.util.List<java.lang.Long> getCommonTokenValueIdList​(java.lang.String tokenValue)
      Get a list of matching common_token_value_id values.
      java.util.Set<java.lang.Long> getCommonTokenValueIds​(java.util.Collection<CommonTokenValue> tokenValues)
      Get the common_token_value_ids for the given tokenValues.
      java.lang.Long getLogicalResourceId​(java.lang.String resourceType, java.lang.String logicalId)
      Get the database id for the given (resourceType, logicalId) tuple.
      java.util.List<java.lang.Long> getLogicalResourceIdList​(java.lang.String logicalId)
      Get a list of logical_resource_id values matching the given logicalId without knowing the resource type.
      java.util.Set<java.lang.Long> getLogicalResourceIds​(java.util.Collection<ResourceReferenceValue> referenceValues)
      Get the logical_resource_ids for the given referenceValues.
      java.lang.Integer getParameterNameId​(java.lang.String parameterName)
      Get the database id for the given parameter name.
      java.lang.Integer getResourceTypeId​(java.lang.String resourceType)
      Get the database id for the named resourceType.
      java.util.List<java.lang.Integer> getResourceTypeIds()
      Get the list of all resource type ids.
      java.lang.String getResourceTypeName​(java.lang.Integer resourceTypeId)
      Get the resource type name for the resourceTypeId.
      java.util.List<java.lang.String> getResourceTypeNames()
      Get the list of all resource type names.
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait