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

@@ -31,6 +31,8 @@ import org.alfresco.rest.framework.resource.parameters.Parameters;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.cmr.security.NoSuchPersonException;
import java.util.List;
public interface People
{
String DEFAULT_USER = "-me-";
@@ -45,11 +47,21 @@ public interface People
NodeRef getAvatar(String personId);
/**
* Get a person. This included a full representation of the person.
*
* @throws NoSuchPersonException if personId does not exist
*/
Person getPerson(final String personId);
/**
* Get a person, specifying optional includes as required.
*
* @param personId
* @param include
* @return
*/
Person getPerson(String personId, List<String> include);
/**
* Create a person.
*