|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springframework.orm.ibatis.support.SqlMapClientDaoSupport
wicket.contrib.phonebook.IbatisContactDao
public class IbatisContactDao
implements ContactDao.
| Field Summary |
|---|
| Fields inherited from class org.springframework.dao.support.DaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
IbatisContactDao()
|
|
| Method Summary | |
|---|---|
int |
count(Contact filter)
Return the number of Configs in the DB. |
void |
delete(long id)
Delete a Contact from the DB, given it's id. |
Iterator<Contact> |
find(QueryParam qp,
Contact filter)
Query the DB, using the supplied query details. |
List<String> |
getUniqueLastNames()
Returns a list of unique last names |
Contact |
load(long id)
Load a Contact from the DB, given it's id . |
Contact |
save(Contact contact)
Save the contact to the DB |
| Methods inherited from class org.springframework.orm.ibatis.support.SqlMapClientDaoSupport |
|---|
checkDaoConfig, getDataSource, getSqlMapClient, getSqlMapClientTemplate, setDataSource, setSqlMapClient, setSqlMapClientTemplate |
| Methods inherited from class org.springframework.dao.support.DaoSupport |
|---|
afterPropertiesSet, initDao |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IbatisContactDao()
| Method Detail |
|---|
public Contact load(long id)
throws org.springframework.dao.DataAccessException
Contact from the DB, given it's id .
load in interface ContactDaoid - The id of the Contact to load.
org.springframework.dao.DataAccessExceptionpublic Contact save(Contact contact)
save in interface ContactDaocontact -
public void delete(long id)
Contact from the DB, given it's id.
delete in interface ContactDaoid - The id of the Contact to delete.
public Iterator<Contact> find(QueryParam qp,
Contact filter)
find in interface ContactDaoqp - Query Paramaters to use.
public int count(Contact filter)
count in interface ContactDaopublic List<String> getUniqueLastNames()
getUniqueLastNames in interface ContactDao
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||