Package nl.b3p.formendpoint.repository
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 voiddeleteByObjectGuid(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
-
-
-
-
Method Detail
-
findById
Optional<MechanicalDuct> findById(Long id)
- Specified by:
findByIdin interfaceorg.springframework.data.repository.CrudRepository<MechanicalDuct,Long>
-
findByObjectGuid
Optional<MechanicalDuct> findByObjectGuid(String object_guid)
-
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)
-
-