org.olat.instantMessaging.syncservice
Interface RemoteAccountCreation

All Known Implementing Classes:
RemoteAccountCreationOverXMPP

public interface RemoteAccountCreation

Interface for account creation of an instant messaging account on a suitable server. Change olat_config.xml at module instant messaging to choose an other implementation at startup. An instance of the implemenation is created at startup by the InstantMessagingModule.init() method.

Author:
guido

Method Summary
 boolean createAccount(java.lang.String username, java.lang.String password, java.lang.String name, java.lang.String email)
           
 boolean deleteAccount(java.lang.String username)
          delete an account on the IM server
 boolean hasAccount(java.lang.String username)
          check wheter the user has already an account on the IM server
 

Method Detail

createAccount

boolean createAccount(java.lang.String username,
                      java.lang.String password,
                      java.lang.String name,
                      java.lang.String email)
Parameters:
username -
password -
name -
email -
Returns:
true if successfull account creation

deleteAccount

boolean deleteAccount(java.lang.String username)
delete an account on the IM server

Parameters:
username -
Returns:

hasAccount

boolean hasAccount(java.lang.String username)
check wheter the user has already an account on the IM server

Parameters:
username -
Returns: