public class ExportWithReferences extends XMLRequest
Constructor and Description |
---|
ExportWithReferences(UC4ObjectName name,
File exportFile)
Creates a new request to export an object with all referenced objects.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
getBinaryContent()
Returns the export file content as
ByteBuffer . |
Exception |
getExportException()
Returns the
Exception that occurred during the export or null
if the export was successful. |
String |
getExportMessages()
Returns export messages.
|
Iterator<DownloadBinary> |
getResourceList()
|
boolean |
wasSuccessful()
Returns
true if the file was saved successfully. |
getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, send, showQuarantineNotification
public ExportWithReferences(UC4ObjectName name, File exportFile)
name
- Name of the ObjectexportFile
- Name of the export filepublic String getExportMessages()
public boolean wasSuccessful()
true
if the file was saved successfully.
If this method returns false
the method getExportException
can be used to get the exception which occured during the export.public Exception getExportException()
Exception
that occurred during the export or null
if the export was successful.public ByteBuffer getBinaryContent()
ByteBuffer
.public Iterator<DownloadBinary> getResourceList()
Iterator
with items of DownloadBinary
objects after invoking the ExportObject
instance.
Use this Iterator
to additionally download all related resource items of each STORE object containing within the export.Iterator
containing all resource items of each exported STORE object.Copyright © 2021. All rights reserved.