public interface UserDao
Modifier and Type | Method and Description |
---|---|
Single<Integer> |
delete(Collection<User> users) |
Single<Integer> |
delete(User... users) |
Single<Integer> |
delete(User user) |
LiveData<User> |
getUserById(long userId) |
Maybe<User> |
getUserByOauthKey(String oauthKey) |
LiveData<List<User>> |
getUserByUserType(long userTypeId) |
Single<List<Long>> |
insert(Collection<User> users) |
Single<List<Long>> |
insert(User... users) |
Single<Long> |
insert(User user) |
Single<Integer> |
update(Collection<User> users) |
Single<Integer> |
update(User... users) |
Single<Integer> |
update(User user) |
Single<List<Long>> insert(Collection<User> users)
Single<Integer> update(Collection<User> users)
Single<Integer> delete(Collection<User> users)