Merged HEAD (5.2) to 5.2.N (5.2.1)

126436 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      121917 jkaabimofrad: RA-778: Added support for QuickShare service to email users notifying them that a content has been shared with them.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126782 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Ancuta Morarasu
2016-05-11 11:19:27 +00:00
parent 2fbfe83fa0
commit 85ec13f0be
6 changed files with 872 additions and 56 deletions

View File

@@ -27,6 +27,7 @@ package org.alfresco.service.cmr.quickshare;
import java.util.Map;
import org.alfresco.repo.quickshare.QuickShareServiceImpl.QuickShareEmailRequest;
import org.alfresco.service.cmr.repository.InvalidNodeRefException;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.util.Pair;
@@ -84,4 +85,11 @@ public interface QuickShareService
* Determine if the current user has permission to read the shared content.
*/
public boolean canRead(String sharedId);
/**
* Notifies users by email that a content has been shared with them, and the details of it.
*
* @param emailRequest The email details including its template details
*/
public void sendEmailNotification(QuickShareEmailRequest emailRequest);
}