StorageFileRepository

@Repository
interface StorageFileRepository : JpaRepository<StorageFile, String> (source)

Functions

Link copied to clipboard
abstract fun count(): Long
abstract fun <S : StorageFile> count(example: Example<S>): Long
Link copied to clipboard
abstract fun delete(entity: StorageFile)
Link copied to clipboard
abstract fun deleteAll()
abstract fun deleteAll(entities: MutableIterable<StorageFile>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun deleteAllInBatch()
Link copied to clipboard
abstract fun deleteById(id: String)
Link copied to clipboard
Link copied to clipboard
abstract fun <S : StorageFile> exists(example: Example<S>): Boolean
Link copied to clipboard
abstract fun existsById(id: String): Boolean
Link copied to clipboard
abstract override fun <S : StorageFile> findAll(example: Example<S>): MutableList<S>
abstract override fun <S : StorageFile> findAll(example: Example<S>, sort: Sort): MutableList<S>
abstract override fun findAll(): MutableList<StorageFile>
abstract override fun findAll(sort: Sort): MutableList<StorageFile>
abstract fun findAll(pageable: Pageable): Page<StorageFile>
abstract fun <S : StorageFile> findAll(example: Example<S>, pageable: Pageable): Page<S>
Link copied to clipboard
Link copied to clipboard
abstract fun findAllByTenantIdAndFolderId(tenantId: String, folderId: String?): List<StorageFile>
Link copied to clipboard
abstract fun <S : StorageFile, R : Any> findBy(example: Example<S>, queryFunction: Function<FluentQuery.FetchableFluentQuery<S>, R>): R
Link copied to clipboard
abstract fun findById(id: String): Optional<StorageFile>
Link copied to clipboard
abstract fun <S : StorageFile> findOne(example: Example<S>): Optional<S>
Link copied to clipboard
abstract fun flush()
Link copied to clipboard
abstract fun getById(id: String): StorageFile
Link copied to clipboard
abstract fun getOne(id: String): StorageFile
Link copied to clipboard
Link copied to clipboard
abstract fun <S : StorageFile> save(entity: S): S
Link copied to clipboard
abstract override fun <S : StorageFile> saveAll(entities: MutableIterable<S>): MutableList<S>
Link copied to clipboard
abstract fun <S : StorageFile> saveAllAndFlush(entities: MutableIterable<S>): MutableList<S>
Link copied to clipboard
abstract fun <S : StorageFile> saveAndFlush(entity: S): S