mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged mward/5.2.n-custpeopleprops (5.2.1) to 5.2.N (5.2.1)
132754 mward: REPO-1395: add custom properties to people create/get/update. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132871 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -110,26 +110,7 @@ public class PeopleEntityResource implements EntityResourceAction.ReadById<Perso
|
||||
}
|
||||
|
||||
List<Person> result = new ArrayList<>(1);
|
||||
Person person = new Person();
|
||||
person.setUserName(p.getUserName());
|
||||
person.setFirstName(p.getFirstName());
|
||||
person.setLastName(p.getLastName());
|
||||
person.setDescription(p.getDescription());
|
||||
person.setEmail(p.getEmail());
|
||||
person.setSkypeId(p.getSkypeId());
|
||||
person.setGoogleId(p.getGoogleId());
|
||||
person.setInstantMessageId(p.getInstantMessageId());
|
||||
person.setJobTitle(p.getJobTitle());
|
||||
person.setLocation(p.getLocation());
|
||||
person.setCompany(p.getCompany());
|
||||
person.setMobile(p.getMobile());
|
||||
person.setTelephone(p.getTelephone());
|
||||
person.setUserStatus(p.getUserStatus());
|
||||
person.setEnabled(p.isEnabled());
|
||||
person.setEmailNotificationsEnabled(p.isEmailNotificationsEnabled());
|
||||
person.setPassword(p.getPassword());
|
||||
|
||||
result.add(people.create(person));
|
||||
result.add(people.create(p));
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user