Package | Description |
---|---|
org.alfresco.repo.transfer |
Provides the implementation of the transfer service which can be used to
transfer nodes from one repository to another.
|
org.alfresco.repo.transfer.fsr | |
org.alfresco.service.cmr.transfer |
Provides the public interface for the transfer service which can be used to
transfer nodes from one repository to another.
|
Modifier and Type | Class and Description |
---|---|
class |
TransferFatalException |
class |
TransferProcessingException |
Modifier and Type | Method and Description |
---|---|
void |
HttpClientTransmitterImpl.abort(Transfer transfer) |
void |
TransferTransmitter.abort(Transfer transfer)
Abort the transfer
|
void |
ContentChunker.addContent(org.alfresco.service.cmr.repository.ContentData data)
add content data to the chunker
|
void |
ContentChunkerImpl.addContent(org.alfresco.service.cmr.repository.ContentData data) |
Transfer |
HttpClientTransmitterImpl.begin(TransferTarget target,
String fromRepositoryId,
TransferVersion fromVersion) |
Transfer |
TransferTransmitter.begin(TransferTarget target,
String fromRepositoryId,
TransferVersion fromVersion)
Begin a transfer, the transfer object returned will be used by subsequent
calls to the transfer service.
|
void |
RepoTransferReceiverImpl.cancel(String transferId) |
org.alfresco.repo.transfer.RepoTransferReceiverImpl.Lock |
RepoTransferReceiverImpl.checkLock(String transferId) |
void |
RepoTransferReceiverImpl.commit(String transferId) |
void |
HttpClientTransmitterImpl.commit(Transfer transfer) |
void |
TransferTransmitter.commit(Transfer transfer) |
void |
ContentChunker.flush()
flush any remaining content data
|
void |
ContentChunkerImpl.flush() |
void |
RepoTransferReceiverImpl.generateRequsite(String transferId,
OutputStream out)
Generate the requsite
|
InputStream |
LoggingTransferProgressMonitorImpl.getLogInputStream(String transferId) |
InputStream |
RepoTransferProgressMonitorImpl.getLogInputStream(String transferId) |
InputStream |
TransferProgressMonitor.getLogInputStream(String transferId) |
TransferProgress |
LoggingTransferProgressMonitorImpl.getProgress(String transferId) |
TransferProgress |
AbstractTransferProgressMonitor.getProgress(String transferId) |
TransferProgress |
TransferProgressMonitor.getProgress(String transferId)
Read the progress of the
|
TransferProgress |
RepoTransferReceiverImpl.getStatus(String transferId) |
TransferProgress |
HttpClientTransmitterImpl.getStatus(Transfer transfer) |
TransferProgress |
TransferTransmitter.getStatus(Transfer transfer)
Get the status of an in process transfer
|
void |
LoggingTransferProgressMonitorImpl.logComment(String transferId,
Object obj) |
void |
TransferProgressMonitor.logComment(String transferId,
Object obj)
log an ad-hoc message
|
void |
LoggingTransferProgressMonitorImpl.logException(String transferId,
Object obj,
Throwable ex) |
void |
TransferProgressMonitor.logException(String transferId,
Object obj,
Throwable ex)
log an ad-hoc message and an exception
|
void |
TransferSummaryReport.logSummaryComment(Object obj)
log an ad-hoc message
|
void |
TransferSummaryReportImpl.logSummaryComment(Object obj) |
void |
TransferSummaryReport.logSummaryException(Object obj,
Throwable ex)
log an ad-hoc message and an exception
|
void |
TransferSummaryReportImpl.logSummaryException(Object obj,
Throwable ex) |
void |
TransferSummaryReport.logSummaryUpdateStatus(TransferProgress.Status status)
update the status of the transfer
|
void |
TransferSummaryReportImpl.logSummaryUpdateStatus(TransferProgress.Status status) |
void |
RepoTransferReceiverImpl.prepare(String transferId) |
void |
HttpClientTransmitterImpl.prepare(Transfer transfer) |
void |
TransferTransmitter.prepare(Transfer transfer) |
void |
ContentChunkProcessor.processChunk(Set<org.alfresco.service.cmr.repository.ContentData> data)
process this chunk of content data
|
void |
RepoTransferReceiverImpl.saveContent(String transferId,
String contentFileId,
InputStream contentStream) |
void |
RepoTransferReceiverImpl.saveSnapshot(String transferId,
InputStream openStream) |
void |
HttpClientTransmitterImpl.sendContent(Transfer transfer,
Set<org.alfresco.service.cmr.repository.ContentData> data) |
void |
HttpClientTransmitterImpl.sendManifest(Transfer transfer,
File manifest,
OutputStream result) |
void |
TransferTransmitter.sendManifest(Transfer transfer,
File manifest,
OutputStream results) |
void |
LoggingTransferProgressMonitorImpl.updateProgress(String transferId,
int currPos) |
void |
AbstractTransferProgressMonitor.updateProgress(String transferId,
int currPos) |
void |
TransferProgressMonitor.updateProgress(String transferId,
int currPos)
update the progress of the specified transfer
|
void |
LoggingTransferProgressMonitorImpl.updateProgress(String transferId,
int currPos,
int endPos) |
void |
AbstractTransferProgressMonitor.updateProgress(String transferId,
int currPos,
int endPos) |
void |
TransferProgressMonitor.updateProgress(String transferId,
int currPos,
int endPos)
update the progress of the specified transfer and possibly change the end position.
|
void |
LoggingTransferProgressMonitorImpl.updateStatus(String transferId,
TransferProgress.Status status) |
void |
AbstractTransferProgressMonitor.updateStatus(String transferId,
TransferProgress.Status status) |
void |
TransferProgressMonitor.updateStatus(String transferId,
TransferProgress.Status status)
update the startus of the transfer
|
void |
TransferServiceImpl2.verify(TransferTarget target) |
void |
TransferServiceImpl.verify(TransferTarget target) |
void |
HttpClientTransmitterImpl.verifyTarget(TransferTarget target) |
void |
TransferTransmitter.verifyTarget(TransferTarget target)
Verify that the target is available
|
Modifier and Type | Method and Description |
---|---|
void |
FileTransferReceiver.cancel(String transferId) |
org.alfresco.repo.transfer.fsr.FileTransferReceiver.Lock |
FileTransferReceiver.checkLock(String transferId) |
void |
FileTransferReceiver.commit(String transferId) |
void |
FileTransferReceiver.commitAsync(String transferId) |
void |
TransferListener.created(String transferId,
org.alfresco.service.cmr.repository.NodeRef sourceNode,
org.alfresco.service.cmr.repository.NodeRef parentNode,
String newPath,
boolean orphan)
Called when a folder or file is created in response to an inbound transfer.
|
void |
TransferListener.deleted(String transferId,
org.alfresco.service.cmr.repository.NodeRef sourceNode,
String path)
Called when a folder or file is deleted in response to an inbound transfer.
|
void |
FileTransferReceiver.generateRequsite(String transferId,
OutputStream requsiteStream) |
InputStream |
FileTransferProgressMonitor.getLogInputStream(String transferId) |
InputStream |
HookableTransferMonitorImpl.getLogInputStream(String transferId) |
TransferProgress |
HookableTransferMonitorImpl.getProgress(String transferId) |
TransferProgress |
FileTransferProgressMonitor.getProgressInternal(String transferId) |
TransferProgress |
FileTransferReceiver.getStatus(String transferId) |
void |
HookableTransferMonitorImpl.logComment(String transferId,
Object obj) |
void |
HookableTransferMonitorImpl.logException(String transferId,
Object obj,
Throwable ex) |
void |
TransferListener.moved(String transferId,
org.alfresco.service.cmr.repository.NodeRef sourceNode,
String oldPath,
org.alfresco.service.cmr.repository.NodeRef newParent,
String newPath)
Called when a folder or file is moved in response to an inbound transfer.
|
void |
FileTransferReceiver.prepare(String transferId) |
void |
FileTransferReceiver.saveContent(String transferId,
String contentFileId,
InputStream contentStream) |
void |
FileTransferReceiver.saveSnapshot(String transferId,
InputStream openStream) |
void |
TransferListener.statusChanged(String transferId,
TransferProgress.Status status)
Called when an inbound transfer changes state.
|
void |
TransferListener.updated(String transferId,
org.alfresco.service.cmr.repository.NodeRef sourceNode,
String path)
Called when a file is updated in response to an inbound transfer.
|
void |
HookableTransferMonitorImpl.updateProgress(String transferId,
int currPos) |
void |
HookableTransferMonitorImpl.updateProgress(String transferId,
int currPos,
int endPos) |
void |
FileTransferProgressMonitor.updateProgressInternal(String transferId,
int currPos) |
void |
FileTransferProgressMonitor.updateProgressInternal(String transferId,
int currPos,
int endPos) |
void |
HookableTransferMonitorImpl.updateStatus(String transferId,
TransferProgress.Status status) |
protected void |
FileTransferProgressMonitor.updateStatusInternal(String transferId,
TransferProgress.Status status) |
Modifier and Type | Class and Description |
---|---|
class |
TransferCancelledException
Transfer service exception class for when the
transfer was halted through a cancel
|
class |
TransferFailureException
Transfer failure exception
|
Modifier and Type | Method and Description |
---|---|
void |
TransferReceiver.cancel(String transferId)
Abort
|
void |
TransferReceiver.commit(String transferId)
Commit
|
void |
TransferReceiver.commitAsync(String transferId)
Commit asynchronously
|
TransferTarget |
TransferService.createAndSaveTransferTarget(String name,
String title,
String description,
String endpointProtocol,
String endpointHost,
int endpointPort,
String endpointPath,
String username,
char[] password)
Deprecated.
Create and save a new transfer target.
|
TransferTarget |
TransferService2.createAndSaveTransferTarget(String name,
String title,
String description,
String endpointProtocol,
String endpointHost,
int endpointPort,
String endpointPath,
String username,
char[] password)
Create and save a new transfer target.
|
void |
TransferService.deleteTransferTarget(String name)
Deprecated.
Delete a transfer target.
|
void |
TransferService2.deleteTransferTarget(String name)
Delete a transfer target.
|
void |
TransferService.enableTransferTarget(String name,
boolean enable)
Deprecated.
Enables/Disables the named transfer target
|
void |
TransferService2.enableTransferTarget(String name,
boolean enable)
Enables/Disables the named transfer target
|
void |
TransferReceiver.end(String transferId)
Asks the receiver to end (and clean up) the specified transfer
|
void |
TransferReceiver.generateRequsite(String transferId,
OutputStream requsiteStream)
Write the requsite (the bits required to support the Manifest) to the output stream.
|
TransferProgress |
TransferReceiver.getStatus(String transferId) |
TransferTarget |
TransferService.getTransferTarget(String name)
Deprecated.
Get a transfer target by its name
|
TransferTarget |
TransferService2.getTransferTarget(String name)
Get a transfer target by its name
|
Set<TransferTarget> |
TransferService.getTransferTargets()
Deprecated.
Get all the transfer targets
|
Set<TransferTarget> |
TransferService2.getTransferTargets()
Get all the transfer targets
|
Set<TransferTarget> |
TransferService.getTransferTargets(String groupName)
Deprecated.
Get All the transfer targets for a particular transfer target group.
|
Set<TransferTarget> |
TransferService2.getTransferTargets(String groupName)
Get All the transfer targets for a particular transfer target group.
|
void |
TransferReceiver.prepare(String transferId)
Prepare
|
void |
TransferReceiver.saveContent(String transferId,
String contentId,
InputStream contentStream)
Save a content item
|
void |
TransferReceiver.saveSnapshot(String transferId,
InputStream snapshotStream)
Store the specified snapshot file into the transfer staging area.
|
TransferTarget |
TransferService.saveTransferTarget(TransferTarget update)
Deprecated.
Save TransferTarget, will create a transfer target if it does not already exist or update an existing transfer target.
|
TransferTarget |
TransferService2.saveTransferTarget(TransferTarget update)
Save TransferTarget, will create a transfer target if it does not already exist or update an existing transfer target.
|
String |
TransferReceiver.start(String fromRepositoryId,
boolean allowTransferToSelf,
TransferVersion fromVersion)
Asks the receiver to setup a new transfer.
|
org.alfresco.service.cmr.repository.NodeRef |
TransferService.transfer(String targetName,
TransferDefinition definition)
Deprecated.
Transfer nodes, sync.
|
org.alfresco.service.cmr.repository.NodeRef |
TransferService.transfer(String targetName,
TransferDefinition definition,
Collection<TransferCallback> callback)
Deprecated.
Transfer nodes sync, with callback.
|
org.alfresco.service.cmr.repository.NodeRef |
TransferService.transfer(String targetName,
TransferDefinition definition,
TransferCallback... callbacks)
Deprecated.
Transfer nodes sync, with callback.
|
void |
TransferService.transferAsync(String targetName,
TransferDefinition definition,
Collection<TransferCallback> callback)
Deprecated.
Transfer nodes async with callback.
|
void |
TransferService2.transferAsync(String targetName,
TransferDefinition definition,
Collection<TransferCallback> callback)
Transfer nodes async with callback.
|
void |
TransferService.transferAsync(String targetName,
TransferDefinition definition,
TransferCallback... callbacks)
Deprecated.
Transfer nodes async with callback.
|
void |
TransferService2.transferAsync(String targetName,
TransferDefinition definition,
TransferCallback... callbacks)
Transfer nodes async with callback.
|
void |
TransferService.verify(TransferTarget target)
Deprecated.
Verify a target is available and that the configured credentials are valid.
|
void |
TransferService2.verify(TransferTarget target)
Verify a target is available and that the configured credentials are valid.
|
Copyright © 2005–2017 Alfresco Software. All rights reserved.