Package gov.niem.tools.api.db.model
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 TypeMethodDescriptionlongcountBySteward_Id(Long stewardId) findByCategory(String category) findByShortName(String shortName) findOneBySteward_StewardKeyAndModelKey(String stewardKey, String modelKey) findOneBySteward_StewardKeyAndShortName(String stewardKey, String shortName) findStewardsByCategory(String category) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findOneBySteward_StewardKeyAndModelKey
-
findOneBySteward_StewardKeyAndShortName
-
findByCategory
-
findByShortName
-
findStewardsByStewardId
-
findStewardsByCategory
-
countBySteward_Id
-