com.atlassian.confluence.it
Class UserWithKey

java.lang.Object
  extended by com.atlassian.confluence.it.User
      extended by com.atlassian.confluence.it.UserWithKey
All Implemented Interfaces:
Entity, LinkableContent, TitledContent

public class UserWithKey
extends User

The login details of a given user.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.confluence.it.User
User.Simpsons
 
Field Summary
 
Fields inherited from class com.atlassian.confluence.it.User
ADMIN, ANONYMOUS, APOSTROPHE, CONF_ADMIN, EVIL, LDAP_USER1, PROPERTY_USER_EMAIL_MIMETYPE, PROPERTY_USER_NOTIFY_FOR_MY_OWN_ACTIONS, PROPERTY_USER_SITE_HOMEPAGE, SPECIAL_CHARS, SYS_ADMIN, TEST, TEST2, UNICODE
 
Constructor Summary
UserWithKey(java.lang.String key, 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 getKey()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class com.atlassian.confluence.it.User
getDisplayName, getEmail, getFullName, getName, getNameField, getPassword, getTitle, getUrl, getUrlBuilder, getUsername, getUserPopupUrl, isAnonymous
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserWithKey

public UserWithKey(java.lang.String key,
                   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.

Parameters:
key - the id of the user.
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

getKey

public java.lang.String getKey()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class User

hashCode

public int hashCode()
Overrides:
hashCode in class User

toString

public java.lang.String toString()
Overrides:
toString in class User


Copyright © 2003-2013 Atlassian. All Rights Reserved.