Interface DocumentStateRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<DocumentState,,Long> org.springframework.data.jpa.repository.JpaRepository<DocumentState,,Long> org.springframework.data.repository.PagingAndSortingRepository<DocumentState,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<DocumentState>,org.springframework.data.repository.Repository<DocumentState,Long>
@Repository
public interface DocumentStateRepository
extends org.springframework.data.jpa.repository.JpaRepository<DocumentState,Long>
Repository for queries for application document state.
-
Method Summary
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, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlushMethods 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
-
findByName
Find document state by name.- Parameters:
name- document state name- Returns:
- document state entity
-