Package gov.niem.tools.api.db.namespace
Interface NamespaceRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Namespace,,Long> org.springframework.data.jpa.repository.JpaRepository<Namespace,,Long> org.springframework.data.repository.ListCrudRepository<Namespace,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<Namespace,,Long> org.springframework.data.repository.PagingAndSortingRepository<Namespace,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<Namespace>,org.springframework.data.repository.Repository<Namespace,Long>
public interface NamespaceRepository
extends org.springframework.data.jpa.repository.JpaRepository<Namespace,Long>
Repository interface for finding and managing namespaces in the database.
-
Method Summary
Modifier and TypeMethodDescriptionlongcountByVersion_Id(Long versionId) longcountByVersion_IdAndCategory(Long versionId, Namespace.Category category) findOneByVersion_IdAndPrefix(Long versionId, String prefix) 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
-
findOneByVersion_IdAndPrefix
-
countByVersion_Id
-
countByVersion_IdAndCategory
-