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, waitexists, getAttribute, getName, getProfileURIprotected org.xwiki.model.reference.DocumentReference profileReference
protected org.xwiki.model.reference.EntityReferenceSerializer<String> serializer
public String getId()
getId in interface UserUser.getId()public String getUsername()
getUsername in interface UserUser.getUsername()public org.xwiki.model.reference.DocumentReference getProfileDocument()
null is returned.getProfileDocument in interface Usernull otherwiseUser.getProfileDocument()public String toString()
toString in class ObjectObject.toString()public int compareTo(User user)
compareTo in interface Comparable<User>Comparable.compareTo(Object)Copyright © 2011–2016 University of Toronto, Computational Biology Lab. All rights reserved.