public class ImportParameters extends MBScriptableObject implements org.mozilla.javascript.Wrapper
myLogger
Constructor and Description |
---|
ImportParameters()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
jsConstructor()
Javascript constructor.
|
void |
jsFunction_setBackupXmp(java.lang.Object theBackupXmpDataObject)
Sets the backup xmp data.
|
void |
jsFunction_setDoNotDescend(boolean theDoNotDescend)
If set, folder imports stop immediately, no internal folders or files will be imported.
|
void |
jsFunction_setIsMigration(boolean theIsForcePacketOverride)
Set this flag if asset is being migrated from another system
|
void |
jsFunction_setIsUpload(boolean theIsUpload)
Sets is upload for the import parameters.
|
void |
jsFunction_setPreserveWorkflowApprovals(boolean thePreserveWorkflowApprovals)
Sets whether workflow approvals should be preserved on import.
|
void |
jsFunction_setRecursive(boolean theRecursive)
Sets if all directories be imported recursively?
|
void |
jsFunction_setSkipBundleUpdate(boolean theSkipBundle)
Disable or enable bundle updates.
|
void |
jsFunction_setSkipMergeDB(boolean theSkipMergeDB)
Sets this flag to force .xmp/.xmpwf files to get new version from disk, otherwise DB always wins.
|
void |
jsFunction_setSkipPreview(boolean theSkipPreview)
Sets this flag to force Preview generation to be enabled or disabled.
|
void |
jsFunction_setSynchronous(boolean theSynchronous)
Should the import be performed synchronously using a single thread or asynchronously, potentially using multiple
file action queue threads and processes.
|
void |
jsFunction_setUpdateType(int theUpdateType)
Sets the type of updates that are to be performed during the import.
|
void |
jsFunction_setUploadId(java.lang.String theUploadId)
Sets the upload id for the import parameters.
|
void |
jsFunction_setUsername(java.lang.String theUsername)
Sets the user that initiated this import.
|
void |
jsFunction_setXmpStorageUpdate(boolean theXmpStorageUpdate)
Sets to true if imports should check to see if XMP storage needs to be updated.
|
boolean |
jsGet_sync()
Whether or not the import parameters are set to be synchronous.
|
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, equivalentValues, get, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, has, hasInstance, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
public void jsConstructor()
public void jsFunction_setUpdateType(int theUpdateType)
theUpdateType
- the type of updates that are to be performed during the importpublic void jsFunction_setIsMigration(boolean theIsForcePacketOverride)
theIsForcePacketOverride
- force the packet fields into the metadatapublic void jsFunction_setRecursive(boolean theRecursive)
theRecursive
- should all directories be imported recursively?public void jsFunction_setSynchronous(boolean theSynchronous)
theSynchronous
- true
if import is single-threaded and synchronous false
if import is multi-threaded
and asynchronouspublic boolean jsGet_sync()
public void jsFunction_setUploadId(java.lang.String theUploadId)
theUploadId
- the upload id to set.public void jsFunction_setIsUpload(boolean theIsUpload)
theIsUpload
- is this an uploadpublic void jsFunction_setSkipBundleUpdate(boolean theSkipBundle)
theSkipBundle
- true to skip bundle updates, false to enable thempublic void jsFunction_setDoNotDescend(boolean theDoNotDescend)
theDoNotDescend
- true to only import single fodler, false to descend and recursepublic void jsFunction_setXmpStorageUpdate(boolean theXmpStorageUpdate)
theXmpStorageUpdate
- set to true to enable XMP storage synchronization on relevant filespublic void jsFunction_setUsername(java.lang.String theUsername)
theUsername
- the user namepublic void jsFunction_setPreserveWorkflowApprovals(boolean thePreserveWorkflowApprovals)
thePreserveWorkflowApprovals
- should workflow approvals be preserved on import?public void jsFunction_setSkipMergeDB(boolean theSkipMergeDB)
theSkipMergeDB
- the flag to force .xmp/.xmpwf files to get new version from diskpublic void jsFunction_setSkipPreview(boolean theSkipPreview)
theSkipPreview
- the flag to force Preview generationpublic void jsFunction_setBackupXmp(java.lang.Object theBackupXmpDataObject)
theBackupXmpDataObject
- Object representing the xmp data. The object must be a list of size 2. The 0
index being the XMP values in the form of MapCopyright © 2023 MediaBeacon, Inc. All Rights Reserved.