public class ExportWithReferences extends XMLRequest
Constructor and Description |
---|
ExportWithReferences(UC4ObjectName name,
java.io.File exportFile)
Creates a new request to export an object with all referenced objects.
|
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
getBinaryContent()
Returns the export file content as
ByteBuffer |
java.lang.Exception |
getExportException()
Returns the
Exception that occured during the export or null
if the export was successful. |
java.lang.String |
getExportMessages()
Returns export messages.
|
java.util.Iterator<DownloadBinary> |
getResourceList()
|
boolean |
wasSuccessful()
Returns
true if the file was saved successfully. |
getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, send
public ExportWithReferences(UC4ObjectName name, java.io.File exportFile)
name
- Name of the ObjectexportFile
- Name of the export filepublic java.lang.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 java.lang.Exception getExportException()
Exception
that occured during the export or null
if the export was successful.public java.nio.ByteBuffer getBinaryContent()
ByteBuffer.
public java.util.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.