| Modifier and Type | Field and Description |
|---|---|
protected org.alfresco.service.cmr.security.AuthenticationService |
authenticationService |
protected org.alfresco.service.cmr.security.AuthorityService |
authorityService |
protected org.alfresco.service.cmr.repository.ContentService |
contentService |
protected org.alfresco.service.cmr.usage.ContentUsageService |
contentUsageService |
protected Nodes |
nodes |
protected org.alfresco.service.cmr.repository.NodeService |
nodeService |
protected org.alfresco.service.cmr.security.PersonService |
personService |
protected org.alfresco.repo.security.authentication.ResetPasswordService |
resetPasswordService |
protected Sites |
sites |
protected org.alfresco.service.cmr.site.SiteService |
siteService |
protected org.alfresco.service.cmr.thumbnail.ThumbnailService |
thumbnailService |
DEFAULT_USER, PARAM_FIRST_NAME, PARAM_ID, PARAM_INCLUDE_ASPECTNAMES, PARAM_INCLUDE_PROPERTIES, PARAM_LAST_NAME| Constructor and Description |
|---|
PeopleImpl() |
| Modifier and Type | Method and Description |
|---|---|
Person |
create(Person person)
Create a person.
|
org.alfresco.service.cmr.repository.NodeRef |
getAvatar(String personId) |
CollectionWithPagingInfo<Person> |
getPeople(Parameters parameters)
Get people list
|
Person |
getPerson(String personId)
Get a full representation of a person.
|
Person |
getPerson(String personId,
List<String> include)
Get a person, specifying optional includes as required.
|
boolean |
hasAvatar(org.alfresco.service.cmr.repository.NodeRef personNodeRef) |
protected void |
processPersonProperties(String userName,
Map<org.alfresco.service.namespace.QName,Serializable> nodeProps) |
void |
requestPasswordReset(String userId,
String client)
Request password reset (an email will be sent to the registered email of the given
userId). |
void |
resetPassword(String personId,
PasswordReset passwordReset)
Performs password reset
|
void |
setAuthenticationService(org.alfresco.service.cmr.security.AuthenticationService authenticationService) |
void |
setAuthorityService(org.alfresco.service.cmr.security.AuthorityService authorityService) |
void |
setContentService(org.alfresco.service.cmr.repository.ContentService contentService) |
void |
setContentUsageService(org.alfresco.service.cmr.usage.ContentUsageService contentUsageService) |
void |
setNodes(Nodes nodes) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setPersonService(org.alfresco.service.cmr.security.PersonService personService) |
void |
setResetPasswordService(org.alfresco.repo.security.authentication.ResetPasswordService resetPasswordService) |
void |
setSites(Sites sites) |
void |
setSiteService(org.alfresco.service.cmr.site.SiteService siteService) |
void |
setThumbnailService(org.alfresco.service.cmr.thumbnail.ThumbnailService thumbnailService) |
Person |
update(String personId,
Person person)
Update the given person's details.
|
String |
validatePerson(String personId)
Validate, perform -me- substitution and canonicalize the person ID.
|
String |
validatePerson(String requestedPersonId,
boolean validateIsCurrentUser) |
protected Nodes nodes
protected Sites sites
protected org.alfresco.service.cmr.site.SiteService siteService
protected org.alfresco.service.cmr.repository.NodeService nodeService
protected org.alfresco.service.cmr.security.PersonService personService
protected org.alfresco.service.cmr.security.AuthenticationService authenticationService
protected org.alfresco.service.cmr.security.AuthorityService authorityService
protected org.alfresco.service.cmr.usage.ContentUsageService contentUsageService
protected org.alfresco.service.cmr.repository.ContentService contentService
protected org.alfresco.service.cmr.thumbnail.ThumbnailService thumbnailService
protected org.alfresco.repo.security.authentication.ResetPasswordService resetPasswordService
public void setSites(Sites sites)
public void setSiteService(org.alfresco.service.cmr.site.SiteService siteService)
public void setNodes(Nodes nodes)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setPersonService(org.alfresco.service.cmr.security.PersonService personService)
public void setAuthenticationService(org.alfresco.service.cmr.security.AuthenticationService authenticationService)
public void setAuthorityService(org.alfresco.service.cmr.security.AuthorityService authorityService)
public void setContentUsageService(org.alfresco.service.cmr.usage.ContentUsageService contentUsageService)
public void setContentService(org.alfresco.service.cmr.repository.ContentService contentService)
public void setThumbnailService(org.alfresco.service.cmr.thumbnail.ThumbnailService thumbnailService)
public void setResetPasswordService(org.alfresco.repo.security.authentication.ResetPasswordService resetPasswordService)
public String validatePerson(String personId)
validatePerson in interface PeoplepersonId - public String validatePerson(String requestedPersonId, boolean validateIsCurrentUser)
validatePerson in interface Peopleprotected void processPersonProperties(String userName, Map<org.alfresco.service.namespace.QName,Serializable> nodeProps)
public boolean hasAvatar(org.alfresco.service.cmr.repository.NodeRef personNodeRef)
public org.alfresco.service.cmr.repository.NodeRef getAvatar(String personId)
public Person getPerson(String personId, List<String> include)
Peoplepublic CollectionWithPagingInfo<Person> getPeople(Parameters parameters)
Peoplepublic Person create(Person person)
Peoplepublic Person update(String personId, Person person)
Peoplepublic void requestPasswordReset(String userId, String client)
PeopleuserId).
The API returns a 202 response for a valid, as well as the invalid (does not exist or disabled) userIdrequestPasswordReset in interface PeopleuserId - the user id of the person requesting the password resetclient - the client name which is registered to send emailspublic void resetPassword(String personId, PasswordReset passwordReset)
PeopleresetPassword in interface PeoplepasswordReset - the password reset detailsCopyright © 2005–2017 Alfresco Software. All rights reserved.