Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.base
Interface IntrospectiveUserManager

All Superinterfaces:
UserManager
All Known Implementing Classes:
DbUserManager, LdapUserManager, UserManagerAdapter, UserManagerProxy

public interface IntrospectiveUserManager
extends UserManager

This UserManager subinterface adds the ability to query what optional capabilities are supported in this UserManager implementation. It is added as a subinterface to preserve backward compatibility with older UserManager implementations. User interfaces may query an IntrospectiveUserManager before deciding whether or not to present those capabilities in the interface.


Method Summary
 boolean isCreateUserSupported()
          Indicates whether user creation (createUser(String username, String password, String email)) is supported.
 boolean isDeleteUserSupported()
          Indicates whether user deletion (deleteUser(User user)) is supported.
 boolean isGetUserCountSupported()
          Indicates whether getting a count of all users (getUserCount()) is supported.
 boolean isGetUserFromEmailAddressSupported()
          Indicates whether retrieving a user for an email address (getUserFromEmailAddress(String emailAddr)) is supported.
 boolean isReadOnly()
           
 boolean isUserListSupported()
          Indicates whether getting an Iterator of all users (users()) is supported.
 
Methods inherited from interface com.jivesoftware.base.UserManager
createUser, createUser, deleteUser, getUser, getUser, getUserCount, getUserID, users, users
 

Method Detail

isCreateUserSupported

boolean isCreateUserSupported()
Indicates whether user creation (createUser(String username, String password, String email)) is supported.

Returns:
true if user creation is supported.

isDeleteUserSupported

boolean isDeleteUserSupported()
Indicates whether user deletion (deleteUser(User user)) is supported.

Returns:
true if user deletion is supported.

isGetUserCountSupported

boolean isGetUserCountSupported()
Indicates whether getting a count of all users (getUserCount()) is supported.

Returns:
true if getting a count of all users is supported.

isUserListSupported

boolean isUserListSupported()
Indicates whether getting an Iterator of all users (users()) is supported.

Returns:
true if getting an iterator of all users is supported.

isGetUserFromEmailAddressSupported

boolean isGetUserFromEmailAddressSupported()
Indicates whether retrieving a user for an email address (getUserFromEmailAddress(String emailAddr)) is supported.

Returns:
true if getting a user with a specific email address is supported.

isReadOnly

boolean isReadOnly()

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.