Interface StatusRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<Status,String>, org.springframework.data.jpa.repository.JpaRepository<Status,String>, org.springframework.data.repository.PagingAndSortingRepository<Status,String>, org.springframework.data.repository.query.QueryByExampleExecutor<Status>, org.springframework.data.repository.Repository<Status,String>

@Repository public interface StatusRepository extends org.springframework.data.jpa.repository.JpaRepository<Status,String>
Repository interface to do queries for status data.
  • Method Summary

    Modifier and Type
    Method
    Description
    findByName(String statusName)
    Getting status by Name.

    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, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush

    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

    • findByName

      Optional<Status> findByName(String statusName)
      Getting status by Name.
      Parameters:
      statusName - core user Id.
      Returns:
      the firm.