Interface QuestionnaireRepository

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void deleteByResourceId​(String resourceId)  
      List<QuestionnaireEntity> findAllByResourceId​(String resourceId)  
      List<QuestionnaireEntity> findByResourceId​(String resourceId)  
      List<QuestionnaireEntity> findByResourceIdIn​(List<String> resourceIdList)
      Search for questionnaires by using resources Ids list
      • 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, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush
      • Methods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor

        count, exists, findAll, findAll, findAll, findOne
      • 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 Detail

      • findByResourceIdIn

        List<QuestionnaireEntity> findByResourceIdIn​(List<String> resourceIdList)
        Search for questionnaires by using resources Ids list
        Parameters:
        resourceIdList - Id list of resources
        Returns:
        questionnaires that related to given resources
      • deleteByResourceId

        @Modifying
        void deleteByResourceId​(String resourceId)