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 SummaryModifier and TypeMethodDescriptionfindByForeignPKey(String foreignPKey) findByForeignPKeyAndDeleted(String foreignPKey, boolean markForDeletion) findByLocationId(String locationId) Methods inherited from interface org.springframework.data.repository.CrudRepositorycount, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepositorydeleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepositoryfindAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepositoryfindAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepositoryfindAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutorcount, 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
 
-