public abstract class AbstractUser extends Object implements User
Modifier and Type | Field and Description |
---|---|
protected org.xwiki.model.reference.DocumentReference |
profileReference
A link to the user profile document.
|
protected org.xwiki.model.reference.EntityReferenceSerializer<String> |
serializer
Used for serializing the profile reference into a string.
|
Constructor and Description |
---|
AbstractUser() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(User user) |
String |
getId()
An identifier which can be used internally for identifying the user.
|
org.xwiki.model.reference.DocumentReference |
getProfileDocument()
If the user has an associated wiki document where their profile can be seen, return a reference to it.
|
String |
getUsername()
The username used for identifying the user in the form.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
exists, getAttribute, getName, getProfileURI
protected org.xwiki.model.reference.DocumentReference profileReference
protected org.xwiki.model.reference.EntityReferenceSerializer<String> serializer
public String getId()
getId
in interface User
User.getId()
public String getUsername()
getUsername
in interface User
User.getUsername()
public org.xwiki.model.reference.DocumentReference getProfileDocument()
null
is returned.getProfileDocument
in interface User
null
otherwiseUser.getProfileDocument()
public String toString()
toString
in class Object
Object.toString()
public int compareTo(User user)
compareTo
in interface Comparable<User>
Comparable.compareTo(Object)
Copyright © 2011–2015 University of Toronto, Computational Biology Lab. All rights reserved.