Class DownloadStatusUpdateServiceImpl

    • Constructor Detail

      • DownloadStatusUpdateServiceImpl

        public DownloadStatusUpdateServiceImpl()
    • Method Detail

      • update

        public void update​(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                           DownloadStatus status,
                           int sequenceNumber)
        Description copied from interface: DownloadStatusUpdateService
        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.
        Specified by:
        update in interface DownloadStatusUpdateService
        Parameters:
        nodeRef - The download node, whose status is to be updated.
        status - The new status
        sequenceNumber - int