mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-15 15:02:20 +00:00
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/HEAD/root@126436 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
|
||||
*
|
||||
@@ -20,6 +20,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;
|
||||
@@ -77,4 +78,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