org.springframework.ldap.samples.person.dao
Interface PersonDao

All Known Implementing Classes:
DummyPersonDao, PersonDaoImpl, TraditionalPersonDaoImpl

public interface PersonDao

Data Access Object interface for the Person entity.

Author:
Mattias Arthursson, Ulrik Sandberg

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)
           
 

Method Detail

create

void create(Person person)

update

void update(Person person)

delete

void delete(Person person)

findByPrimaryKey

Person findByPrimaryKey(String dn)

findByPrimaryKeyData

Person findByPrimaryKeyData(String country,
                            String company,
                            String fullname)

findAll

List findAll()

find

List find(SearchCriteria criteria)


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