Interface ModelRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<Model,Long>, org.springframework.data.jpa.repository.JpaRepository<Model,Long>, org.springframework.data.repository.ListCrudRepository<Model,Long>, org.springframework.data.repository.ListPagingAndSortingRepository<Model,Long>, org.springframework.data.repository.PagingAndSortingRepository<Model,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<Model>, org.springframework.data.repository.Repository<Model,Long>

public interface ModelRepository extends org.springframework.data.jpa.repository.JpaRepository<Model,Long>
Repository interface for finding and managing models in the database.
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
     
     
     

    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

    • findOneBySteward_StewardKeyAndModelKey

      Optional<Model> findOneBySteward_StewardKeyAndModelKey(String stewardKey, String modelKey)
    • findOneBySteward_StewardKeyAndShortName

      Optional<Model> findOneBySteward_StewardKeyAndShortName(String stewardKey, String shortName)
    • findByCategory

      List<Model> findByCategory(String category)
    • findByShortName

      List<Model> findByShortName(String shortName)
    • findStewardsByStewardId

      List<Model> findStewardsByStewardId(Long id)
    • findStewardsByCategory

      List<Model> findStewardsByCategory(String category)