org.springframework.ldap.samples.person.dao
Class DummyPersonDao

java.lang.Object
  extended by org.springframework.ldap.samples.person.dao.DummyPersonDao
All Implemented Interfaces:
PersonDao

public class DummyPersonDao
extends Object
implements PersonDao


Constructor Summary
DummyPersonDao()
           
 
Method Summary
 void create(Person person)
           
 void delete(Person person)
           
 List find(SearchCriteria criteria)
           
 List findAll()
           
 Person findByPrimaryKey(String dn)
           
 Person findByPrimaryKeyData(String country, String company, String fullname)
           
 void update(Person person)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyPersonDao

public DummyPersonDao()
Method Detail

create

public void create(Person person)
Specified by:
create in interface PersonDao

delete

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

find

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

findAll

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

findByPrimaryKey

public Person findByPrimaryKey(String dn)
Specified by:
findByPrimaryKey in interface PersonDao

findByPrimaryKeyData

public Person findByPrimaryKeyData(String country,
                                   String company,
                                   String fullname)
Specified by:
findByPrimaryKeyData in interface PersonDao

update

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


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