REPO-1661: properties and aspects no longer appear in /comments listing.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133552 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Matt Ward
2016-12-09 16:54:07 +00:00
parent 3b4599a91a
commit cfed51f84b
8 changed files with 106 additions and 65 deletions

View File

@@ -303,6 +303,7 @@ public class PeopleImpl implements People
}
/**
* Get a full representation of a person.
*
* @throws NoSuchPersonException
* if personId does not exist
@@ -317,6 +318,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)
{