public class PublicAPIPersonServiceImpl extends AbstractPersonService
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<PublicAPIPersonServiceImpl> |
CREATOR |
CONTENT_CACHE, RENDITION_CACHE, session
Constructor and Description |
---|
PublicAPIPersonServiceImpl(AlfrescoSession repositorySession)
Default Constructor.
|
PublicAPIPersonServiceImpl(android.os.Parcel o) |
Modifier and Type | Method and Description |
---|---|
protected Person |
computePerson(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url)
Internal method to compute data from server and transform it as high
level object.
|
ContentStream |
getAvatarStream(String personIdentifier)
Retrieves the avatar rendition for the specified username.
|
org.apache.chemistry.opencmis.commons.impl.UrlBuilder |
getAvatarUrl(String personIdentifier) |
protected org.apache.chemistry.opencmis.commons.impl.UrlBuilder |
getPersonDetailssUrl(String personIdentifier)
Internal method to retrieve personDetails url.
|
Person |
refresh(Person person)
Returns the latest (and complete) set of properties for the provided
person.
|
List<Person> |
search(String keyword)
Returns a list of persons which respect the keyword.
|
PagingResult<Person> |
search(String keyword,
ListingContext listingContext)
Returns a paged list of persons which respect the keyword.
|
getAvatar, getAvatar, getPerson
clear, convertException, convertNode, convertNode, convertStatusCode, delete, describeContents, getHttpInvoker, getSessionHttp, isCloudSession, isListNull, isMapNull, isObjectNull, isOnPremiseSession, isStringNull, post, put, read, saveContentStream, writeToParcel
public static final android.os.Parcelable.Creator<PublicAPIPersonServiceImpl> CREATOR
public PublicAPIPersonServiceImpl(AlfrescoSession repositorySession)
repositorySession
- : Repository Session.public PublicAPIPersonServiceImpl(android.os.Parcel o)
protected org.apache.chemistry.opencmis.commons.impl.UrlBuilder getPersonDetailssUrl(String personIdentifier)
getPersonDetailssUrl
in class AbstractPersonService
personIdentifier
- : person who wants to retrieve informations.public org.apache.chemistry.opencmis.commons.impl.UrlBuilder getAvatarUrl(String personIdentifier)
getAvatarUrl
in class AbstractPersonService
public ContentStream getAvatarStream(String personIdentifier)
getAvatarStream
in class AbstractPersonService
personIdentifier
- : Username of personpublic List<Person> search(String keyword)
PersonService
public PagingResult<Person> search(String keyword, ListingContext listingContext)
PersonService
public Person refresh(Person person)
PersonService
protected Person computePerson(org.apache.chemistry.opencmis.commons.impl.UrlBuilder url)
AbstractPersonService
computePerson
in class AbstractPersonService
url
- : Alfresco REST API activity urlCopyright © 2012-2018 Alfresco Software. All Rights Reserved.