Interface LocationRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<LocationEO,
,Long> org.springframework.data.jpa.repository.JpaRepository<LocationEO,
,Long> org.springframework.data.repository.ListCrudRepository<LocationEO,
,Long> org.springframework.data.repository.ListPagingAndSortingRepository<LocationEO,
,Long> org.springframework.data.repository.PagingAndSortingRepository<LocationEO,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<LocationEO>
,org.springframework.data.repository.Repository<LocationEO,
Long>
public interface LocationRepository
extends org.springframework.data.jpa.repository.JpaRepository<LocationEO,Long>
A LocationRepository.
- Author:
- Heiko Scherrer
-
Method Summary
Modifier and TypeMethodDescriptionfindByForeignPKey
(String foreignPKey) findByForeignPKeyAndDeleted
(String foreignPKey, boolean markForDeletion) findByLocationId
(String locationId) 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, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Methods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll
Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAll
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 Details
-
findByLocationId
-
findByForeignPKeyAndDeleted
@Query("from LocationEO l where l.foreignPKey = :foreignPKey and l.markForDeletion = :markForDeletion") Optional<LocationEO> findByForeignPKeyAndDeleted(String foreignPKey, boolean markForDeletion) -
findByForeignPKey
-