org.fm.addressbook.service
Interface CatagoryService

All Known Implementing Classes:
CategoryServiceImpl

public interface CatagoryService

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

CategoryService class.

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)
           
 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)

getAllCategories

java.util.List<Category> getAllCategories()

getAllContacts

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