public interface RecipeDao
Modifier and Type | Method and Description |
---|---|
Single<Recipe> |
check() |
Single<Integer> |
delete(Recipe... recipes) |
LiveData<List<Recipe>> |
favList() |
Single<Recipe> |
getOne(long id) |
Single<List<Long>> |
insert(Collection<Recipe> recipes) |
Single<Long> |
insert(Recipe recipe) |
Single<RecipePojo> |
loadRecipeData(long id) |
LiveData<List<Recipe>> |
select() |
Maybe<Recipe> |
select(String title) |
Single<Integer> |
update(Recipe recipe) |
Single<List<Long>> insert(Collection<Recipe> recipes)
Single<RecipePojo> loadRecipeData(long id)