Class ItemDAO
java.lang.Object
app.dao.ItemDAO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddItemWithRecipe(Item item, List<RecipeIngredient> ingredients) voiddeleteItem(int itemId) voidupdateItem(Item item)
-
Constructor Details
-
ItemDAO
public ItemDAO()
-
-
Method Details
-
getAllItems
- Throws:
SQLException
-
addItem
- Throws:
SQLException
-
updateItem
- Throws:
SQLException
-
deleteItem
- Throws:
SQLException
-
getAllMods
-
addItemWithRecipe
- Throws:
SQLException
-