mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-15 15:02:20 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user