public class JDBCGroupProvider extends AbstractGroupProvider
Constructor and Description |
---|
JDBCGroupProvider()
Constructor of the JDBCGroupProvider class.
|
Modifier and Type | Method and Description |
---|---|
Group |
getGroup(String name)
Returns a group based on it's name.
|
int |
getGroupCount()
Returns the number of groups in the system.
|
Collection<String> |
getGroupNames()
Returns the Collection of all group names in the system.
|
Collection<String> |
getGroupNames(int start,
int num)
Returns the Collection of all groups in the system.
|
Collection<String> |
getGroupNames(org.xmpp.packet.JID user)
Returns the Collection of group names that an entity belongs to.
|
addMember, createGroup, deleteGroup, deleteMember, getPublicSharedGroupNames, getSharedGroupNames, getSharedGroupNames, getVisibleGroupNames, isReadOnly, isSearchSupported, isSharingSupported, loadProperties, search, search, search, setDescription, setName, updateMember
public JDBCGroupProvider()
public Group getGroup(String name) throws GroupNotFoundException
GroupProvider
name
- the name of the group.GroupNotFoundException
- If no group with that ID could be foundpublic int getGroupCount()
GroupProvider
public Collection<String> getGroupNames()
GroupProvider
public Collection<String> getGroupNames(int start, int num)
GroupProvider
start
- start index in results.num
- number of results to return.public Collection<String> getGroupNames(org.xmpp.packet.JID user)
GroupProvider
user
- the JID of the entity.Copyright © 2003-2008 Jive Software.