Interface IResourceReferenceDAO

    • Method Detail

      • getResourceReferenceCache

        ICommonTokenValuesCache getResourceReferenceCache()
        Get the cache used by the DAO
        Returns:
      • deleteExternalReferences

        void deleteExternalReferences​(int resourceTypeId,
                                      String logicalId)
        Delete current external references for a given resource type and logical id. Typically called when creating a new version of a resource or when re-indexing
        Parameters:
        resourceTypeId -
        logicalId -
      • deleteLocalReferences

        void deleteLocalReferences​(long logicalResourceId)
        Delete current local references for a given resource described by its logical_resource_id. Typically called when creating a new version of a resource or when re-indexing.
        Parameters:
        resourceType -
        logicalId -
      • deleteLogicalResourceCompartments

        void deleteLogicalResourceCompartments​(long logicalResourceId)
        Delete the membership this resource has with other compartments
        Parameters:
        logicalResourceId -
      • addCommonTokenValues

        void addCommonTokenValues​(String resourceType,
                                  Collection<ResourceTokenValueRec> xrefs)
        Add TOKEN_VALUE_MAP records, creating any CODE_SYSTEMS and COMMON_TOKEN_VALUES as necessary
        Parameters:
        resourceType -
        xrefs -