
Package ca.uhn.fhir.jpa.dao.data
Interface IResourceTypeDao
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<ResourceTypeEntity,,Integer> IHapiFhirJpaRepository,org.springframework.data.jpa.repository.JpaRepository<ResourceTypeEntity,,Integer> org.springframework.data.repository.ListCrudRepository<ResourceTypeEntity,,Integer> org.springframework.data.repository.ListPagingAndSortingRepository<ResourceTypeEntity,,Integer> org.springframework.data.repository.PagingAndSortingRepository<ResourceTypeEntity,,Integer> org.springframework.data.repository.query.QueryByExampleExecutor<ResourceTypeEntity>,org.springframework.data.repository.Repository<ResourceTypeEntity,Integer>
@Repository
public interface IResourceTypeDao
extends org.springframework.data.jpa.repository.JpaRepository<ResourceTypeEntity,Integer>, IHapiFhirJpaRepository
-
Method Summary
Modifier and TypeMethodDescriptionfindByResourceType(String theResType) findResourceIdByType(String theResType) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByResourceType
@Query("SELECT t FROM ResourceTypeEntity t WHERE t.myResourceType = :resType") ResourceTypeEntity findByResourceType(@Param("resType") String theResType) -
findResourceIdByType
@Query("SELECT t.myResourceTypeId FROM ResourceTypeEntity t WHERE t.myResourceType = :resType") Short findResourceIdByType(@Param("resType") String theResType)
-