Jive API (4.5.7.0) Core Javadocs

com.jivesoftware.base
Interface IntrospectiveGroupManager

All Superinterfaces:
GroupManager, JiveManager

public interface IntrospectiveGroupManager
extends GroupManager

Interface that marks which GroupManager features a particular GroupManager implementation supports. This functionality is necessary because different group back-ends provide different capabilities. For example, most custom managers are read-only, so creating and deleting groups are not supported in those managers.


Method Summary
 boolean isCreateGroupSupported()
          Indicates whether the GroupManager supports creating groups via the createGroups() method.
 boolean isDeleteGroupSupported()
          Indicates whether the GroupManager supports deleting groups via the deleteGroups() method.
 boolean isGetUserGroupsSupported()
          Indicates whether the GroupManager supports getting a listing of all groups for a given user via the getUserGroups() method.
 boolean isGroupListSupported()
          Indicates whether the GroupManager supports getting a listing of all groups via the getGroups() method.
 boolean isReadOnly()
           
 
Methods inherited from interface com.jivesoftware.base.GroupManager
createGroup, deleteGroup, deleteUserGroupAssociations, getGroup, getGroup, getGroup, getGroupCount, getGroupMembers, getGroups, getGroups, getUserGroups, update
 
Methods inherited from interface com.jivesoftware.community.JiveManager
destroy
 

Method Detail

isCreateGroupSupported

boolean isCreateGroupSupported()
Indicates whether the GroupManager supports creating groups via the createGroups() method.

Returns:
true if creating a new group through the GroupManager is supported.

isDeleteGroupSupported

boolean isDeleteGroupSupported()
Indicates whether the GroupManager supports deleting groups via the deleteGroups() method.

Returns:
true if deleting a group through the GroupManager is supported.

isGroupListSupported

boolean isGroupListSupported()
Indicates whether the GroupManager supports getting a listing of all groups via the getGroups() method.

Returns:
true if getGroups() is implemented.

isGetUserGroupsSupported

boolean isGetUserGroupsSupported()
Indicates whether the GroupManager supports getting a listing of all groups for a given user via the getUserGroups() method.

Returns:
true if getUserGroups(User user) is implemented.

isReadOnly

boolean isReadOnly()

Jive Product Page

Copyright © 1999-2007 Jive Software.