TinkKeysetRepository

interface TinkKeysetRepository : JpaRepository<TinkKeyset, String>

Functions

Link copied to clipboard
abstract fun count(): Long
abstract fun <S : TinkKeyset> count(example: Example<S>): Long
Link copied to clipboard
abstract fun delete(entity: TinkKeyset)
Link copied to clipboard
abstract fun deleteAll()
abstract fun deleteAll(entities: MutableIterable<TinkKeyset>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun deleteAllInBatch()
abstract fun deleteAllInBatch(entities: MutableIterable<TinkKeyset>)
Link copied to clipboard
abstract fun deleteById(id: String)
Link copied to clipboard
open fun deleteInBatch(entities: MutableIterable<TinkKeyset>)
Link copied to clipboard
abstract fun <S : TinkKeyset> exists(example: Example<S>): Boolean
Link copied to clipboard
abstract fun existsById(id: String): Boolean
Link copied to clipboard
abstract override fun <S : TinkKeyset> findAll(example: Example<S>): MutableList<S>
abstract override fun <S : TinkKeyset> findAll(example: Example<S>, sort: Sort): MutableList<S>
abstract override fun findAll(): MutableList<TinkKeyset>
abstract override fun findAll(sort: Sort): MutableList<TinkKeyset>
abstract fun findAll(pageable: Pageable): Page<TinkKeyset>
abstract fun <S : TinkKeyset> findAll(example: Example<S>, pageable: Pageable): Page<S>
Link copied to clipboard
abstract override fun findAllById(ids: MutableIterable<String>): MutableList<TinkKeyset>
Link copied to clipboard
abstract fun <S : TinkKeyset, R : Any> findBy(example: Example<S>, queryFunction: Function<FluentQuery.FetchableFluentQuery<S>, R>): R
Link copied to clipboard
abstract fun findById(id: String): Optional<TinkKeyset>
Link copied to clipboard
abstract fun <S : TinkKeyset> findOne(example: Example<S>): Optional<S>
Link copied to clipboard
abstract fun flush()
Link copied to clipboard
abstract fun getById(id: String): TinkKeyset
Link copied to clipboard
abstract fun getOne(id: String): TinkKeyset
Link copied to clipboard
abstract fun getReferenceById(id: String): TinkKeyset
Link copied to clipboard
@Modifying
@Transactional
@Query(value = " insert into tink_keysets (id, keyset_json, created_at, updated_at) values (:id, cast(:keysetJson as jsonb), current_timestamp, current_timestamp) ", nativeQuery = true)
abstract fun insert(@Param(value = "id") id: String, @Param(value = "keysetJson") keysetJson: String): Int
Link copied to clipboard
abstract fun <S : TinkKeyset> save(entity: S): S
Link copied to clipboard
abstract override fun <S : TinkKeyset> saveAll(entities: MutableIterable<S>): MutableList<S>
Link copied to clipboard
abstract fun <S : TinkKeyset> saveAllAndFlush(entities: MutableIterable<S>): MutableList<S>
Link copied to clipboard
abstract fun <S : TinkKeyset> saveAndFlush(entity: S): S