ArticleViewRepository

@EnableRedisRepositories
interface ArticleViewRepository : CrudRepository<ArticleView, String>

Functions

Link copied to clipboard
abstract fun count(): Long
Link copied to clipboard
abstract fun delete(entity: ArticleView)
Link copied to clipboard
abstract fun deleteAll()
abstract fun deleteAll(entities: MutableIterable<ArticleView>)
Link copied to clipboard
Link copied to clipboard
abstract fun deleteById(id: String)
Link copied to clipboard
abstract fun existsById(id: String): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun findById(id: String): Optional<ArticleView>
Link copied to clipboard
abstract fun <S : ArticleView> save(entity: S): S
Link copied to clipboard
abstract fun <S : ArticleView> saveAll(entities: MutableIterable<S>): MutableIterable<S>