org.springframework.ldap.samples.person.service
Class PersonServiceImpl

java.lang.Object
  extended by org.springframework.ldap.samples.person.service.PersonServiceImpl
All Implemented Interfaces:
PersonService

public class PersonServiceImpl
extends Object
implements PersonService

Service implementation for managing the Person entity.

Author:
Mattias Arthursson, Ulrik Sandberg

Constructor Summary
PersonServiceImpl()
           
 
Method Summary
 void create(String country, String company, String fullname, String lastname, String[] description)
           
 void delete(Person person)
           
 List find(SearchCriteria criteria)
           
 List findAll()
           
 Person findByPrimaryKey(String country, String company, String name)
           
 void setGroupDao(GroupDao groupDao)
           
 void setPersonDao(PersonDao personDao)
           
 void update(Person person)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersonServiceImpl

public PersonServiceImpl()
Method Detail

create

public void create(String country,
                   String company,
                   String fullname,
                   String lastname,
                   String[] description)
Specified by:
create in interface PersonService

update

public void update(Person person)
Specified by:
update in interface PersonService

delete

public void delete(Person person)
Specified by:
delete in interface PersonService

findByPrimaryKey

public Person findByPrimaryKey(String country,
                               String company,
                               String name)
Specified by:
findByPrimaryKey in interface PersonService

findAll

public List findAll()
Specified by:
findAll in interface PersonService

find

public List find(SearchCriteria criteria)
Specified by:
find in interface PersonService

setPersonDao

public void setPersonDao(PersonDao personDao)

setGroupDao

public void setGroupDao(GroupDao groupDao)


Copyright © 2006-2011 Spring Framework. All Rights Reserved.