public class MapNode extends Node implements Map<String,Object>
aspects, associations, assocsRetrieved, childAssociations, childAssocsRetrieved, id, locked, name, nodeRef, path, permissions, properties, propsRetrieved, services, type, workingCopyOwner
Constructor and Description |
---|
MapNode(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Constructor
|
MapNode(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.cmr.repository.NodeService nodeService,
boolean initProps)
Constructor
|
MapNode(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.cmr.repository.NodeService nodeService,
Map<org.alfresco.service.namespace.QName,Serializable> props)
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) |
void |
reset()
Resets the state of the node to force re-retrieval of the data
|
int |
size() |
Collection |
values() |
addPropertyResolver, containsPropertyResolver, getAddedAssociations, getAddedChildAssociations, getAspects, getAssociations, getChildAssociations, getId, getName, getNamespacePrefixResolver, getNodePath, getNodeRef, getNodeRefAsString, getPath, getProperties, getRemovedAssociations, getRemovedChildAssociations, getServiceRegistry, getType, hasAspect, hasPermission, hasProperty, isLocked, isWorkingCopyOwner, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public MapNode(org.alfresco.service.cmr.repository.NodeRef nodeRef)
nodeRef
- The NodeRef this Node wrapper representspublic MapNode(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.cmr.repository.NodeService nodeService, boolean initProps)
nodeRef
- The NodeRef this Node wrapper representsnodeService
- The node service to use to retrieve data for this nodeinitProps
- True to immediately init the properties of the node, false to do nothingpublic MapNode(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.cmr.repository.NodeService nodeService, Map<org.alfresco.service.namespace.QName,Serializable> props)
nodeRef
- The NodeRef this Node wrapper representsnodeService
- The node service to use to retrieve data for this nodeprops
- The properties of the node, already retrieved from NodeServicepublic 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 void reset()
Node
public Collection values()
values
in interface Map<String,Object>
Map.values()
Copyright © 2005–2017 Alfresco Software. All rights reserved.