public class JSExternalSharingManager extends JSBaseScriptableObject
myLogger
Constructor and Description |
---|
JSExternalSharingManager() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
jsFunction_createExternalShare(java.lang.String theResolverString,
java.lang.String theExpirationDate,
java.lang.String theShareInformation,
int theDownloadCount,
boolean theIsEmailOnDownload)
Create an entry for sharing some selection external of having an account in MediaBeacon
|
java.lang.String |
jsFunction_getDirectDownloadLink(java.lang.String theResolverString,
java.lang.String theExpirationDate,
java.lang.String theShareInformation,
int theDownloadCount,
boolean theIsEmailOnDownload)
Return link for the external download.
|
java.lang.String |
jsFunction_getLicensingPageLink(java.lang.String theResolverString,
java.lang.String theExpirationDate,
java.lang.String theShareInformation,
int theDownloadCount,
boolean theIsEmailOnDownload)
Return the content relative path for showing the licensing page which leads to the external download.
|
void |
jsFunction_removeExternalShare(java.lang.String theKey)
Remove sharing entries for the passed key
|
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 java.lang.String jsFunction_createExternalShare(java.lang.String theResolverString, java.lang.String theExpirationDate, java.lang.String theShareInformation, int theDownloadCount, boolean theIsEmailOnDownload)
theResolverString
- resolver url used to define the grouping of assets. ex. asset://200364668, directory://32459theExpirationDate
- expiration date (time since epoch) ex. 1469171189281theShareInformation
- any extraneous information to be associated with the generated linktheBody
- the content to display in the licensing dialogs bodytheDownloadCount
- total download count allowed. -1 is unlimitedtheIsEmailOnDownload
- should we email the user sharing the selection when the link is used?public java.lang.String jsFunction_getLicensingPageLink(java.lang.String theResolverString, java.lang.String theExpirationDate, java.lang.String theShareInformation, int theDownloadCount, boolean theIsEmailOnDownload)
theResolverString
- resolver url used to define the grouping of assets. ex. asset://200364668, directory://32459theExpirationDate
- expiration date (time since epoch) ex. 1469171189281theShareInformation
- any extraneous information to be associated with the generated linktheBody
- the content to display in the licensing dialogs bodytheDownloadCount
- total download count allowed. -1 is unlimitedtheIsEmailOnDownload
- should we email the user sharing the selection when the link is used?public java.lang.String jsFunction_getDirectDownloadLink(java.lang.String theResolverString, java.lang.String theExpirationDate, java.lang.String theShareInformation, int theDownloadCount, boolean theIsEmailOnDownload)
theResolverString
- resolver url used to define the grouping of assets. ex. asset://200364668, directory://32459theExpirationDate
- expiration date (time since epoch) ex. 1469171189281theShareInformation
- any extraneous information to be associated with the generated linktheBody
- the content to display in the licensing dialogs bodytheDownloadCount
- total download count allowed. -1 is unlimitedtheIsEmailOnDownload
- should we email the user sharing the selection when the link is used?public void jsFunction_removeExternalShare(java.lang.String theKey)
theKey
- key for the downloadCopyright © 2023 MediaBeacon, Inc. All Rights Reserved.