public class TransientMapNode extends TransientNode implements Map<String,Object>
This type of node is typically used to drive rich lists where the Map implementation is required for sorting columns.
aspects, associations, assocsRetrieved, childAssociations, childAssocsRetrieved, id, locked, name, nodeRef, path, permissions, properties, propsRetrieved, services, type, workingCopyOwner| Constructor and Description |
|---|
TransientMapNode(org.alfresco.service.namespace.QName type,
String name,
Map<org.alfresco.service.namespace.QName,Serializable> data)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set |
entrySet() |
Object |
get(Object key) |
boolean |
isEmpty() |
Set |
keySet() |
Object |
put(String key,
Object value) |
void |
putAll(Map t) |
Object |
remove(Object key) |
int |
size() |
String |
toString()
Override Object.toString() to provide useful debug output
|
Collection |
values() |
createNew, hasPermission, initNode, resetaddPropertyResolver, containsPropertyResolver, getAddedAssociations, getAddedChildAssociations, getAspects, getAssociations, getChildAssociations, getId, getName, getNamespacePrefixResolver, getNodePath, getNodeRef, getNodeRefAsString, getPath, getProperties, getRemovedAssociations, getRemovedChildAssociations, getServiceRegistry, getType, hasAspect, hasProperty, isLocked, isWorkingCopyOwnerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic TransientMapNode(org.alfresco.service.namespace.QName type,
String name,
Map<org.alfresco.service.namespace.QName,Serializable> data)
NOTE: The name is NOT automatically added to the map of properties, if you need the name of this node to be in the map then add it to the map passed in to this constructor.
type - The type this node will representname - The name of the nodedata - The properties and associations this node will havepublic String toString()
NodetoString in class TransientNodepublic void clear()
clear in interface Map<String,Object>Map.clear()public boolean containsKey(Object key)
containsKey in interface Map<String,Object>Map.containsKey(java.lang.Object)public boolean containsValue(Object value)
containsValue in interface Map<String,Object>Map.containsValue(java.lang.Object)public Set entrySet()
entrySet in interface Map<String,Object>Map.entrySet()public Object get(Object key)
get in interface Map<String,Object>Map.get(java.lang.Object)public boolean isEmpty()
isEmpty in interface Map<String,Object>Map.isEmpty()public Set keySet()
keySet in interface Map<String,Object>Map.keySet()public Object put(String key, Object value)
put in interface Map<String,Object>Map.put(java.lang.Object, java.lang.Object)public void putAll(Map t)
putAll in interface Map<String,Object>Map.putAll(java.util.Map)public Object remove(Object key)
remove in interface Map<String,Object>Map.remove(java.lang.Object)public int size()
size in interface Map<String,Object>Map.size()public Collection values()
values in interface Map<String,Object>Map.values()Copyright © 2005–2018 Alfresco Software. All rights reserved.