org.alfresco.web.bean.wcm
Class AVMNode
java.lang.Object
org.alfresco.web.bean.repository.Node
org.alfresco.web.bean.wcm.AVMNode
- All Implemented Interfaces:
- java.io.Serializable, java.util.Map, org.alfresco.service.namespace.NamespacePrefixResolverProvider
public class AVMNode
- extends Node
- implements java.util.Map
Node class representing an AVM specific Node.
Handles AVM related notions such as Path and Version. Provides the usual properties and
property resolving functions, and appropriate method overrides for the AVM world.
- 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 |
AVMNode(org.alfresco.wcm.asset.AssetInfo asset)
|
AVMNode(org.alfresco.service.cmr.avm.AVMNodeDescriptor avmRef)
Constructor |
Methods inherited from class org.alfresco.web.bean.repository.Node |
addPropertyResolver, containsPropertyResolver, getAddedAssociations, getAddedChildAssociations, getAspects, getAssociations, getChildAssociations, getId, getNamespacePrefixResolver, getNodePath, getNodeRef, getNodeRefAsString, getRemovedAssociations, getRemovedChildAssociations, getServiceRegistry, hasAspect, hasPermission, hasProperty, isLocked, isWorkingCopyOwner, reset, toString |
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 |
RESOLVER_PREVIEW_URL
public static final NodePropertyResolver RESOLVER_PREVIEW_URL
RESOLVER_SANDBOX_RELATIVE_PATH
public static final NodePropertyResolver RESOLVER_SANDBOX_RELATIVE_PATH
RESOLVER_FILE_TYPE_16
public static final NodePropertyResolver RESOLVER_FILE_TYPE_16
RESOLVER_DISPLAY_PATH
public static final NodePropertyResolver RESOLVER_DISPLAY_PATH
RESOLVER_PARENT_PATH
public static final NodePropertyResolver RESOLVER_PARENT_PATH
AVMNode
public AVMNode(org.alfresco.wcm.asset.AssetInfo asset)
AVMNode
public AVMNode(org.alfresco.service.cmr.avm.AVMNodeDescriptor avmRef)
- Constructor
- Parameters:
avmRef
- The AVMNodeDescriptor that describes this node
getPath
public java.lang.String getPath()
- Overrides:
getPath
in class Node
- Returns:
- The simple display path for the node
getDescriptor
public final org.alfresco.service.cmr.avm.AVMNodeDescriptor getDescriptor()
getVersion
public int getVersion()
getName
public java.lang.String getName()
- Overrides:
getName
in class Node
- Returns:
- The display name for the node
getType
public org.alfresco.service.namespace.QName getType()
- Overrides:
getType
in class Node
- Returns:
- Returns the type.
isDirectory
public final boolean isDirectory()
isFile
public final boolean isFile()
isDeleted
public final boolean isDeleted()
isModified
public final boolean isModified()
isInActiveWorkflow
public final boolean isInActiveWorkflow(java.lang.String sandbox)
getProperties
public java.util.Map getProperties()
- Overrides:
getProperties
in class Node
- Returns:
- All the properties known about this node.
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.