|
Openfire 3.9.3 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.openfire.group.AbstractGroupProvider org.jivesoftware.openfire.group.JDBCGroupProvider
public class JDBCGroupProvider
The JDBC group provider allows you to use an external database to define the make up of groups. It is best used with the JDBCAuthProvider to provide integration between your external system and Openfire. All data is treated as read-only so any set operations will result in an exception. To enable this provider, set the following in the system properties:
Constructor Summary | |
---|---|
JDBCGroupProvider()
Constructor of the JDBCGroupProvider class. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.jivesoftware.openfire.group.AbstractGroupProvider |
---|
addMember, createGroup, deleteGroup, deleteMember, getPublicSharedGroupNames, getSharedGroupNames, getSharedGroupNames, getVisibleGroupNames, isReadOnly, isSearchSupported, isSharingSupported, loadProperties, search, search, search, setDescription, setName, updateMember |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JDBCGroupProvider()
Method Detail |
---|
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.
|
Openfire 3.9.3 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |