Class OdmPersonDaoImpl
java.lang.Object
org.springframework.ldap.samples.odm.dao.OdmPersonDaoImpl
- All Implemented Interfaces:
PersonDao
Default implementation of PersonDao. This implementation uses the Object-Directory Mapping feature,
which requires the entity classes to be annotated, but relieves the programmer from the tedious
task of mapping to and from entity objects, using attribute or dn component values.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
findAll()
findByPrimaryKey
(String country, String company, String fullname) void
setLdapTemplate
(LdapTemplate ldapTemplate) void
-
Constructor Details
-
OdmPersonDaoImpl
public OdmPersonDaoImpl()
-
-
Method Details
-
create
-
update
-
delete
-
getAllPersonNames
- Specified by:
getAllPersonNames
in interfacePersonDao
-
findAll
-
findByPrimaryKey
- Specified by:
findByPrimaryKey
in interfacePersonDao
-
setLdapTemplate
-