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

    Modifier and Type
    Method
    Description
    Find document state 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<DocumentState> findByName(String name)
      Find document state by name.
      Parameters:
      name - document state name
      Returns:
      document state entity