mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Merged WEBAPP-API (5.2.1) to 5.2.N (5.2.1)
133081 jkaabimofrad: APPSREPO-61: First cut of automatic time expiry enhancement to the quick-sharing functionality. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133216 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
*/
|
||||
package org.alfresco.service.cmr.quickshare;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.Map;
|
||||
|
||||
import org.alfresco.repo.quickshare.QuickShareServiceImpl.QuickShareEmailRequest;
|
||||
@@ -50,6 +51,15 @@ public interface QuickShareService
|
||||
*/
|
||||
public QuickShareDTO shareContent(NodeRef nodeRef) throws QuickShareDisabledException, InvalidNodeRefException;
|
||||
|
||||
/**
|
||||
* Share content identified by nodeRef and optionally set an expiry date for the shared link.
|
||||
*
|
||||
* @param nodeRef The NodeRef of the content to share
|
||||
* @param expiryDate The expiry date of the shared link
|
||||
* @return QuickDTO with details of the share
|
||||
*/
|
||||
QuickShareDTO shareContent(NodeRef nodeRef, Date expiryDate) throws QuickShareDisabledException, InvalidNodeRefException;
|
||||
|
||||
/**
|
||||
* Get QuickShare related metadata for the given node.
|
||||
*
|
||||
@@ -105,4 +115,12 @@ public interface QuickShareService
|
||||
* @since 5.2
|
||||
*/
|
||||
boolean isQuickShareEnabled();
|
||||
|
||||
/**
|
||||
* Removes (hard deletes) the previously persisted {@link QuickShareLinkExpiryAction} and its related
|
||||
* schedule {@link org.alfresco.service.cmr.action.scheduled.ScheduledPersistedAction} from the repository.
|
||||
*
|
||||
* @param quickShareLinkExpiryAction The {@link QuickShareLinkExpiryAction} to be deleted.
|
||||
*/
|
||||
void deleteQuickShareLinkExpiryAction(QuickShareLinkExpiryAction quickShareLinkExpiryAction);
|
||||
}
|
||||
|
Reference in New Issue
Block a user