Package org.alfresco.repo.download
Interface DownloadStatusUpdateService
- All Known Implementing Classes:
DownloadStatusUpdateServiceImpl
public interface DownloadStatusUpdateService
Service for updating the status of a download.
- Author:
- Alex Miller
-
Method Summary
Modifier and TypeMethodDescriptionvoidupdate(NodeRef nodeRef, DownloadStatus status, int sequenceNumber) Update and persist the status of the download.
-
Method Details
-
update
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
-