org.alfresco.repo.avm
Interface LayeredFileNode

All Superinterfaces:
AVMNode, FileNode

public interface LayeredFileNode
extends FileNode

Interface for a layered file node.


Method Summary
 LayeredFileNode copyLiterally(org.alfresco.repo.avm.Lookup lookup)
          Make a copy of this node that is a LayeredFileNode.
 java.lang.String getIndirection()
          Get the raw indirection of a layered node.
 java.lang.Integer getIndirectionVersion()
          Get the indirection version.
 java.lang.String getUnderlying(org.alfresco.repo.avm.Lookup lookup)
          Get the indirection, or underlying path that this node points to.
 int getUnderlyingVersion(org.alfresco.repo.avm.Lookup lookup)
          Get the indirection version.
 void setIndirectionVersion(java.lang.Integer version)
          Set the indirection version for this layered node.
 
Methods inherited from interface org.alfresco.repo.avm.FileNode
getContentData, setContentData
 
Methods inherited from interface org.alfresco.repo.avm.AVMNode
addProperties, changeAncestor, copy, copyMetaDataFrom, deleteProperties, deleteProperty, getAcl, getAncestor, getAspects, getBasicAttributes, getDescriptor, getDescriptor, getDescriptor, getGuid, getId, getIsNew, getIsRoot, getMergedFrom, getProperties, getProperty, getStoreNew, getType, getVersionID, setAcl, setAncestor, setGuid, setIsRoot, setMergedFrom, setProperties, setProperty, setStoreNew, setVersionID, toString, updateModTime
 

Method Detail

getIndirectionVersion

java.lang.Integer getIndirectionVersion()
Get the indirection version.

Returns:
The indirection version.

copyLiterally

LayeredFileNode copyLiterally(org.alfresco.repo.avm.Lookup lookup)
Make a copy of this node that is a LayeredFileNode.

Parameters:
lookup - The context.
Returns:
The copy.

getUnderlying

java.lang.String getUnderlying(org.alfresco.repo.avm.Lookup lookup)
Get the indirection, or underlying path that this node points to.

Parameters:
lookup - The lookup path. Needed for most nodes to determine underlying path.
Returns:
The underlying indirection.

getUnderlyingVersion

int getUnderlyingVersion(org.alfresco.repo.avm.Lookup lookup)
Get the indirection version.

Parameters:
lookup - The lookup path.
Returns:
The underlying indirection version.

getIndirection

java.lang.String getIndirection()
Get the raw indirection of a layered node.

Returns:
The raw indirection, which will be null for LayeredDirectoryNodes that are not primary indirections.

setIndirectionVersion

void setIndirectionVersion(java.lang.Integer version)
Set the indirection version for this layered node.

Parameters:
version - The indirection version to set.


Copyright © 2005 - 2008 Alfresco Software, Inc. All Rights Reserved.