public class TransientMapNode extends TransientNode implements java.util.Map
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,
java.lang.String name,
java.util.Map data)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
java.util.Set |
entrySet() |
java.lang.Object |
get(java.lang.Object key) |
boolean |
isEmpty() |
java.util.Set |
keySet() |
java.lang.Object |
put(java.lang.String key,
java.lang.Object value) |
void |
putAll(java.util.Map t) |
java.lang.Object |
remove(java.lang.Object key) |
int |
size() |
java.lang.String |
toString()
Override Object.toString() to provide useful debug output
|
java.util.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, isWorkingCopyOwnerpublic TransientMapNode(org.alfresco.service.namespace.QName type,
java.lang.String name,
java.util.Map 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 java.lang.String toString()
NodetoString in class TransientNodepublic void clear()
clear in interface java.util.MapMap.clear()public boolean containsKey(java.lang.Object key)
containsKey in interface java.util.MapMap.containsKey(java.lang.Object)public boolean containsValue(java.lang.Object value)
containsValue in interface java.util.MapMap.containsValue(java.lang.Object)public java.util.Set entrySet()
entrySet in interface java.util.MapMap.entrySet()public java.lang.Object get(java.lang.Object key)
get in interface java.util.MapMap.get(java.lang.Object)public boolean isEmpty()
isEmpty in interface java.util.MapMap.isEmpty()public java.util.Set keySet()
keySet in interface java.util.MapMap.keySet()public java.lang.Object put(java.lang.String key,
java.lang.Object value)
put in interface java.util.MapMap.put(java.lang.Object, java.lang.Object)public void putAll(java.util.Map t)
putAll in interface java.util.MapMap.putAll(java.util.Map)public java.lang.Object remove(java.lang.Object key)
remove in interface java.util.MapMap.remove(java.lang.Object)public int size()
size in interface java.util.MapMap.size()public java.util.Collection values()
values in interface java.util.MapMap.values()Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.