org.alfresco.web.bean.repository
Class TransientMapNode
java.lang.Object
org.alfresco.web.bean.repository.Node
org.alfresco.web.bean.repository.TransientNode
org.alfresco.web.bean.repository.TransientMapNode
- All Implemented Interfaces:
- java.io.Serializable, java.util.Map, org.alfresco.service.namespace.NamespacePrefixResolverProvider
public class TransientMapNode
- extends TransientNode
- implements java.util.Map
Represents a transient node i.e. it is not and will not be present in the repository.
This type of node is typically used to drive rich lists where the Map implementation
is required for sorting columns.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry |
Fields inherited from class org.alfresco.web.bean.repository.Node |
aspects, associations, assocsRetrieved, childAssociations, childAssocsRetrieved, id, locked, name, nodeRef, path, permissions, properties, propsRetrieved, services, type, workingCopyOwner |
Constructor Summary |
TransientMapNode(org.alfresco.service.namespace.QName type,
java.lang.String name,
java.util.Map data)
Constructor. |
Method Summary |
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()
|
Methods inherited from class org.alfresco.web.bean.repository.Node |
addPropertyResolver, containsPropertyResolver, getAddedAssociations, getAddedChildAssociations, getAspects, getAssociations, getChildAssociations, getId, getName, getNamespacePrefixResolver, getNodePath, getNodeRef, getNodeRefAsString, getPath, getProperties, getRemovedAssociations, getRemovedChildAssociations, getServiceRegistry, getType, hasAspect, hasProperty, isLocked, isWorkingCopyOwner |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
TransientMapNode
public TransientMapNode(org.alfresco.service.namespace.QName type,
java.lang.String name,
java.util.Map data)
- Constructor.
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.
- Parameters:
type
- The type this node will representname
- The name of the nodedata
- The properties and associations this node will have
toString
public java.lang.String toString()
- Description copied from class:
Node
- Override Object.toString() to provide useful debug output
- Overrides:
toString
in class TransientNode
clear
public void clear()
- Specified by:
clear
in interface java.util.Map
- See Also:
Map.clear()
containsKey
public boolean containsKey(java.lang.Object key)
- Specified by:
containsKey
in interface java.util.Map
- See Also:
Map.containsKey(java.lang.Object)
containsValue
public boolean containsValue(java.lang.Object value)
- Specified by:
containsValue
in interface java.util.Map
- See Also:
Map.containsValue(java.lang.Object)
entrySet
public java.util.Set entrySet()
- Specified by:
entrySet
in interface java.util.Map
- See Also:
Map.entrySet()
get
public java.lang.Object get(java.lang.Object key)
- Specified by:
get
in interface java.util.Map
- See Also:
Map.get(java.lang.Object)
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface java.util.Map
- See Also:
Map.isEmpty()
keySet
public java.util.Set keySet()
- Specified by:
keySet
in interface java.util.Map
- See Also:
Map.keySet()
put
public java.lang.Object put(java.lang.String key,
java.lang.Object value)
- Specified by:
put
in interface java.util.Map
- See Also:
Map.put(java.lang.Object, java.lang.Object)
putAll
public void putAll(java.util.Map t)
- Specified by:
putAll
in interface java.util.Map
- See Also:
Map.putAll(java.util.Map)
remove
public java.lang.Object remove(java.lang.Object key)
- Specified by:
remove
in interface java.util.Map
- See Also:
Map.remove(java.lang.Object)
size
public int size()
- Specified by:
size
in interface java.util.Map
- See Also:
Map.size()
values
public java.util.Collection values()
- Specified by:
values
in interface java.util.Map
- See Also:
Map.values()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.