public class RepoTransferProgressMonitorImpl extends AbstractTransferProgressMonitor
MSG_TRANSFER_CANCELLED, MSG_TRANSFER_NOT_FOUND
Constructor and Description |
---|
RepoTransferProgressMonitorImpl() |
Modifier and Type | Method and Description |
---|---|
protected Writer |
createUnderlyingLogWriter(String transferId) |
InputStream |
getLogInputStream(String transferId) |
TransferProgress |
getProgressInternal(String transferId) |
void |
setContentService(ContentService contentService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
storeError(String transferId,
Throwable ex) |
void |
updateProgressInternal(String transferId,
int currPos) |
void |
updateProgressInternal(String transferId,
int currPos,
int endPos) |
void |
updateStatusInternal(String transferId,
TransferProgress.Status status) |
getProgress, logComment, logCreated, logDeleted, logException, logMoved, logUpdated, setTransactionService, updateProgress, updateProgress, updateStatus
public TransferProgress getProgressInternal(String transferId)
getProgressInternal
in class AbstractTransferProgressMonitor
public void storeError(String transferId, Throwable ex)
storeError
in class AbstractTransferProgressMonitor
public void updateProgressInternal(String transferId, int currPos)
updateProgressInternal
in class AbstractTransferProgressMonitor
public void updateProgressInternal(String transferId, int currPos, int endPos)
updateProgressInternal
in class AbstractTransferProgressMonitor
public void updateStatusInternal(String transferId, TransferProgress.Status status)
updateStatusInternal
in class AbstractTransferProgressMonitor
public InputStream getLogInputStream(String transferId) throws TransferException
TransferException
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- the nodeService to setpublic void setContentService(ContentService contentService)
contentService
- the contentService to setprotected Writer createUnderlyingLogWriter(String transferId)
createUnderlyingLogWriter
in class AbstractTransferProgressMonitor
Copyright © 2005–2017 Alfresco Software. All rights reserved.