Package org.alfresco.repo.download
Interface DownloadStatusUpdateService
-
- All Known Implementing Classes:
DownloadStatusUpdateServiceImpl
public interface DownloadStatusUpdateServiceService for updating the status of a download.- Author:
- Alex Miller
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidupdate(org.alfresco.service.cmr.repository.NodeRef nodeRef, DownloadStatus status, int sequenceNumber)Update and persist the status of the download.
-
-
-
Method Detail
-
update
void update(org.alfresco.service.cmr.repository.NodeRef nodeRef, DownloadStatus status, int sequenceNumber)Update and persist the status of the download. Implementations should only do this if sequenceNumber is greater than the sequenceNumber of the previous update, to prevent out of order updates.- Parameters:
nodeRef- The download node, whose status is to be updated.status- The new statussequenceNumber- int
-
-