Interface FunctionRepository

  • All Superinterfaces:
    org.springframework.data.repository.CrudRepository<Function,​String>, org.springframework.data.jpa.repository.JpaRepository<Function,​String>, org.springframework.data.repository.PagingAndSortingRepository<Function,​String>, org.springframework.data.repository.query.QueryByExampleExecutor<Function>, org.springframework.data.repository.Repository<Function,​String>

    public interface FunctionRepository
    extends org.springframework.data.jpa.repository.JpaRepository<Function,​String>
    The FunctionRepository interface declares the repository for the Function domain type.
    Author:
    Marcus Portmann
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void deleteById​(String functionCode)  
      • Methods inherited from interface org.springframework.data.repository.CrudRepository

        count, delete, deleteAll, deleteAll, deleteAllById, 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, 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, findOne
    • Method Detail

      • deleteById

        @Modifying
        @Query("delete from Function f where f.code = :functionCode")
        void deleteById​(@Param("functionCode")
                        String functionCode)
        Specified by:
        deleteById in interface org.springframework.data.repository.CrudRepository<Function,​String>