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

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

public class DummyGroupDao
extends Object
implements GroupDao


Constructor Summary
DummyGroupDao()
           
 
Method Summary
 void create(Group group)
           
 void delete(Group group)
           
 List find(SearchCriteria criteria)
           
 List findAll()
           
 Group findByPrimaryKey(String name)
           
 void update(Group group)
           
 void updateMemberDn(String originalDn, String newDn)
          Update all groups referring to the original DN with the new DN value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyGroupDao

public DummyGroupDao()
Method Detail

create

public void create(Group group)
Specified by:
create in interface GroupDao

delete

public void delete(Group group)
Specified by:
delete in interface GroupDao

find

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

findAll

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

findByPrimaryKey

public Group findByPrimaryKey(String name)
Specified by:
findByPrimaryKey in interface GroupDao

update

public void update(Group group)
Specified by:
update in interface GroupDao

updateMemberDn

public void updateMemberDn(String originalDn,
                           String newDn)
Description copied from interface: GroupDao
Update all groups referring to the original DN with the new DN value.

Specified by:
updateMemberDn in interface GroupDao
Parameters:
originalDn - the original DN.
newDn - the new DN.


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