Class LoggingTransferProgressMonitorImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.InputStream getLogInputStream​(java.lang.String transferId)  
      TransferProgress getProgress​(java.lang.String transferId)
      Read the progress of the
      void logComment​(java.lang.String transferId, java.lang.Object obj)
      log an ad-hoc message
      void logCreated​(java.lang.String transferId, org.alfresco.service.cmr.repository.NodeRef sourceNode, org.alfresco.service.cmr.repository.NodeRef destNode, org.alfresco.service.cmr.repository.NodeRef parentNode, java.lang.String parentPath, boolean orphan)
      Log the creation of a new node
      void logDeleted​(java.lang.String transferId, org.alfresco.service.cmr.repository.NodeRef sourceNode, org.alfresco.service.cmr.repository.NodeRef destNode, java.lang.String parentPath)
      Log the deletion of a node
      void logException​(java.lang.String transferId, java.lang.Object obj, java.lang.Throwable ex)
      log an ad-hoc message and an exception
      void logMoved​(java.lang.String transferId, org.alfresco.service.cmr.repository.NodeRef sourceNode, org.alfresco.service.cmr.repository.NodeRef destNode, java.lang.String oldPath, org.alfresco.service.cmr.repository.NodeRef parentNodeRef, java.lang.String parentPath)
      After the transfer has completed this method reads the log.
      void logUpdated​(java.lang.String transferId, org.alfresco.service.cmr.repository.NodeRef sourceNode, org.alfresco.service.cmr.repository.NodeRef destNode, java.lang.String parentPath)
      Log the creation of a new node
      void setDelegate​(TransferProgressMonitor delegate)  
      void updateProgress​(java.lang.String transferId, int currPos)
      update the progress of the specified transfer
      void updateProgress​(java.lang.String transferId, int currPos, int endPos)
      update the progress of the specified transfer and possibly change the end position.
      void updateStatus​(java.lang.String transferId, TransferProgress.Status status)
      update the startus of the transfer
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait