Skip navigation links
MediaBeacon 22.07 Workflow API
com.brightech.mb.workflow.js

Class ResolverManager

    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.mozilla.javascript.ScriptableObject

        org.mozilla.javascript.ScriptableObject.KeyComparator
    • Field Summary

      • Fields inherited from class org.mozilla.javascript.ScriptableObject

        CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
      • Fields inherited from interface org.mozilla.javascript.Scriptable

        NOT_FOUND
    • Constructor Summary

      Constructors 
      Constructor and Description
      ResolverManager() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String jsFunction_assetsURLFromAssetIds(org.mozilla.javascript.NativeArray theAssetIds)
      Get a resolver url from an array of asset ids
      java.lang.String jsFunction_assetsURLFromManagedFiles(org.mozilla.javascript.NativeArray theManagedFiles)
      Returns an asset resolver url
      java.lang.String jsFunction_assetURL(int theAssetId)
      Get a url from an asset id
      java.lang.String jsFunction_currentSelectionURL()
      Returns a current selection resolver url
      java.lang.String jsFunction_directoryURL(ManagedFolder theManagedFolder)
      Returns a directory resolver url
      java.lang.String jsFunction_savedSelectionURL(SavedSelection theSavedSelection)
      Returns a saved selection resolver url
      • Methods inherited from class org.mozilla.javascript.ScriptableObject

        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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.mozilla.javascript.ContextFactory.Listener

        contextCreated, contextReleased
    • Constructor Detail

      • ResolverManager

        public ResolverManager()
    • Method Detail

      • jsFunction_assetsURLFromManagedFiles

        public java.lang.String jsFunction_assetsURLFromManagedFiles(org.mozilla.javascript.NativeArray theManagedFiles)
        Returns an asset resolver url
        Parameters:
        theManagedFiles - An array of managed files to include in the Resolver URL
        Returns:
        resolver url describing the array of assets
      • jsFunction_assetURL

        public java.lang.String jsFunction_assetURL(int theAssetId)
        Get a url from an asset id
        Parameters:
        theAssetId - an asset id
        Returns:
        resolver url describing the asset id
      • jsFunction_assetsURLFromAssetIds

        public java.lang.String jsFunction_assetsURLFromAssetIds(org.mozilla.javascript.NativeArray theAssetIds)
        Get a resolver url from an array of asset ids
        Parameters:
        theAssetIds - array of asset ids
        Returns:
        resolver url describing the array of asset ids
      • jsFunction_directoryURL

        public java.lang.String jsFunction_directoryURL(ManagedFolder theManagedFolder)
        Returns a directory resolver url
        Parameters:
        theManagedFolder - the ManagedFolder object to resolve to its containing assets
        Returns:
      • jsFunction_currentSelectionURL

        public java.lang.String jsFunction_currentSelectionURL()
        Returns a current selection resolver url
        Returns:
      • jsFunction_savedSelectionURL

        public java.lang.String jsFunction_savedSelectionURL(SavedSelection theSavedSelection)
        Returns a saved selection resolver url
        Parameters:
        theSavedSelection - the SavedSelection object to resolve to the assets in the selection
        Returns:
MediaBeacon 22.07 Workflow API

Copyright © 2023 MediaBeacon, Inc. All Rights Reserved.