Merged 5.2.0 (5.2.0) to HEAD (5.2)

133868 rmunteanu: REPO-1746: Merge fixes for 5.2 GA issues to 5.2.0 branch
      Merged 5.2.N (5.2.1) to 5.2.0 (5.2.0)
         133552 mward: REPO-1661: properties and aspects no longer appear in /comments listing.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@134191 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2017-01-11 10:35:26 +00:00
parent 5b62bb1da2
commit 31986ba6cb
8 changed files with 106 additions and 65 deletions

View File

@@ -291,6 +291,7 @@ public class PeopleImpl implements People
}
/**
* Get a full representation of a person.
*
* @throws NoSuchPersonException
* if personId does not exist
@@ -305,6 +306,14 @@ public class PeopleImpl implements People
return person;
}
public Person getPerson(String personId, List<String> include)
{
personId = validatePerson(personId);
Person person = getPersonWithProperties(personId, include);
return person;
}
public CollectionWithPagingInfo<Person> getPeople(final Parameters parameters)
{