public class JSDiscussionManager extends JSBaseScriptableObject
myLogger
Constructor and Description |
---|
JSDiscussionManager() |
Modifier and Type | Method and Description |
---|---|
CommentVOWrapper[] |
jsFunction_getComments(int theAssetID,
int thePage,
int theNumberOfPagesToReturn,
boolean theAnnotationsOnly)
Gets comments from an asset, given its id.
|
void |
jsFunction_saveComment(int theAssetID,
CommentVOWrapper theComment)
Saves a comment to an asset.
|
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 jsFunction_saveComment(int theAssetID, CommentVOWrapper theComment)
theAssetID
- the id of the asset to save the comment totheComment
- the comment structure to savepublic CommentVOWrapper[] jsFunction_getComments(int theAssetID, int thePage, int theNumberOfPagesToReturn, boolean theAnnotationsOnly)
theAssetID
- the asset id to retrieve the comments fromthePage
- the page to querytheAnnotationsOnly
- should we only get annotations?Copyright © 2023 MediaBeacon, Inc. All Rights Reserved.