|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Account
An Account represents a persistent user in the Union Server.
| Method Summary | |
|---|---|
Client |
getClient()
Returns the currently connected client for this account if the account is logged in. |
java.lang.String |
getPassword()
Return the password for the account. |
java.lang.String |
getUserID()
Return the userID for the account. |
boolean |
isModerator()
Returns true if the account has moderator privileges. |
void |
setModerator(boolean isModerator)
Sets the account moderator status. |
| Methods inherited from interface net.user1.union.core.attribute.AttributeHolder |
|---|
getAttribute, getAttribute, getAttributes, getAttributes, getAttributesByScope, getAttributeValue, getAttributeValue, onChangeAttribute, onRemoveAttribute, removeAttribute, removeAttribute, setAttribute |
| Method Detail |
|---|
java.lang.String getUserID()
java.lang.String getPassword()
Client getClient()
boolean isModerator()
void setModerator(boolean isModerator)
throws DatasourceException
isModerator - - true if the account should be a moderator
DatasourceException - if the Datasource could not persist the new
moderator status.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||