org.fm.addressbook.dao.hibernate
Class HibernateContactDAO
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
org.fm.addressbook.dao.hibernate.HibernateContactDAO
- All Implemented Interfaces:
- ContactDAO, org.springframework.beans.factory.InitializingBean
public class HibernateContactDAO
- extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
- implements ContactDAO
JContact- online Address Book Management Systemhttp://jcontact.sourceforge.net/
Licensed under the terms of any of the following licenses at your choice: -
GNU General Public License Version 2 or later (the "GPL") http://www.gnu.org/licenses/gpl.html -
GNU Lesser General Public License Version 2.1 or later (the "LGPL") http://www.gnu.org/licenses/lgpl.html
HibernateContactDAO class.
- Author:
- Tennyson Varghese
Aneesh S
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport |
getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory |
Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateContactDAO
public HibernateContactDAO()
saveContact
public void saveContact(Contact contact)
- Specified by:
saveContact
in interface ContactDAO
updateContact
public void updateContact(Contact contact)
- Specified by:
updateContact
in interface ContactDAO
deleteContact
public void deleteContact(Contact contact)
- Specified by:
deleteContact
in interface ContactDAO
getAllContacts
public java.util.List<Contact> getAllContacts()
- Specified by:
getAllContacts
in interface ContactDAO
getAllContactsByIndex
public java.util.List<Contact> getAllContactsByIndex(java.lang.String index)
- Specified by:
getAllContactsByIndex
in interface ContactDAO
searchContacts
public void searchContacts(java.lang.String searchKey)
- Specified by:
searchContacts
in interface ContactDAO
deleteAllContacts
public void deleteAllContacts(java.util.List<Contact> contacts)
- Specified by:
deleteAllContacts
in interface ContactDAO