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 Link icon

    Modifier and Type
    Method
    Description
     
    findByForeignPKeyAndDeleted(String foreignPKey, boolean markForDeletion)
     
     

    Methods inherited from interface org.springframework.data.repository.CrudRepository Link icon

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository Link icon

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository Link icon

    findAll, findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository Link icon

    findAll

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository Link icon

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor Link icon

    count, exists, findAll, findBy, findOne
  • Method Details Link icon

    • findByLocationId Link icon

      Optional<LocationEO> findByLocationId(String locationId)
    • findByForeignPKeyAndDeleted Link icon

      @Query("from LocationEO l where l.foreignPKey = :foreignPKey and l.markForDeletion = :markForDeletion") Optional<LocationEO> findByForeignPKeyAndDeleted(String foreignPKey, boolean markForDeletion)
    • findByForeignPKey Link icon

      Optional<LocationEO> findByForeignPKey(String foreignPKey)