Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.IAccountManipulator Interface Reference
Inheritance diagram for de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.IAccountManipulator:
de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.AccountManipulatorImpl

List of all members.

Public Member Functions

void restoreDefaultAccount (String username, String password, String domain) throws RemoteException
void addAccount (String username, String password, String domain) throws RemoteException
boolean activateAccount (String username, String domain) throws RemoteException

Detailed Description

This interface gives you control to manipulate the Saros account store.

Author:
Stefan Rossbach

Member Function Documentation

boolean de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.IAccountManipulator.activateAccount ( String  username,
String  domain 
) throws RemoteException

Activates an account.

Parameters:
usernamethe username of the account to activate
domainthe domain name of the account to active
Returns:
true if the account was successfully activated, false if the account is already active
Exceptions:
RemoteExceptionif the account does not exist in the current XMPPAccountStore

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.AccountManipulatorImpl.

void de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.IAccountManipulator.addAccount ( String  username,
String  password,
String  domain 
) throws RemoteException

Adds an account to the Saros XMPP account store. If the account already exists this method will do nothing.

Parameters:
usernamethe username of the new account
passwordthe password of the new account
domainthe domain of the new account
Exceptions:
RemoteException

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.AccountManipulatorImpl.

void de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.IAccountManipulator.restoreDefaultAccount ( String  username,
String  password,
String  domain 
) throws RemoteException

Deletes all accounts except the default one. If the default account does not exist it will be created and activated.

Parameters:
usernamethe username of the default account
passwordthe password of the default account which should be used if the default account does not exists
domainthe domain name of the account
Exceptions:
RemoteException

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.AccountManipulatorImpl.

 All Classes Namespaces Files Functions Variables Enumerations