|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.it.User
public class User
The login details of a given user.
Nested Class Summary | |
---|---|
static class |
User.Simpsons
|
Field Summary | |
---|---|
static User |
ADMIN
|
static User |
ANONYMOUS
Represents anonymous users, i.e. |
static User |
APOSTROPHE
A sample test user that contains an apostrophe in the username and fullname. |
static User |
CONF_ADMIN
A sample administrator user. |
static User |
EVIL
A sample test user that contains html markup in the username and fullname. |
static User |
LDAP_USER1
A sample test user whose username contains every non-alphanumeric character on a standard keyboard. |
static java.lang.String |
PROPERTY_USER_EMAIL_MIMETYPE
|
static java.lang.String |
PROPERTY_USER_NOTIFY_FOR_MY_OWN_ACTIONS
|
static java.lang.String |
PROPERTY_USER_SITE_HOMEPAGE
|
static User |
SPECIAL_CHARS
|
static User |
SYS_ADMIN
|
static User |
TEST
A sample test user. |
static User |
TEST2
A second sample test user. |
static User |
UNICODE
|
Constructor Summary | |
---|---|
User(java.lang.String username,
java.lang.String password,
java.lang.String fullName,
java.lang.String email)
Constructs a fully formed User object with all fields set. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getDisplayName()
Returns the display name of the Entity, eg full name for Users. |
java.lang.String |
getEmail()
|
java.lang.String |
getFullName()
|
java.lang.String |
getName()
Returns the Entity name. |
java.lang.String |
getNameField()
Returns the name of the field that stores the Entity name. |
java.lang.String |
getPassword()
|
java.lang.String |
getTitle()
|
java.lang.String |
getUrl()
|
UrlBuilder |
getUrlBuilder()
|
java.lang.String |
getUsername()
|
java.lang.String |
getUserPopupUrl()
|
int |
hashCode()
|
boolean |
isAnonymous()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROPERTY_USER_SITE_HOMEPAGE
public static final java.lang.String PROPERTY_USER_NOTIFY_FOR_MY_OWN_ACTIONS
public static final java.lang.String PROPERTY_USER_EMAIL_MIMETYPE
public static final User ANONYMOUS
public static final User CONF_ADMIN
PropertiesManager
.
public static final User SYS_ADMIN
public static final User ADMIN
public static final User TEST
PropertiesManager
.
public static final User TEST2
PropertiesManager
.
public static final User EVIL
PropertiesManager
.
public static final User APOSTROPHE
public static User LDAP_USER1
PropertiesManager
public static final User SPECIAL_CHARS
public static final User UNICODE
Constructor Detail |
---|
public User(java.lang.String username, java.lang.String password, java.lang.String fullName, java.lang.String email)
username
- the name the user uses to log into the system.password
- in plain text, the password the user uses to log into the system.fullName
- the user's full name.email
- the user's email address.Method Detail |
---|
public java.lang.String getUsername()
public java.lang.String getName()
Entity
getName
in interface Entity
public java.lang.String getNameField()
Entity
getNameField
in interface Entity
public java.lang.String getPassword()
public java.lang.String getFullName()
public java.lang.String getDisplayName()
Entity
getDisplayName
in interface Entity
public java.lang.String getEmail()
public java.lang.String getUserPopupUrl()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isAnonymous()
public java.lang.String getTitle()
getTitle
in interface TitledContent
public java.lang.String getUrl()
getUrl
in interface LinkableContent
public UrlBuilder getUrlBuilder()
getUrlBuilder
in interface LinkableContent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |