Package org.webtide.demo.auction.dao
Class CategoryDao
java.lang.Object
org.webtide.demo.auction.dao.CategoryDao
public class CategoryDao
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description CategoryDao()
-
Method Summary
Modifier and Type Method Description void
addItem(Item item)
java.util.List<Item>
findItems(java.lang.String expression)
java.util.List<Category>
getAllCategories()
java.util.Collection<Item>
getAllItems()
Category
getCategory(int categoryId)
Item
getItem(int itemId)
java.util.List<Item>
getItemsInCategory(java.lang.Integer categoryId)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CategoryDao
public CategoryDao()
-
-
Method Details
-
getItemsInCategory
-
addItem
-
getCategory
-
getAllCategories
-
findItems
-
getItem
-
getAllItems
-