Interface MechanicalDuctRepository

  • All Superinterfaces:
    org.springframework.data.repository.CrudRepository<MechanicalDuct,​Long>, org.springframework.data.jpa.repository.JpaRepository<MechanicalDuct,​Long>, org.springframework.data.repository.PagingAndSortingRepository<MechanicalDuct,​Long>, org.springframework.data.repository.query.QueryByExampleExecutor<MechanicalDuct>, org.springframework.data.repository.Repository<MechanicalDuct,​Long>

    public interface MechanicalDuctRepository
    extends org.springframework.data.jpa.repository.JpaRepository<MechanicalDuct,​Long>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void deleteByObjectGuid​(String object_guid)  
      Optional<MechanicalDuct> findById​(Long id)  
      Optional<MechanicalDuct> findByObjectGuid​(String object_guid)  
      List<MechanicalDuct> findWithinPoint​(org.locationtech.jts.geom.Geometry area)  
      • Methods inherited from interface org.springframework.data.repository.CrudRepository

        count, delete, deleteAll, deleteAll, deleteById, existsById, save
      • Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

        deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
      • Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

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

        count, exists, findAll, findOne
    • Method Detail

      • deleteByObjectGuid

        void deleteByObjectGuid​(String object_guid)
      • findWithinPoint

        @Query("Select t from #{#entityName} t where intersects(t.geometrie, :area) = true")
        List<MechanicalDuct> findWithinPoint​(org.locationtech.jts.geom.Geometry area)