Interface INpmPackageVersionResourceDao

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.springframework.data.domain.Slice<NpmPackageVersionResourceEntity> findCurrentVersionByCanonicalUrl​(org.springframework.data.domain.Pageable thePage, ca.uhn.fhir.context.FhirVersionEnum theFhirVersion, String theCanonicalUrl)  
      org.springframework.data.domain.Slice<NpmPackageVersionResourceEntity> findCurrentVersionByCanonicalUrlAndVersion​(org.springframework.data.domain.Pageable theOf, ca.uhn.fhir.context.FhirVersionEnum theFhirVersion, String theCanonicalUrl, String theCanonicalVersion)  
      org.springframework.data.domain.Slice<NpmPackageVersionResourceEntity> findCurrentVersionByResourceType​(org.springframework.data.domain.Pageable thePage, ca.uhn.fhir.context.FhirVersionEnum theFhirVersion, String theResourceType)  
      • Methods inherited from interface org.springframework.data.repository.CrudRepository

        count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
      • Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

        deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, saveAndFlush
      • Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

        findAll
      • Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

        count, exists, findAll, findOne
    • Method Detail

      • findCurrentVersionByResourceType

        @Query("SELECT e FROM NpmPackageVersionResourceEntity e WHERE e.myResourceType = :resourceType AND e.myFhirVersion = :fhirVersion AND e.myPackageVersion.myCurrentVersion = true")
        org.springframework.data.domain.Slice<NpmPackageVersionResourceEntityfindCurrentVersionByResourceType​(org.springframework.data.domain.Pageable thePage,
                                                                                                                @Param("fhirVersion")
                                                                                                                ca.uhn.fhir.context.FhirVersionEnum theFhirVersion,
                                                                                                                @Param("resourceType")
                                                                                                                String theResourceType)
      • findCurrentVersionByCanonicalUrl

        @Query("SELECT e FROM NpmPackageVersionResourceEntity e WHERE e.myCanonicalUrl = :url AND e.myFhirVersion = :fhirVersion AND e.myPackageVersion.myCurrentVersion = true")
        org.springframework.data.domain.Slice<NpmPackageVersionResourceEntityfindCurrentVersionByCanonicalUrl​(org.springframework.data.domain.Pageable thePage,
                                                                                                                @Param("fhirVersion")
                                                                                                                ca.uhn.fhir.context.FhirVersionEnum theFhirVersion,
                                                                                                                @Param("url")
                                                                                                                String theCanonicalUrl)
      • findCurrentVersionByCanonicalUrlAndVersion

        @Query("SELECT e FROM NpmPackageVersionResourceEntity e WHERE e.myCanonicalUrl = :url AND e.myCanonicalVersion = :version AND e.myFhirVersion = :fhirVersion AND e.myPackageVersion.myCurrentVersion = true")
        org.springframework.data.domain.Slice<NpmPackageVersionResourceEntityfindCurrentVersionByCanonicalUrlAndVersion​(org.springframework.data.domain.Pageable theOf,
                                                                                                                          @Param("fhirVersion")
                                                                                                                          ca.uhn.fhir.context.FhirVersionEnum theFhirVersion,
                                                                                                                          @Param("url")
                                                                                                                          String theCanonicalUrl,
                                                                                                                          @Param("version")
                                                                                                                          String theCanonicalVersion)