UserRepository

@Repository
interface UserRepository : JpaRepository<User, String> (source)

Functions

Link copied to clipboard
abstract fun count(): Long
abstract fun <S : User> count(example: Example<S>): Long
Link copied to clipboard
abstract fun delete(entity: User)
Link copied to clipboard
abstract fun deleteAll()
abstract fun deleteAll(entities: MutableIterable<User>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun deleteAllInBatch()
abstract fun deleteAllInBatch(entities: MutableIterable<User>)
Link copied to clipboard
abstract fun deleteById(id: String)
Link copied to clipboard
open fun deleteInBatch(entities: MutableIterable<User>)
Link copied to clipboard
abstract fun <S : User> exists(example: Example<S>): Boolean
Link copied to clipboard
abstract fun existsById(id: String): Boolean
Link copied to clipboard
abstract fun existsByTenantIdAndCpf(tenantId: String, cpf: String): Boolean
Link copied to clipboard
abstract fun existsByTenantIdAndEmail(tenantId: String, email: String): Boolean
Link copied to clipboard
abstract fun existsByTenantIdAndUsername(tenantId: String, username: String): Boolean
Link copied to clipboard
abstract override fun <S : User> findAll(example: Example<S>): MutableList<S>
abstract override fun <S : User> findAll(example: Example<S>, sort: Sort): MutableList<S>
abstract override fun findAll(): MutableList<User>
abstract override fun findAll(sort: Sort): MutableList<User>
abstract fun findAll(pageable: Pageable): Page<User>
abstract fun <S : User> findAll(example: Example<S>, pageable: Pageable): Page<S>
Link copied to clipboard
abstract fun findAllByEmail(email: String): List<User>
Link copied to clipboard
abstract override fun findAllById(ids: MutableIterable<String>): MutableList<User>
Link copied to clipboard
abstract fun <S : User, R : Any> findBy(example: Example<S>, queryFunction: Function<FluentQuery.FetchableFluentQuery<S>, R>): R
Link copied to clipboard
abstract fun findById(id: String): Optional<User>
Link copied to clipboard
abstract fun findByTenantId(tenantId: String): List<User>
Link copied to clipboard
abstract fun findByTenantIdAndEmail(tenantId: String, email: String): Optional<User>
Link copied to clipboard
abstract fun findByTenantIdAndUsername(tenantId: String, username: String): Optional<User>
Link copied to clipboard
abstract fun <S : User> findOne(example: Example<S>): Optional<S>
Link copied to clipboard
abstract fun flush()
Link copied to clipboard
abstract fun getById(id: String): User
Link copied to clipboard
abstract fun getOne(id: String): User
Link copied to clipboard
abstract fun getReferenceById(id: String): User
Link copied to clipboard
abstract fun <S : User> save(entity: S): S
Link copied to clipboard
abstract override fun <S : User> saveAll(entities: MutableIterable<S>): MutableList<S>
Link copied to clipboard
abstract fun <S : User> saveAllAndFlush(entities: MutableIterable<S>): MutableList<S>
Link copied to clipboard
abstract fun <S : User> saveAndFlush(entity: S): S