Interface INpmPackageVersionResourceDao

All Superinterfaces:
org.springframework.data.repository.CrudRepository<NpmPackageVersionResourceEntity,Long>, IHapiFhirJpaRepository, org.springframework.data.jpa.repository.JpaRepository<NpmPackageVersionResourceEntity,Long>, org.springframework.data.repository.ListCrudRepository<NpmPackageVersionResourceEntity,Long>, org.springframework.data.repository.ListPagingAndSortingRepository<NpmPackageVersionResourceEntity,Long>, org.springframework.data.repository.PagingAndSortingRepository<NpmPackageVersionResourceEntity,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<NpmPackageVersionResourceEntity>, org.springframework.data.repository.Repository<NpmPackageVersionResourceEntity,Long>

public interface INpmPackageVersionResourceDao extends org.springframework.data.jpa.repository.JpaRepository<NpmPackageVersionResourceEntity,Long>, IHapiFhirJpaRepository
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.data.domain.Slice<NpmPackageVersionResourceEntity>
    findByCanonicalUrl(org.springframework.data.domain.Pageable thePage, ca.uhn.fhir.context.FhirVersionEnum theFhirVersion, String theCanonicalUrl, Boolean theIsCurrentVersion)
     
    org.springframework.data.domain.Slice<NpmPackageVersionResourceEntity>
    findByCanonicalUrlAndPackageId(org.springframework.data.domain.Pageable theOf, ca.uhn.fhir.context.FhirVersionEnum theFhirVersion, String theCanonicalUrl, String thePackageId, Boolean theIsCurrentVersion)
     
    org.springframework.data.domain.Slice<NpmPackageVersionResourceEntity>
    findByCanonicalUrlAndPackageIdAndVersion(org.springframework.data.domain.Pageable theOf, ca.uhn.fhir.context.FhirVersionEnum theFhirVersion, String theCanonicalUrl, String thePackageId, String theVersionId, Boolean theIsCurrentVersion)
     
    org.springframework.data.domain.Slice<NpmPackageVersionResourceEntity>
    findByCanonicalUrlAndVersion(org.springframework.data.domain.Pageable theOf, ca.uhn.fhir.context.FhirVersionEnum theFhirVersion, String theCanonicalUrl, String theCanonicalVersion, Boolean theIsCurrentVersion)
     
    org.springframework.data.domain.Slice<NpmPackageVersionResourceEntity>
    findByCanonicalUrlAndVersionAndPackageId(org.springframework.data.domain.Pageable theOf, ca.uhn.fhir.context.FhirVersionEnum theFhirVersion, String theCanonicalUrl, String theCanonicalVersion, String thePackageId, Boolean theIsCurrentVersion)
     
    org.springframework.data.domain.Slice<NpmPackageVersionResourceEntity>
    findByCanonicalUrlAndVersionAndPackageIdAndVersion(org.springframework.data.domain.Pageable theOf, ca.uhn.fhir.context.FhirVersionEnum theFhirVersion, String theCanonicalUrl, String theCanonicalVersion, String thePackageId, String theVersionId, Boolean theIsCurrentVersion)
     
    org.springframework.data.domain.Slice<NpmPackageVersionResourceEntity>
    findByResourceType(org.springframework.data.domain.Pageable thePage, ca.uhn.fhir.context.FhirVersionEnum theFhirVersion, String theResourceType, Boolean theIsCurrentVersion)
     

    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, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository

    findAll, findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

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

    count, exists, findAll, findBy, findOne
  • Method Details

    • findByResourceType

      @Query("SELECT e FROM NpmPackageVersionResourceEntity e WHERE e.myResourceType = :resourceType AND e.myFhirVersion = :fhirVersion AND ((:isCurrentVersion IS null ) OR (e.myPackageVersion.myCurrentVersion = :isCurrentVersion))") org.springframework.data.domain.Slice<NpmPackageVersionResourceEntity> findByResourceType(org.springframework.data.domain.Pageable thePage, @Param("fhirVersion") ca.uhn.fhir.context.FhirVersionEnum theFhirVersion, @Param("resourceType") String theResourceType, @Param("isCurrentVersion") Boolean theIsCurrentVersion)
    • findByCanonicalUrl

      @Query("SELECT e FROM NpmPackageVersionResourceEntity e WHERE e.myCanonicalUrl = :url AND e.myFhirVersion = :fhirVersion AND ((:isCurrentVersion IS null ) OR (e.myPackageVersion.myCurrentVersion = :isCurrentVersion))") org.springframework.data.domain.Slice<NpmPackageVersionResourceEntity> findByCanonicalUrl(org.springframework.data.domain.Pageable thePage, @Param("fhirVersion") ca.uhn.fhir.context.FhirVersionEnum theFhirVersion, @Param("url") String theCanonicalUrl, @Param("isCurrentVersion") Boolean theIsCurrentVersion)
    • findByCanonicalUrlAndVersion

      @Query("SELECT e FROM NpmPackageVersionResourceEntity e WHERE e.myCanonicalUrl = :url AND e.myCanonicalVersion = :version AND e.myFhirVersion = :fhirVersion AND ((:isCurrentVersion IS null ) OR (e.myPackageVersion.myCurrentVersion = :isCurrentVersion))") org.springframework.data.domain.Slice<NpmPackageVersionResourceEntity> findByCanonicalUrlAndVersion(org.springframework.data.domain.Pageable theOf, @Param("fhirVersion") ca.uhn.fhir.context.FhirVersionEnum theFhirVersion, @Param("url") String theCanonicalUrl, @Param("version") String theCanonicalVersion, @Param("isCurrentVersion") Boolean theIsCurrentVersion)
    • findByCanonicalUrlAndPackageId

      @Query("SELECT e FROM NpmPackageVersionResourceEntity e WHERE e.myCanonicalUrl = :url AND e.myFhirVersion = :fhirVersion AND e.myPackageVersion.myPackageId = :packageId AND ((:isCurrentVersion IS null ) OR (e.myPackageVersion.myCurrentVersion = :isCurrentVersion))") org.springframework.data.domain.Slice<NpmPackageVersionResourceEntity> findByCanonicalUrlAndPackageId(org.springframework.data.domain.Pageable theOf, @Param("fhirVersion") ca.uhn.fhir.context.FhirVersionEnum theFhirVersion, @Param("url") String theCanonicalUrl, @Param("packageId") String thePackageId, @Param("isCurrentVersion") Boolean theIsCurrentVersion)
    • findByCanonicalUrlAndPackageIdAndVersion

      @Query("SELECT e FROM NpmPackageVersionResourceEntity e WHERE e.myCanonicalUrl = :url AND e.myFhirVersion = :fhirVersion AND e.myPackageVersion.myPackageId = :packageId AND e.myPackageVersion.myVersionId = :versionId AND ((:isCurrentVersion IS null ) OR (e.myPackageVersion.myCurrentVersion = :isCurrentVersion))") org.springframework.data.domain.Slice<NpmPackageVersionResourceEntity> findByCanonicalUrlAndPackageIdAndVersion(org.springframework.data.domain.Pageable theOf, @Param("fhirVersion") ca.uhn.fhir.context.FhirVersionEnum theFhirVersion, @Param("url") String theCanonicalUrl, @Param("packageId") String thePackageId, @Param("versionId") String theVersionId, @Param("isCurrentVersion") Boolean theIsCurrentVersion)
    • findByCanonicalUrlAndVersionAndPackageId

      @Query("SELECT e FROM NpmPackageVersionResourceEntity e WHERE e.myCanonicalUrl = :url AND e.myCanonicalVersion = :version AND e.myFhirVersion = :fhirVersion AND e.myPackageVersion.myPackageId = :packageId AND ((:isCurrentVersion IS null ) OR (e.myPackageVersion.myCurrentVersion = :isCurrentVersion))") org.springframework.data.domain.Slice<NpmPackageVersionResourceEntity> findByCanonicalUrlAndVersionAndPackageId(org.springframework.data.domain.Pageable theOf, @Param("fhirVersion") ca.uhn.fhir.context.FhirVersionEnum theFhirVersion, @Param("url") String theCanonicalUrl, @Param("version") String theCanonicalVersion, @Param("packageId") String thePackageId, @Param("isCurrentVersion") Boolean theIsCurrentVersion)
    • findByCanonicalUrlAndVersionAndPackageIdAndVersion

      @Query("SELECT e FROM NpmPackageVersionResourceEntity e WHERE e.myCanonicalUrl = :url AND e.myCanonicalVersion = :version AND e.myFhirVersion = :fhirVersion AND e.myPackageVersion.myPackageId = :packageId AND e.myPackageVersion.myVersionId = :versionId AND ((:isCurrentVersion IS null ) OR (e.myPackageVersion.myCurrentVersion = :isCurrentVersion))") org.springframework.data.domain.Slice<NpmPackageVersionResourceEntity> findByCanonicalUrlAndVersionAndPackageIdAndVersion(org.springframework.data.domain.Pageable theOf, @Param("fhirVersion") ca.uhn.fhir.context.FhirVersionEnum theFhirVersion, @Param("url") String theCanonicalUrl, @Param("version") String theCanonicalVersion, @Param("packageId") String thePackageId, @Param("versionId") String theVersionId, @Param("isCurrentVersion") Boolean theIsCurrentVersion)