org.fm.addressbook.dao
Interface CategoryDAO

All Known Implementing Classes:
HibernateCategoryDAO

public interface CategoryDAO

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

CategoryDAO interface

Author:
Tennyson Varghese
Aneesh S

Method Summary
 void deleteCategory(Category category)
           
 java.util.List<Category> getAllCategories()
           
 java.util.List<Contact> getAllContacts(AddressBook addressBook, Category category)
           
 java.util.List<Contact> getAllContacts(Category category)
           
 Category getCategory(long id)
           
 void saveCategory(Category category)
           
 void updateCategory(Category category)
           
 

Method Detail

getCategory

Category getCategory(long id)

saveCategory

void saveCategory(Category category)

updateCategory

void updateCategory(Category category)

deleteCategory

void deleteCategory(Category category)

getAllContacts

java.util.List<Contact> getAllContacts(Category category)

getAllCategories

java.util.List<Category> getAllCategories()

getAllContacts

java.util.List<Contact> getAllContacts(AddressBook addressBook,
                                       Category category)