relatica/lib/data/interfaces/connections_repo_intf.dart

41 wiersze
932 B
Dart
Czysty Zwykły widok Historia

import 'dart:collection';
import 'package:result_monad/result_monad.dart';
import '../../models/connection.dart';
import '../../models/exec_error.dart';
class IConnectionsRepo {
bool addConnection(Connection connection) {
throw UnimplementedError();
}
bool addAllConnections(Iterable<Connection> newConnections) {
throw UnimplementedError();
}
bool updateConnection(Connection connection) {
throw UnimplementedError();
}
Result<Connection, ExecError> getById(String id) {
throw UnimplementedError();
}
Result<Connection, ExecError> getByName(String name) {
throw UnimplementedError();
}
Result<Connection, ExecError> getByProfileUrl(String url) {
throw UnimplementedError();
}
UnmodifiableListView<Connection> getMyContacts() {
throw UnimplementedError();
}
UnmodifiableListView<Connection> getKnownUsersByName(String name) {
throw UnimplementedError();
}
}