public class RemoteTransfer extends Object
Constructor and Description |
---|
RemoteTransfer() |
Modifier and Type | Method and Description |
---|---|
List<PartData> |
getPartsForTransfer(List<Long> entryIds)
Using the list of entry Ids, populates a list of PartData objects that maintains the hierarchical
relationships
|
protected void |
performTransfer(RemotePartner partner,
PartData data)
Transfers the sequence file for the part and any parts that are linked to it.
|
List<Long> |
transferEntries(long remoteId,
List<PartData> entries)
Performs the transfer of the entry objects to the remote partner specified.
|
FolderDetails |
transferFolder(long remoteId,
FolderDetails folderDetails,
List<Long> remoteIds) |
public List<PartData> getPartsForTransfer(List<Long> entryIds)
entryIds
- list of ids for entries that are to be transferredpublic List<Long> transferEntries(long remoteId, List<PartData> entries)
remoteId
- unique identifier for remote partner the parts are to be transferred toentries
- list of entries to be transferred. Note that the entries contain the linked
entries as well and these may or may not already exist on the recipientpublic FolderDetails transferFolder(long remoteId, FolderDetails folderDetails, List<Long> remoteIds)
protected void performTransfer(RemotePartner partner, PartData data)
partner
- destination for the sequence transferdata
- data for part whose sequences are to be transferredCopyright © 2017. All rights reserved.