public class CategoryDao extends Object
| Constructor and Description |
|---|
CategoryDao() |
| Modifier and Type | Method and Description |
|---|---|
void |
addItem(Item item) |
List<Item> |
findItems(String expression) |
List<Category> |
getAllCategories() |
Collection<Item> |
getAllItems() |
Category |
getCategory(int categoryId) |
Item |
getItem(int itemId) |
List<Item> |
getItemsInCategory(Integer categoryId) |
public void addItem(Item item)
public Category getCategory(int categoryId)
public Item getItem(int itemId)
public Collection<Item> getAllItems()
Copyright © 2008-2012 Dojo Foundation. All Rights Reserved.