|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.base.ldap.LdapGroupManager
public class LdapGroupManager
| Constructor Summary | |
|---|---|
LdapGroupManager()
Constructor of the LdapGroupProvider class. |
|
| Method Summary | |
|---|---|
Group |
createGroup(java.lang.String name)
Factory method for creating a new Group. |
void |
deleteGroup(Group group)
Deletes a group from the system. |
Group |
getGroup(long groupID)
Gets a Group by ID. |
Group |
getGroup(java.lang.String name)
Gets a Group by name. |
int |
getGroupCount()
Returns the total number of groups in the system. |
java.util.Iterator |
getGroups()
Returns an iterator for all groups in the system. |
java.util.Iterator |
getGroups(int startIndex,
int numResults)
Returns an iterator for all groups starting at startIndex with the given number of results. |
java.util.Iterator |
getUserGroups(User user)
Returns an iterator for all groups that a user is a member of. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LdapGroupManager()
| Method Detail |
|---|
public Group createGroup(java.lang.String name)
throws GroupAlreadyExistsException
GroupManager
createGroup in interface GroupManagername - the new and unique name for the group.
GroupAlreadyExistsException - if the group name already exists in the system.
public Group getGroup(long groupID)
throws GroupNotFoundException
GroupManager
getGroup in interface GroupManagerGroupNotFoundException
public Group getGroup(java.lang.String name)
throws GroupNotFoundException
GroupManager
getGroup in interface GroupManagerGroupNotFoundException
public void deleteGroup(Group group)
throws UnauthorizedException
GroupManager
deleteGroup in interface GroupManagergroup - the group to delete.
UnauthorizedException - if not a system administrator.public int getGroupCount()
GroupManager
getGroupCount in interface GroupManagerpublic java.util.Iterator getGroups()
GroupManager
getGroups in interface GroupManager
public java.util.Iterator getGroups(int startIndex,
int numResults)
GroupManager
getGroups in interface GroupManagerstartIndex - the beginning index to start the results at.numResults - the total number of results to return.
public java.util.Iterator getUserGroups(User user)
GroupManager
getUserGroups in interface GroupManageruser - the user to get a list of groups for.
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||