com.atlassian.user.impl.ldap.adaptor
Interface LDAPGroupAdaptor
- All Known Implementing Classes:
- AbstractLDAPGroupAdaptor, LDAPDynamicGroupAdaptor, LDAPStaticGroupAdaptor
public interface LDAPGroupAdaptor
getGroup
Group getGroup(String name)
throws EntityException
- Throws:
EntityException
getGroups
Pager<Group> getGroups(User user)
throws EntityException
- Returns:
- A
Pager holding containing a Group for each group the user belongs to. An empty pager
will be returned if the user does not belong to any groups that this manager knows about.
- Throws:
EntityException
getGroups
Pager<Group> getGroups()
throws EntityException
- Throws:
EntityException
findMembers
Pager<String> findMembers(Group group)
throws EntityException
- Throws:
EntityException
findMemberNames
Pager<String> findMemberNames(Group group)
throws EntityException
- Throws:
EntityException
hasStaticGroups
boolean hasStaticGroups()
getGroupDN
String getGroupDN(Group group)
throws EntityException
- Throws:
EntityException
getGroupDN
String getGroupDN(String group)
throws EntityException
- Throws:
EntityException
hasMembership
boolean hasMembership(Group group,
User user)
throws EntityException
- Throws:
EntityException
getGroupEntries
LDAPPagerInfo getGroupEntries()
throws EntityException
- Throws:
EntityException
getGroupEntries
LDAPPagerInfo getGroupEntries(String groupName)
throws EntityException
- If groupName is
null, returns all groups.
- Throws:
EntityException
getGroupEntries
LDAPPagerInfo getGroupEntries(String[] attributesToReturn,
net.sf.ldaptemplate.support.filter.Filter additionalSearchFilter)
throws EntityException
- Throws:
EntityException
getGroupEntries
LDAPPagerInfo getGroupEntries(String groupName,
String[] attributesToReturn,
net.sf.ldaptemplate.support.filter.Filter additionalSearchFilter)
throws EntityException
- Throws:
EntityException
getGroupEntriesViaMembership
LDAPPagerInfo getGroupEntriesViaMembership(User user)
throws EntityException
- Throws:
EntityException
getGroupEntriesViaMembership
LDAPPagerInfo getGroupEntriesViaMembership(String username)
throws EntityException
- Throws:
EntityException
getGroupEntriesViaMembership
LDAPPagerInfo getGroupEntriesViaMembership(String username,
String[] attributesToReturn)
throws EntityException
- Throws:
EntityException
search
LDAPPagerInfo search(net.sf.ldaptemplate.support.filter.Filter searchFilter)
throws RepositoryException
- Returns:
- an
LDAPPagerInfo holding the search query used, the result, and the original base context.
- Throws:
RepositoryException
Copyright © 2005-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.