public class AssetBasedTriggerEvent extends TriggerEvent
TriggerEvent
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
AssetBasedTriggerEvent.ActionType
Actions that initiate asset-based triggers.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
kAssetActionTypeParameterKey
Parameter key for asset-added action type.
|
myLogger
Constructor and Description |
---|
AssetBasedTriggerEvent()
Constructor.
|
AssetBasedTriggerEvent(int theTriggerType)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
jsFunction_getActionType()
Gets the action type that added the asset.
|
java.lang.String |
jsFunction_getActionTypeString()
Returns the string associated with the asset-based action type.
|
IFileObject |
jsFunction_getAsset()
Returns the asset.
|
org.mozilla.javascript.NativeArray |
jsFunction_getModifiedFields()
Returns an array of modified metadata fields.
|
java.lang.Object |
jsFunction_getNewFieldValue(PropertyWrapper theField)
Returns the field's new value.
|
java.lang.Object |
jsFunction_getOldFieldValue(PropertyWrapper theField)
Returns the field's new value.
|
void |
jsFunction_setAsset(IFileObject theAsset) |
boolean |
jsFunction_wasFieldModified(PropertyWrapper theField)
Returns true if the field was changed as part of this asset modified event.
|
jsFunction_getACL, jsFunction_getBaseUrl, jsFunction_getConfiguration, jsFunction_getDate, jsFunction_getGroup, jsFunction_getParameter, jsFunction_getParameterNames, jsFunction_getResponseHeaders, jsFunction_getResponseHeaderValue, jsFunction_getServerURL, jsFunction_getSourceURL, jsFunction_getType, jsFunction_getTypeString, jsFunction_getUploadedFile, jsFunction_getUser, jsFunction_getWorkflow, jsFunction_setResponseHeader, jsFunction_toNative, jsGet_date, jsGet_type
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 static final java.lang.String kAssetActionTypeParameterKey
public AssetBasedTriggerEvent()
public AssetBasedTriggerEvent(int theTriggerType)
theTriggerType
- TriggerConstants
public void jsFunction_setAsset(IFileObject theAsset)
public int jsFunction_getActionType()
AssetBasedTriggerEvent.ActionType
public java.lang.String jsFunction_getActionTypeString()
AssetBasedTriggerEvent.ActionType
public IFileObject jsFunction_getAsset()
public boolean jsFunction_wasFieldModified(PropertyWrapper theField)
theField
- the fieldpublic org.mozilla.javascript.NativeArray jsFunction_getModifiedFields()
public java.lang.Object jsFunction_getNewFieldValue(PropertyWrapper theField)
theField
- the fieldpublic java.lang.Object jsFunction_getOldFieldValue(PropertyWrapper theField)
theField
- the fieldCopyright © 2023 MediaBeacon, Inc. All Rights Reserved.