org.alfresco.repo.avm
Interface Layered

All Superinterfaces:
AVMNode
All Known Subinterfaces:
LayeredDirectoryNode, LayeredFileNode
All Known Implementing Classes:
LayeredDirectoryNodeImpl, LayeredFileNodeImpl

public interface Layered
extends AVMNode

Layered nodes share these methods.


Method Summary
 java.lang.String getIndirection()
          Get the raw indirection of a layered node.
 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.AVMNode
addAspect, addProperties, changeAncestor, copy, copyACLs, copyACLs, copyMetaDataFrom, deleteProperties, deleteProperty, getAcl, getAncestor, getAspects, getBasicAttributes, getDescriptor, getDescriptor, getDescriptor, getGuid, getId, getIsNew, getIsRoot, getMergedFrom, getProperties, getProperty, getStoreNew, getType, getVersionID, removeAspect, setAcl, setAncestor, setGuid, setIsRoot, setMergedFrom, setProperties, setProperty, setStoreNew, setVersionID, toString, updateModTime
 

Method Detail

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 - 2010 Alfresco Software, Inc. All Rights Reserved.