mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged HEAD (5.2) to 5.2.N (5.2.1)
126515 jkaabimofrad: 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/BRANCHES/DEV/5.2.N/root@126859 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -31,7 +31,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