ServerModelRepository

@MongoRepository
interface ServerModelRepository : CrudRepository<ServerEntity, String>

Functions

Link copied to clipboard
abstract fun count(): Long
Link copied to clipboard
abstract fun delete(@NonNull entity: @NonNull ServerEntity)
Link copied to clipboard
abstract fun deleteAll()
abstract fun deleteAll(@NonNull entities: @NonNull MutableIterable<ServerEntity>)
Link copied to clipboard
abstract fun deleteById(@NonNull id: @NonNull String)
Link copied to clipboard
abstract fun existsById(@NonNull id: @NonNull String): Boolean
Link copied to clipboard
@NonNull
abstract fun findAll(): @NonNull MutableList<ServerEntity>
Link copied to clipboard
@NonNull
abstract fun findById(@NonNull id: @NonNull String): @NonNull Optional<ServerEntity>
Link copied to clipboard
Link copied to clipboard
@NonNull
abstract fun <S : ServerEntity> save(@NonNull entity: @NonNull S): @NonNull S
Link copied to clipboard
@NonNull
abstract fun <S : ServerEntity> saveAll(@NonNull entities: @NonNull MutableIterable<S>): @NonNull MutableList<S>
Link copied to clipboard
@NonNull
abstract fun <S : ServerEntity> update(@NonNull entity: @NonNull S): @NonNull S
Link copied to clipboard
@NonNull
abstract fun <S : ServerEntity> updateAll(@NonNull entities: @NonNull MutableIterable<S>): @NonNull MutableList<S>