mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
122947 jvonka: (Quick) Shared Links API - updates - test for get rendition content via share link (no auth) - add optional filter (sharedByUser) to find links RA-830, RA-777 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126515 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2005-2012 Alfresco Software Limited.
|
||||
* Copyright (C) 2005-2016 Alfresco Software Limited.
|
||||
*
|
||||
* This file is part of Alfresco
|
||||
*
|
||||
@@ -24,7 +24,7 @@ import org.alfresco.service.cmr.security.NoSuchPersonException;
|
||||
|
||||
public interface People
|
||||
{
|
||||
public static String DEFAULT_USER = "-me-";
|
||||
String DEFAULT_USER = "-me-";
|
||||
|
||||
String validatePerson(String personId);
|
||||
String validatePerson(String personId, boolean validateIsCurrentUser);
|
||||
|
@@ -97,4 +97,9 @@ public interface QuickShareLinks
|
||||
* @return
|
||||
*/
|
||||
CollectionWithPagingInfo<QuickShareLink> findLinks(Parameters parameters);
|
||||
|
||||
/**
|
||||
* API Constants - query parameters, etc
|
||||
*/
|
||||
String PARAM_SHAREDBY = "sharedByUser";
|
||||
}
|
@@ -386,8 +386,6 @@ public class QuickShareLinksImpl implements QuickShareLinks, InitializingBean
|
||||
|
||||
// Helper find (search) method
|
||||
|
||||
private static final String PARAM_SHAREDBY = "sharedByUser/id";
|
||||
|
||||
private final static Set<String> FIND_SHARED_LINKS_QUERY_PROPERTIES =
|
||||
new HashSet<>(Arrays.asList(new String[] {PARAM_SHAREDBY}));
|
||||
|
||||
|
Reference in New Issue
Block a user