|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAccountManager
Presence account management interface. Access to instances implementing this
interface is provided by calling
IPresenceContainerAdapter.getAccountManager()
IPresenceContainerAdapter.getAccountManager()
Method Summary | |
---|---|
boolean |
changePassword(java.lang.String newpassword)
Change account password to use new password. |
boolean |
createAccount(java.lang.String username,
java.lang.String password,
java.util.Map attributes)
Create a new account. |
boolean |
deleteAccount()
Delete an account. |
java.lang.Object |
getAccountAttribute(java.lang.String attributeName)
Get the value of given |
java.lang.String[] |
getAccountAttributeNames()
Get account attribute names for this account |
java.lang.String |
getAccountCreationInstructions()
Get any instructions for account |
boolean |
isAccountCreationSupported()
Determine whether account creation is supported for this account manager |
Method Detail |
---|
boolean changePassword(java.lang.String newpassword) throws ECFException
newpassword
- new password to use for this account. Must not be
null
.
ECFException
- thrown if not connected, or if password change fails due to
network failure or server failureboolean isAccountCreationSupported() throws ECFException
ECFException
- thrown if not connected, or if query fails due to network
failure or server failureboolean createAccount(java.lang.String username, java.lang.String password, java.util.Map attributes) throws ECFException
username
- the fully qualified username to use for the new account. Must
not be null
.password
- the password to use with the new account. Must not be
null
.attributes
- attributes to associate with the new account. May be null.
ECFException
- thrown if account creation is not supported, or if fails for
some reason (network failure or server failure)boolean deleteAccount() throws ECFException
ECFException
- thrown if account deletion is not supported, or if fails for
some reason (network failure or server failure)java.lang.String getAccountCreationInstructions() throws ECFException
null
.
ECFException
- thrown if account account instructions not supported, or if
fails for some reason (network failure or server failure)java.lang.String[] getAccountAttributeNames() throws ECFException
ECFException
- thrown if get account attribute names not supported, or if
fails for some reason (network failure or server failure)java.lang.Object getAccountAttribute(java.lang.String attributeName) throws ECFException
attributeName
- the attribute name to return the value for. Should not be
null
.
null
if attribute name is not found.
ECFException
- thrown if get account attribute not supported, or if fails
for some reason (network failure or server failure)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |