com.atlassian.confluence.api.model.people
Class Person

java.lang.Object
  extended by com.atlassian.confluence.api.model.people.Person
Direct Known Subclasses:
Anonymous, User

@ExperimentalApi
public abstract class Person
extends java.lang.Object


Constructor Summary
protected Person(Icon profilePicture)
          Deprecated. 5.6 use other constructor
protected Person(Icon profilePicture, java.lang.String displayName)
           
 
Method Summary
 java.lang.String getDisplayName()
           
abstract  com.atlassian.fugue.Option<java.lang.String> getOptionalUsername()
           
 Icon getProfilePicture()
           
abstract  com.atlassian.fugue.Option<com.atlassian.sal.api.user.UserKey> getUserKey()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Person

protected Person(Icon profilePicture,
                 java.lang.String displayName)

Person

@Deprecated
protected Person(Icon profilePicture)
Deprecated. 5.6 use other constructor

Method Detail

getProfilePicture

public Icon getProfilePicture()

getDisplayName

public java.lang.String getDisplayName()
Since:
5.6

getOptionalUsername

public abstract com.atlassian.fugue.Option<java.lang.String> getOptionalUsername()
Since:
5.6

getUserKey

public abstract com.atlassian.fugue.Option<com.atlassian.sal.api.user.UserKey> getUserKey()
Since:
5.6


Copyright © 2003-2014 Atlassian. All Rights Reserved.