FriendshipModelRepository

@MongoRepository
interface FriendshipModelRepository : CrudRepository<FriendshipEntity, String>

Functions

Link copied to clipboard
abstract fun count(): Long
Link copied to clipboard
abstract fun delete(@NonNull entity: @NonNull FriendshipEntity)
Link copied to clipboard
abstract fun deleteAll()
abstract fun deleteAll(@NonNull entities: @NonNull MutableIterable<FriendshipEntity>)
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<FriendshipEntity>
Link copied to clipboard
@NonNull
abstract fun findById(@NonNull id: @NonNull String): @NonNull Optional<FriendshipEntity>
Link copied to clipboard
Link copied to clipboard
@NonNull
abstract fun <S : FriendshipEntity> save(@NonNull entity: @NonNull S): @NonNull S
Link copied to clipboard
@NonNull
abstract fun <S : FriendshipEntity> saveAll(@NonNull entities: @NonNull MutableIterable<S>): @NonNull MutableList<S>
Link copied to clipboard
@NonNull
abstract fun <S : FriendshipEntity> update(@NonNull entity: @NonNull S): @NonNull S
Link copied to clipboard
@NonNull
abstract fun <S : FriendshipEntity> updateAll(@NonNull entities: @NonNull MutableIterable<S>): @NonNull MutableList<S>