Interface ServerConfigRepo

All Superinterfaces:
org.springframework.data.repository.CrudRepository<ServerConfig,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<ServerConfig>, systems.dennis.shared.repository.PaginationRepository<ServerConfig>, org.springframework.data.repository.Repository<ServerConfig,Long>

public interface ServerConfigRepo extends systems.dennis.shared.repository.PaginationRepository<ServerConfig>
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
     
     

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, saveAll

    Methods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor

    count, delete, exists, findAll, findAll, findBy, findOne

    Methods inherited from interface systems.dennis.shared.repository.PaginationRepository

    findAll, findAll, findFirst, save
  • Method Details

    • existsByTypeAndActiveIsTrueAndIdNot

      boolean existsByTypeAndActiveIsTrueAndIdNot(Long type, Long id)
    • existsByTypeAndActiveIsTrue

      boolean existsByTypeAndActiveIsTrue(Long type)
    • findFirstByActiveIsTrueAndType

      Optional<ServerConfig> findFirstByActiveIsTrueAndType(Long type)