public class Workspace extends JSBaseScriptableObject
myLogger| Constructor and Description |
|---|
Workspace() |
| Modifier and Type | Method and Description |
|---|---|
void |
jsFunction_addWidget(com.brightech.mb.workflow.js.widget.JSWidget theWidget,
java.lang.String theWidgetLayoutArea,
int thePosition)
Add the given widget to this workspace.
|
java.lang.String |
jsFunction_getId()
Get this workspace's id.
|
java.lang.String |
jsFunction_getWidgetLayoutArea(com.brightech.mb.workflow.js.widget.JSWidget theWidget)
Get which of the workspace's layout area the given widget is within.
|
java.lang.String[] |
jsFunction_getWidgetLayoutAreas()
Get the names of this workspace's widget layout areas.
|
com.brightech.mb.workflow.js.widget.JSWidget[] |
jsFunction_getWidgets(java.lang.String theWidgetLayoutArea)
Get this workspace's widgets.
|
boolean |
jsFunction_hasRequiredUploadM3taforms()
Does this workflow have required upload M3taforms?
|
org.mozilla.javascript.Scriptable |
jsFunction_initializeRequiredM3taformUpload(User theUser,
ACL theACL,
int theTotalUploads,
java.lang.String theCustomLogAction,
ManagedFolder theUploadDir,
boolean theUnpack)
Initialize a required M3taform upload to this workspace by the given user.
|
int |
jsFunction_removeWidget(com.brightech.mb.workflow.js.widget.JSWidget theWidget)
Remove the given widget from the workspace.
|
void |
jsFunction_write()
Write this workspace's config back to the database.
|
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, 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, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, 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, querySlot, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, sizepublic java.lang.String jsFunction_getId()
public com.brightech.mb.workflow.js.widget.JSWidget[] jsFunction_getWidgets(java.lang.String theWidgetLayoutArea)
theWidgetLayoutArea - Optional, if null all of this workspace's widgets will be returned, if
not null only the widgets from the give layout area will be returned.public int jsFunction_removeWidget(com.brightech.mb.workflow.js.widget.JSWidget theWidget)
theWidget - the Widget to remove.public void jsFunction_addWidget(com.brightech.mb.workflow.js.widget.JSWidget theWidget,
java.lang.String theWidgetLayoutArea,
int thePosition)
theWidget - The widget to add.theWidgetLayoutArea - The layout area of the workspace to add the widget to.thePosition - The position in the workspace layout area to add the widget to. If less than 0, the widget
is added to the end of the area.public java.lang.String jsFunction_getWidgetLayoutArea(com.brightech.mb.workflow.js.widget.JSWidget theWidget)
null if the given
widget is not used by this workspace.theWidget - The widget.null if the given
widget is not used by this workspace.public java.lang.String[] jsFunction_getWidgetLayoutAreas()
public void jsFunction_write()
public boolean jsFunction_hasRequiredUploadM3taforms()
public org.mozilla.javascript.Scriptable jsFunction_initializeRequiredM3taformUpload(User theUser, ACL theACL, int theTotalUploads, java.lang.String theCustomLogAction, ManagedFolder theUploadDir, boolean theUnpack)
theUser - The uploading users.theACL - The ACL being used.theTotalUploads - The total number of items (files, folders, archives) that are being uploadedtheCustomLogAction - Optional custom action to log the upload with.theUploadDir - Optional, defines the path the files should be uploaded to, if null the files will betheUnpack - should archives be unpacked
uploaded to the default location based on the given user and ACL.java.lang.IllegalArgumentException - If this workspace has no required upload M3taforms.Copyright © 2026 MediaBeacon, Inc. All Rights Reserved.