org.fm.addressbook.delegate
Class CategoryDelegate

java.lang.Object
  extended by org.fm.addressbook.delegate.CategoryDelegate

public class CategoryDelegate
extends java.lang.Object

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

CategoryDelegate class.

Author:
Tennyson Varghese
Aneesh S

Constructor Summary
CategoryDelegate()
          constructor which initialise the categoryService with ServiceLocator
 
Method Summary
 void deleteCategory(Category category)
           
 java.util.List<Category> getAllCategories()
           
 java.util.List<Contact> getAllContacts(AddressBook addressbook, Category category)
           
 void saveCategory(Category category)
           
 void updateCategory(Category category)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoryDelegate

public CategoryDelegate()
constructor which initialise the categoryService with ServiceLocator

Method Detail

saveCategory

public void saveCategory(Category category)

updateCategory

public void updateCategory(Category category)

deleteCategory

public void deleteCategory(Category category)

getAllCategories

public java.util.List<Category> getAllCategories()

getAllContacts

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