wicket.spring.common
Interface ContactDao
- All Known Implementing Classes:
- ContactDaoImpl
- public interface ContactDao
interface for retrieving contacts from a database
- Author:
- Igor Vaynberg (ivaynberg)
count
public int count()
- Returns:
- total number of contacts available
find
public java.util.Iterator find(QueryParam qp)
- Parameters:
qp - sorting and paging info
- Returns:
- iterator over contacts
get
public Contact get(long id)
- Parameters:
id - contact id
- Returns:
- contact with matching id
Copyright © 2005-2007 Wicket developers. All Rights Reserved.