public class JSSavedSelectionManager extends JSBaseScriptableObject
Constructor and Description |
---|
JSSavedSelectionManager() |
Modifier and Type | Method and Description |
---|---|
boolean |
(JavaScript Function) clearCurrentSelection()
Clears the current users selection
|
void |
(JavaScript Function) deleteSelection(int theSelectionId)
Deletes the specified selection.
|
int |
(JavaScript Function) getCurrentSelectionCount()
Returns the number of assets in the selection for the current users current s
|
SavedSelection[] |
(JavaScript Function) getSavedSelectionsForUser(java.lang.String theUserName)
Returns an Array of Saved Selections for a user with theUserName
|
SavedSelection |
(JavaScript Function) getSelection(int theSelectionId)
Returns the SavedSelection for the specified id.
|
SavedSelection |
(JavaScript Function) saveSelection(java.lang.String theName,
java.lang.String theDescription,
boolean theIsPublic,
boolean theModifiable,
java.lang.String theResolverUrl)
save a selection
|
void |
(JavaScript Function) selectAll(CriteriaWrapper theCriteria)
Selects all assets for the current user
in the context of the given search criteria
|
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isConst, isEmpty, isExtensible, isSealed, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
public SavedSelection (JavaScript Function) getSelection(int theSelectionId)
theSelectionId
- public SavedSelection (JavaScript Function) saveSelection(java.lang.String theName, java.lang.String theDescription, boolean theIsPublic, boolean theModifiable, java.lang.String theResolverUrl)
theName
- name to savetheDescription
- description to savetheIsPublic
- is selection publictheModifiable
- is selection modifiabletheResolverUrl
- the url to define what assets to put in the selectionpublic void (JavaScript Function) selectAll(CriteriaWrapper theCriteria)
theCriteria
- search for the selection. Accepts null to select everythingpublic int (JavaScript Function) getCurrentSelectionCount()
public boolean (JavaScript Function) clearCurrentSelection()
public SavedSelection[] (JavaScript Function) getSavedSelectionsForUser(java.lang.String theUserName)
theUserName
- public void (JavaScript Function) deleteSelection(int theSelectionId)
theSelectionId
- the selection id of the selection to delete.Copyright © 2017 MediaBeacon, Inc. All Rights Reserved.