public class PersonImpl extends Object implements Person
Constructor and Description |
---|
PersonImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getAvatarIdentifier()
Returns the unique identifier to the content of avatar rendition.
|
Company |
getCompany()
Returns the company object the person belongs.
|
String |
getEmail()
Returns the email of the person.
|
String |
getFirstName()
Returns the first name of the person.
|
String |
getFullName()
Returns the full name of the person, if first name and last name are not
set the username is returned.
|
String |
getGoogleId()
Returns the Google id of the person.
|
String |
getIdentifier()
Returns the username of the person.
|
String |
getInstantMessageId()
Returns the instant message id of the person.
|
String |
getJobTitle()
Returns the job title of the person.
|
String |
getLastName()
Returns the last name of the person.
|
String |
getLocation()
Returns the location of the person.
|
String |
getMobileNumber()
Returns the mobile number of the person.
|
String |
getSkypeId()
Returns the Skype id of the person.
|
String |
getSummary()
Returns the summary/description of the person.
|
String |
getTelephoneNumber()
Returns the telephone number of the person.
|
boolean |
hasAllProperties()
Indicates whether the person has all it’s metadata populated.
|
static PersonImpl |
parseJson(Map<String,Object> json)
Parse Json Response from Alfresco REST API to create a Person.
|
static PersonImpl |
parseJson(Map<String,Object> json,
boolean hasAllProperties) |
static PersonImpl |
parsePublicAPIJson(Map<String,Object> json)
Parse Json Response from Alfresco Public API to create a Person.
|
static PersonImpl |
parsePublicAPIJson(Map<String,Object> json,
boolean hasAllProperties) |
public static PersonImpl parseJson(Map<String,Object> json)
json
- : json response that contains data from the repositorypublic static PersonImpl parseJson(Map<String,Object> json, boolean hasAllProperties)
public static PersonImpl parsePublicAPIJson(Map<String,Object> json)
json
- : json response that contains data from the repositorypublic static PersonImpl parsePublicAPIJson(Map<String,Object> json, boolean hasAllProperties)
public String getAvatarIdentifier()
getAvatarIdentifier
in interface Person
public String getIdentifier()
getIdentifier
in interface Person
public String getFirstName()
getFirstName
in interface Person
public String getLastName()
getLastName
in interface Person
public String getFullName()
getFullName
in interface Person
public String getJobTitle()
getJobTitle
in interface Person
public String getLocation()
getLocation
in interface Person
public String getSummary()
getSummary
in interface Person
public String getTelephoneNumber()
getTelephoneNumber
in interface Person
public String getMobileNumber()
getMobileNumber
in interface Person
public String getEmail()
public String getSkypeId()
getSkypeId
in interface Person
public String getInstantMessageId()
getInstantMessageId
in interface Person
public String getGoogleId()
getGoogleId
in interface Person
public Company getCompany()
getCompany
in interface Person
public boolean hasAllProperties()
hasAllProperties
in interface Person
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.