Interface PasswordDictionaryRepository

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void deleteAllByPolicyId​(String policyId)  
      List<PasswordDictionaryEntity> findByPolicyId​(String policyId)  
      • 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

      • findByPolicyId

        @Query("SELECT d FROM PasswordDictionaryEntity d WHERE d.policy.id=:policyId")
        List<PasswordDictionaryEntity> findByPolicyId​(@Param("policyId")
                                                      String policyId)
      • deleteAllByPolicyId

        @Modifying
        @Query("DELETE FROM PasswordDictionaryEntity d WHERE d.policy.id=:policyId")
        void deleteAllByPolicyId​(@Param("policyId")
                                 String policyId)