|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stratelia.silverpeas.domains.ldapdriver.AbstractLDAPGroup
com.stratelia.silverpeas.domains.ldapdriver.LDAPGroupAllRoot
public class LDAPGroupAllRoot
This class manage groups that are described as follows : The group object contains an attribute that point to each users and sub-groups DN Example (with the attribute 'member') : member cn=user1,ou=people,o=stratelia member cn=user2,ou=people,o=stratelia .... THOSE GROUPS ARE ALL CONSIDERED AS ROOT GROUPS ALL DESCENDENT USERS ARE PUT IN FIRST LEVEL USERS
| Constructor Summary | |
|---|---|
LDAPGroupAllRoot()
|
|
| Method Summary | |
|---|---|
Group[] |
getAllChangedGroups(String lds,
String extraFilter)
|
protected com.novell.ldap.LDAPEntry[] |
getChildGroupsEntry(String lds,
String parentId,
String extraFilter)
Method declaration THIS FUNCTION THROW EXCEPTION ONLY WHEN NO SYNCHRO IS RUNNING |
String[] |
getGroupMemberGroupIds(String lds,
String groupId)
All root groups, so, no group belongs to another... |
protected List<String> |
getMemberGroupIds(String lds,
String memberId,
boolean isGroup)
|
protected List<com.novell.ldap.LDAPEntry> |
getTRUEChildGroupsEntry(String lds,
com.novell.ldap.LDAPEntry theEntry)
Method declaration THIS FUNCTION THROW EXCEPTION ONLY WHEN NO SYNCHRO IS RUNNING |
protected List<String> |
getTRUEUserIds(String lds,
com.novell.ldap.LDAPEntry groupEntry)
|
protected String[] |
getUserIds(String lds,
com.novell.ldap.LDAPEntry groupEntry)
Method declaration |
String[] |
getUserMemberGroupIds(String lds,
String userId)
return the users groups IDs THIS FUNCTION ALWAYS THROW EXCEPTION (EVEN IF A SYNCHRO IS RUNNING) |
| Methods inherited from class com.stratelia.silverpeas.domains.ldapdriver.AbstractLDAPGroup |
|---|
beginSynchronization, endSynchronization, getAllGroups, getGroup, getGroupByName, getGroupEntry, getGroupEntryByName, getGroups, getMaxTimeStamp, init, translateGroup, translateGroups |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LDAPGroupAllRoot()
| Method Detail |
|---|
protected List<String> getMemberGroupIds(String lds,
String memberId,
boolean isGroup)
throws AdminException
AdminException
public String[] getGroupMemberGroupIds(String lds,
String groupId)
throws AdminException
getGroupMemberGroupIds in class AbstractLDAPGrouplds - groupId - the group's Id
AdminException
public String[] getUserMemberGroupIds(String lds,
String userId)
throws AdminException
AbstractLDAPGroup
getUserMemberGroupIds in class AbstractLDAPGroupuserId - the user's Id
AdminException
protected String[] getUserIds(String lds,
com.novell.ldap.LDAPEntry groupEntry)
throws AdminException
getUserIds in class AbstractLDAPGrouplds - groupEntry -
AdminException
protected List<String> getTRUEUserIds(String lds,
com.novell.ldap.LDAPEntry groupEntry)
throws AdminException
AdminException
protected com.novell.ldap.LDAPEntry[] getChildGroupsEntry(String lds,
String parentId,
String extraFilter)
throws AdminException
getChildGroupsEntry in class AbstractLDAPGrouplds - parentId -
AdminException
protected List<com.novell.ldap.LDAPEntry> getTRUEChildGroupsEntry(String lds,
com.novell.ldap.LDAPEntry theEntry)
lds - parentId -
AdminException
public Group[] getAllChangedGroups(String lds,
String extraFilter)
throws AdminException
getAllChangedGroups in class AbstractLDAPGroupAdminException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||