Interface DownloadStatusUpdateService

  • All Known Implementing Classes:
    DownloadStatusUpdateServiceImpl

    public interface DownloadStatusUpdateService
    Service for updating the status of a download.
    Author:
    Alex Miller
    • 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 status
        sequenceNumber - int