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(String key, String username, String password, String fullName, String email)
          Constructs a fully formed User object with all fields set.
 
Method Summary
 boolean equals(Object o)
           
 String getKey()
           
 int hashCode()
           
 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(String key,
                   String username,
                   String password,
                   String fullName,
                   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 String getKey()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class User

toString

public String toString()
Overrides:
toString in class User


Copyright © 2003–2015 Atlassian. All rights reserved.