it.eng.rdlab.um.ldap.group.service
Class LdapCollectionManager

java.lang.Object
  extended by it.eng.rdlab.um.ldap.group.service.LdapCollectionManager
All Implemented Interfaces:
it.eng.rdlab.um.group.service.GroupManager, LdapBasicConstants
Direct Known Subclasses:
LdapGroupManager, LdapOrganizationManager

public abstract class LdapCollectionManager
extends Object
implements it.eng.rdlab.um.group.service.GroupManager, LdapBasicConstants


Field Summary
protected  String baseDn
           
protected  LdapManager ldapManager
           
 
Fields inherited from interface it.eng.rdlab.um.ldap.LdapBasicConstants
JAVA_LDAP_DRIVER, OBJECT_CLASS, OBJECT_CLASS_TOP
 
Constructor Summary
LdapCollectionManager(String baseDn)
           
 
Method Summary
 void close()
           
 boolean deleteGroup(String groupId, boolean checkSubgroups)
           
protected  it.eng.rdlab.um.beans.GenericModel generateGroup(String groupId, LdapModelGenerator generator)
           
 long getGroupParentId(String groupId)
           
protected  List<it.eng.rdlab.um.group.beans.GroupModel> internalListGroups(LdapAbstractModelWrapper wrapper, LdapModelGenerator generator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface it.eng.rdlab.um.group.service.GroupManager
createGroup, createSubGroup, getGroup, listGroups, listGroups, listSubGroupsByGroup, updateGroup
 

Field Detail

baseDn

protected String baseDn

ldapManager

protected LdapManager ldapManager
Constructor Detail

LdapCollectionManager

public LdapCollectionManager(String baseDn)
                      throws NamingException
Throws:
NamingException
Method Detail

deleteGroup

public boolean deleteGroup(String groupId,
                           boolean checkSubgroups)
                    throws it.eng.rdlab.um.exceptions.UserManagementSystemException,
                           it.eng.rdlab.um.exceptions.GroupRetrievalException
Specified by:
deleteGroup in interface it.eng.rdlab.um.group.service.GroupManager
Throws:
it.eng.rdlab.um.exceptions.UserManagementSystemException
it.eng.rdlab.um.exceptions.GroupRetrievalException

generateGroup

protected it.eng.rdlab.um.beans.GenericModel generateGroup(String groupId,
                                                           LdapModelGenerator generator)
                                                    throws LdapManagerException,
                                                           NamingException
Throws:
LdapManagerException
NamingException

getGroupParentId

public long getGroupParentId(String groupId)
                      throws it.eng.rdlab.um.exceptions.UserManagementSystemException,
                             it.eng.rdlab.um.exceptions.GroupRetrievalException
Specified by:
getGroupParentId in interface it.eng.rdlab.um.group.service.GroupManager
Throws:
it.eng.rdlab.um.exceptions.UserManagementSystemException
it.eng.rdlab.um.exceptions.GroupRetrievalException

internalListGroups

protected List<it.eng.rdlab.um.group.beans.GroupModel> internalListGroups(LdapAbstractModelWrapper wrapper,
                                                                          LdapModelGenerator generator)
                                                                   throws it.eng.rdlab.um.exceptions.UserManagementSystemException,
                                                                          it.eng.rdlab.um.exceptions.GroupRetrievalException
Throws:
it.eng.rdlab.um.exceptions.UserManagementSystemException
it.eng.rdlab.um.exceptions.GroupRetrievalException

close

public void close()
Specified by:
close in interface it.eng.rdlab.um.group.service.GroupManager


Copyright © 2013. All Rights Reserved.