Interface UserDirectoryTypeRepository

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void deleteById​(String userDirectoryTypeCode)  
      • 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 UserDirectoryType udt where udt.code = :userDirectoryTypeCode")
        void deleteById​(@Param("userDirectoryTypeCode")
                        String userDirectoryTypeCode)
        Specified by:
        deleteById in interface org.springframework.data.repository.CrudRepository<UserDirectoryType,​String>