ContentElementRepository

Implemented by services that can retrieve Chunks and other ContentElements by id.

Inheritors

Functions

Link copied to clipboard
abstract fun count(): Int

Return the total number of content elements in the repository

Link copied to clipboard
abstract fun findById(id: String): ContentElement?
Link copied to clipboard
abstract fun findChunksById(chunkIds: List<String>): List<Chunk>
Link copied to clipboard
abstract fun findChunksForEntity(entityId: String): List<Chunk>
Link copied to clipboard
abstract fun save(element: ContentElement): ContentElement