TenantRepository

@Repository
interface TenantRepository : JpaRepository<Tenant, String> (source)

Functions

Link copied to clipboard
abstract fun count(): Long
abstract fun <S : Tenant> count(example: Example<S>): Long
Link copied to clipboard
abstract fun delete(entity: Tenant)
Link copied to clipboard
abstract fun deleteAll()
abstract fun deleteAll(entities: MutableIterable<Tenant>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun deleteAllInBatch()
abstract fun deleteAllInBatch(entities: MutableIterable<Tenant>)
Link copied to clipboard
abstract fun deleteById(id: String)
Link copied to clipboard
open fun deleteInBatch(entities: MutableIterable<Tenant>)
Link copied to clipboard
abstract fun <S : Tenant> exists(example: Example<S>): Boolean
Link copied to clipboard
abstract fun existsByAlias(alias: String): Boolean
Link copied to clipboard
abstract fun existsByCnpj(cnpj: String): Boolean
Link copied to clipboard
abstract fun existsById(id: String): Boolean
Link copied to clipboard
abstract override fun <S : Tenant> findAll(example: Example<S>): MutableList<S>
abstract override fun <S : Tenant> findAll(example: Example<S>, sort: Sort): MutableList<S>
abstract override fun findAll(): MutableList<Tenant>
abstract override fun findAll(sort: Sort): MutableList<Tenant>
abstract fun findAll(pageable: Pageable): Page<Tenant>
abstract fun <S : Tenant> findAll(example: Example<S>, pageable: Pageable): Page<S>
Link copied to clipboard
abstract override fun findAllById(ids: MutableIterable<String>): MutableList<Tenant>
Link copied to clipboard
abstract fun <S : Tenant, R : Any> findBy(example: Example<S>, queryFunction: Function<FluentQuery.FetchableFluentQuery<S>, R>): R
Link copied to clipboard
abstract fun findByAlias(alias: String): Optional<Tenant>
Link copied to clipboard
abstract fun findById(id: String): Optional<Tenant>
Link copied to clipboard
abstract fun <S : Tenant> findOne(example: Example<S>): Optional<S>
Link copied to clipboard
abstract fun flush()
Link copied to clipboard
abstract fun getById(id: String): Tenant
Link copied to clipboard
abstract fun getOne(id: String): Tenant
Link copied to clipboard
abstract fun getReferenceById(id: String): Tenant
Link copied to clipboard
abstract fun <S : Tenant> save(entity: S): S
Link copied to clipboard
abstract override fun <S : Tenant> saveAll(entities: MutableIterable<S>): MutableList<S>
Link copied to clipboard
abstract fun <S : Tenant> saveAllAndFlush(entities: MutableIterable<S>): MutableList<S>
Link copied to clipboard
abstract fun <S : Tenant> saveAndFlush(entity: S): S