@Service
class SyncStatusService(val syncStatusRepository: SyncStatusRepository) : SyncStatusRepository

Service for modifying the sync status

Constructors

Link copied to clipboard
constructor(syncStatusRepository: SyncStatusRepository)

Properties

Functions

Link copied to clipboard
open override fun <S : SyncStatus?> count(example: Example<S?>?): Mono<Long?>?
open override fun count(): Mono<Long?>?
Link copied to clipboard
open override fun delete(entity: SyncStatus?): Mono<Void?>?
Link copied to clipboard
open override fun deleteAll(): Mono<Void?>?
open override fun deleteAll(entities: Iterable<out SyncStatus?>?): Mono<Void?>?
open override fun deleteAll(entityStream: Publisher<out SyncStatus?>?): Mono<Void?>?
Link copied to clipboard
open override fun deleteAllById(ids: Iterable<out ObjectId?>?): Mono<Void?>?
Link copied to clipboard
open override fun deleteById(id: ObjectId?): Mono<Void?>?
open override fun deleteById(id: Publisher<ObjectId?>?): Mono<Void?>?
Link copied to clipboard
open override fun <S : SyncStatus?> exists(example: Example<S?>?): Mono<Boolean?>?
Link copied to clipboard
open override fun existsById(id: ObjectId?): Mono<Boolean?>?
open override fun existsById(id: Publisher<ObjectId?>?): Mono<Boolean?>?
Link copied to clipboard
open override fun <S : SyncStatus?> findAll(example: Example<S?>?): Flux<S?>?
open override fun <S : SyncStatus?> findAll(example: Example<S?>?, sort: Sort?): Flux<S?>?
open override fun findAll(): Flux<SyncStatus?>?
open override fun findAll(sort: Sort?): Flux<SyncStatus?>?
Link copied to clipboard
open override fun findAllById(ids: Iterable<ObjectId?>?): Flux<SyncStatus?>?
open override fun findAllById(idStream: Publisher<ObjectId?>?): Flux<SyncStatus?>?
Link copied to clipboard
open override fun <S : SyncStatus?, R : Any?, P : Publisher<R?>?> findBy(example: Example<S?>?, queryFunction: Function<FluentQuery.ReactiveFluentQuery<S?>?, P?>?): P?
Link copied to clipboard
open override fun findById(id: ObjectId?): Mono<SyncStatus?>?
open override fun findById(id: Publisher<ObjectId?>?): Mono<SyncStatus?>?
Link copied to clipboard
open suspend override fun findByImsProject(imsProject: String): SyncStatus?

Find using the IMSProject ID

Link copied to clipboard
open override fun <S : SyncStatus?> findOne(example: Example<S?>?): Mono<S?>?
Link copied to clipboard
open override fun <S : SyncStatus?> insert(entity: S?): Mono<S?>?
open override fun <S : SyncStatus?> insert(entities: Iterable<S?>?): Flux<S?>?
open override fun <S : SyncStatus?> insert(entities: Publisher<S?>?): Flux<S?>?
Link copied to clipboard
open override fun <S : SyncStatus?> save(entity: S?): Mono<S?>?
Link copied to clipboard
open override fun <S : SyncStatus?> saveAll(entities: Iterable<S?>?): Flux<S?>?
open override fun <S : SyncStatus?> saveAll(entityStream: Publisher<S?>?): Flux<S?>?
Link copied to clipboard
@Transactional
suspend fun updateTime(imsProject: String, lastSuccessfulSync: OffsetDateTime)

Update the Time saved in the SyncStatusService