org.fm.addressbook.service.impl
Class CategoryServiceImpl
java.lang.Object
org.fm.addressbook.service.impl.CategoryServiceImpl
- All Implemented Interfaces:
- CatagoryService
public class CategoryServiceImpl
- extends java.lang.Object
- implements 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 Implimentation class.
- Author:
- Tennyson Varghese
Aneesh S
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CategoryServiceImpl
public CategoryServiceImpl()
deleteCategory
public void deleteCategory(Category category)
- Specified by:
deleteCategory
in interface CatagoryService
saveCategory
public void saveCategory(Category category)
- Specified by:
saveCategory
in interface CatagoryService
updateCategory
public void updateCategory(Category category)
- Specified by:
updateCategory
in interface CatagoryService
getAllCategories
public java.util.List<Category> getAllCategories()
- Specified by:
getAllCategories
in interface CatagoryService
getCategoryDAO
public CategoryDAO getCategoryDAO()
setCategoryDAO
public void setCategoryDAO(CategoryDAO categoryDAO)
getAllContacts
public java.util.List<Contact> getAllContacts(AddressBook addressBook,
Category category)
- Specified by:
getAllContacts
in interface CatagoryService
getCategory
public Category getCategory(long id)
- Specified by:
getCategory
in interface CatagoryService