Class DownloadServiceImpl

    • Constructor Detail

      • DownloadServiceImpl

        public DownloadServiceImpl()
    • Method Detail

      • setActionServiceHelper

        public void setActionServiceHelper​(ActionServiceHelper actionServiceHelper)
      • setDownloadStorage

        public void setDownloadStorage​(DownloadStorage downloadStorage)
      • createDownload

        public org.alfresco.service.cmr.repository.NodeRef createDownload​(org.alfresco.service.cmr.repository.NodeRef[] requestedNodes,
                                                                          boolean recursive)
        Description copied from interface: DownloadService
        Start the creation of a downlaodable archive file containing the content from the given nodeRefs. Implementations are expected to do this asynchronously, with clients using the returned NodeRef to check on progress. Initially, only zip files will be supported, however this could be extended in the future, to support additional archive types.
        Specified by:
        createDownload in interface DownloadService
        Parameters:
        requestedNodes - NodeRefs of content to be added to the archive file
        recursive - Recurse into container nodes
        Returns:
        Reference to node which will eventually contain the archive file
      • cancelDownload

        public void cancelDownload​(org.alfresco.service.cmr.repository.NodeRef downloadNodeRef)
        Description copied from interface: DownloadService
        Cancel a download request
        Specified by:
        cancelDownload in interface DownloadService
        Parameters:
        downloadNodeRef - NodeRef of the download to cancel