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