ContentTransfer

Properties

Methods

Detailed Description

See documentation for ContentHub

Property Documentation

direction : ContentTransfer.Direction

ContentTransfer.Direction is an enumeration:
DirectionDescription
ContentTransfer.ImportTransfer is a request to import content.
ContentTransfer.ExportTransfer is a request to export content.

items : list<ContentItem>

List of items included in the ContentTransfer


selectionType : ContentTransfer.SelectionType

ContentTransfer.SelectionType is an enumeration:
TypeDescription
ContentTransfer.SingleTransfer should contain a single item.
ContentTransfer.MultipleTransfer can contain multiple items.

state : ContentTransfer.State

ContentTransfer.State is an enumeration:
StateDescription
ContentTransfer.CreatedTransfer created, waiting to be initiated.
ContentTransfer.InitiatedTransfer has been initiated.
ContentTransfer.InProgressTransfer is in progress.
ContentTransfer.ChargedTransfer is charged with items and ready to be collected.
ContentTransfer.CollectedItems in the transfer have been collected.
ContentTransfer.AbortedTransfer has been aborted.
ContentTransfer.FinalizedTransfer has been finished and cleaned up.

store : string

ContentStore where the ContentTransfer will add items


Method Documentation

ContentTransfer::finalize()

Sets State to ContentTransfer.Finalized and cleans up temporary files


ContentTransfer::start()

Start the transfer, this sets the State to ContentTransfer.Initiated