Package ca.uhn.fhir.jpa.dao.data
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 TypeMethodDescriptionorg.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, 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
-
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<NpmPackageVersionResourceEntity> findCurrentVersionByResourceType(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<NpmPackageVersionResourceEntity> findCurrentVersionByCanonicalUrl(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<NpmPackageVersionResourceEntity> findCurrentVersionByCanonicalUrlAndVersion(org.springframework.data.domain.Pageable theOf, @Param("fhirVersion") ca.uhn.fhir.context.FhirVersionEnum theFhirVersion, @Param("url") String theCanonicalUrl, @Param("version") String theCanonicalVersion)
-