public interface IngredientService extends IngredientDao
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Long> |
add(java.util.List<Ingredient> ingredients)
Persists a list of ingredients.
|
java.util.List<Ingredient> |
find(java.util.List<java.lang.Long> ids)
Finds a list of ingredients by their ids.
|
void |
update(Ingredient updated)
Updates an entity.
|
void |
update(java.util.List<Ingredient> ingredients)
Update a list of ingredients.
|
add, delete, find, findAllvoid update(Ingredient updated)
update in interface GenericDao<Ingredient,java.lang.Long>updated - entity to updatejava.util.List<java.lang.Long> add(java.util.List<Ingredient> ingredients)
ingredients - ingredients to addvoid update(java.util.List<Ingredient> ingredients)
ingredients - ingredients to update.java.util.List<Ingredient> find(java.util.List<java.lang.Long> ids)
ids - ids of the ingredients