Class net.user1.orbiter.AccountManager
- Extends net.user1.events.EventDispatcher
The AccountManager class dispatches the following events:
- net.user1.orbiter.AccountManagerEvent.CREATE_ACCOUNT_RESULT
- net.user1.orbiter.AccountManagerEvent.REMOVE_ACCOUNT_RESULT
- net.user1.orbiter.AccountEvent.CHANGE_PASSWORD_RESULT
- net.user1.orbiter.AccountManagerEvent.ACCOUNT_ADDED
- net.user1.orbiter.AccountManagerEvent.ACCOUNT_REMOVED
- net.user1.orbiter.AccountEvent.LOGOFF_RESULT
- net.user1.orbiter.AccountEvent.LOGOFF
- net.user1.orbiter.AccountEvent.LOGIN_RESULT
- net.user1.orbiter.AccountEvent.LOGIN
- net.user1.orbiter.AccountEvent.CHANGE_PASSWORD
- net.user1.orbiter.AccountEvent.OBSERVE
- net.user1.orbiter.AccountEvent.STOP_OBSERVING
- net.user1.orbiter.AccountManagerEvent.STOP_WATCHING_FOR_ACCOUNTS_RESULT
- net.user1.orbiter.AccountManagerEvent.WATCH_FOR_ACCOUNTS_RESULT
- net.user1.orbiter.AccountEvent.OBSERVE_RESULT
- net.user1.orbiter.AccountEvent.STOP_OBSERVING_RESULT
- net.user1.orbiter.AccountManagerEvent.SYNCHRONIZE
- net.user1.orbiter.AccountEvent.ADD_ROLE_RESULT
- net.user1.orbiter.AccountEvent.REMOVE_ROLE_RESULT
Methods
accountIsKnown(userID)
|
|
addRole(userID, role)
|
|
changePassword(userID, newPassword, oldPassword)
|
|
createAccount(userID, password)
|
|
getAccount(userID)
|
|
hasWatchedAccount(userID)
|
|
isObservingAccount(userID)
|
|
login(userID, password)
|
|
logoff(userID, password)
|
|
observeAccount(userID)
|
|
removeAccount(userID, password)
|
|
removeRole(userID, role)
|
|
- Inherited Methods
- from net.user1.events.EventDispatcher:
- addEventListener()
- dispatchEvent()
- getListeners()
- hasListener()
- removeEventListener()
- toString()