Package org.alfresco.repo.jscript
Class ContentAwareScriptableQNameMap<K,V>
- java.lang.Object
-
- org.alfresco.service.namespace.QNameMap<K,V>
-
- org.alfresco.repo.jscript.ScriptableQNameMap<K,V>
-
- org.alfresco.repo.jscript.ContentAwareScriptableQNameMap<K,V>
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map,org.mozilla.javascript.Scriptable
public class ContentAwareScriptableQNameMap<K,V> extends ScriptableQNameMap<K,V>
Specialised map class for supporting the initialisation of 'cm:content' properties for JavaScript API objects. The JavaScript needs supporting objects to be initialised for certain data-types. If the 'cm:content' property is not already initialised then it must be created on demand or it will not be available to the users of the API. See AR-1673.- Author:
- Kevin Roast
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContentAwareScriptableQNameMap(ScriptNode factory, ServiceRegistry services)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectget(java.lang.Object name)-
Methods inherited from class org.alfresco.repo.jscript.ScriptableQNameMap
delete, delete, get, get, getClassName, getDefaultValue, getIds, getParentScope, getPrototype, has, has, hasInstance, hasOwnProperty, put, put, setParentScope, setPrototype
-
Methods inherited from class org.alfresco.service.namespace.QNameMap
clear, clone, containsKey, containsValue, entrySet, getMapOfQNames, getResolver, isEmpty, keySet, put, putAll, remove, size, toString, values
-
-
-
-
Constructor Detail
-
ContentAwareScriptableQNameMap
public ContentAwareScriptableQNameMap(ScriptNode factory, ServiceRegistry services)
Constructor- Parameters:
factory- Factory to provide further ScriptNode objectsservices- ServiceRegistry
-
-