org.alfresco.repo.avm
Interface LayeredDirectoryNode

All Superinterfaces:
AVMNode, DirectoryNode, Layered
All Known Implementing Classes:
LayeredDirectoryNodeImpl

public interface LayeredDirectoryNode
extends DirectoryNode, Layered

Interface for Layered Directories.


Method Summary
 void flatten(java.lang.String name)
          Remove name without leaving behind a deleted node.
 java.lang.Integer getIndirectionVersion()
          Get the indirection version.
 long getLayerID()
          Get the layer id for this node.
 boolean getOpacity()
          Get the opacity of this.
 boolean getPrimaryIndirection()
          Does this node have a primary indirection.
 void rawSetPrimary(org.alfresco.repo.avm.Lookup lPath, java.lang.String path)
          Set this to be a primary indirection from the path passed in.
 void retarget(org.alfresco.repo.avm.Lookup lPath, java.lang.String target)
          Retarget this directory.
 void setAclAndInherit(LayeredDirectoryNode layeredDirectory, DbAccessControlList acl, java.lang.String name)
           
 void setIndirection(java.lang.String indirection)
          Set the indirection.
 void setLayerID(long id)
          Set the layer id for this node.
 void setOpacity(boolean opacity)
          Set the opacity of this.
 void setPrimaryIndirection(boolean has)
          Set whether this has a primary indirection.
 void turnPrimary(org.alfresco.repo.avm.Lookup lPath)
          Turn this node into a primary indirection node with the indirection taken from the Lookup passed in.
 void uncover(org.alfresco.repo.avm.Lookup lPath, java.lang.String name)
          Make visible a node deleted in a layer.
 
Methods inherited from interface org.alfresco.repo.avm.DirectoryNode
directlyContains, getDeletedNames, getListing, getListing, getListing, getListing, getListingDirect, getListingDirect, link, link, lookupChild, lookupChild, lookupChildEntry, putChild, removeChild, setIsRoot
 
Methods inherited from interface org.alfresco.repo.avm.AVMNode
addAspect, addProperties, changeAncestor, copy, copyMetaDataFrom, deleteProperties, deleteProperty, getAcl, getAncestor, getAspects, getBasicAttributes, getDescriptor, getDescriptor, getDescriptor, getGuid, getId, getIsNew, getIsRoot, getMergedFrom, getProperties, getProperty, getStoreNew, getType, getVersionID, removeAspect, setAcl, setAncestor, setGuid, setMergedFrom, setProperties, setProperty, setStoreNew, setVersionID, toString, updateModTime
 
Methods inherited from interface org.alfresco.repo.avm.Layered
getIndirection, getUnderlying, getUnderlyingVersion, setIndirectionVersion
 
Methods inherited from interface org.alfresco.repo.avm.AVMNode
addAspect, addProperties, changeAncestor, copy, copyMetaDataFrom, deleteProperties, deleteProperty, getAcl, getAncestor, getAspects, getBasicAttributes, getDescriptor, getDescriptor, getDescriptor, getGuid, getId, getIsNew, getIsRoot, getMergedFrom, getProperties, getProperty, getStoreNew, getType, getVersionID, removeAspect, setAcl, setAncestor, setGuid, setMergedFrom, setProperties, setProperty, setStoreNew, setVersionID, toString, updateModTime
 

Method Detail

getPrimaryIndirection

boolean getPrimaryIndirection()
Does this node have a primary indirection.

Returns:
Whether this is a primary indirection.

setPrimaryIndirection

void setPrimaryIndirection(boolean has)
Set whether this has a primary indirection.

Parameters:
has - Whether this has a primary indirection.

getLayerID

long getLayerID()
Get the layer id for this node.

Returns:
The layer id.

setLayerID

void setLayerID(long id)
Set the layer id for this node.

Parameters:
id - The id to set.

rawSetPrimary

void rawSetPrimary(org.alfresco.repo.avm.Lookup lPath,
                   java.lang.String path)
Set this to be a primary indirection from the path passed in.

Parameters:
path - The indirection path.

turnPrimary

void turnPrimary(org.alfresco.repo.avm.Lookup lPath)
Turn this node into a primary indirection node with the indirection taken from the Lookup passed in. Performs a copy on write.

Specified by:
turnPrimary in interface DirectoryNode
Parameters:
lPath -

retarget

void retarget(org.alfresco.repo.avm.Lookup lPath,
              java.lang.String target)
Retarget this directory.

Specified by:
retarget in interface DirectoryNode
Parameters:
lPath - The Lookup.
target - The new target path.

uncover

void uncover(org.alfresco.repo.avm.Lookup lPath,
             java.lang.String name)
Make visible a node deleted in a layer.

Parameters:
lPath - The Lookup.
name - The name to make visible.

flatten

void flatten(java.lang.String name)
Remove name without leaving behind a deleted node.

Parameters:
name - The name of the child to flatten.

setIndirection

void setIndirection(java.lang.String indirection)
Set the indirection.

Parameters:
indirection -

getIndirectionVersion

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

Returns:
The indirection version.

setOpacity

void setOpacity(boolean opacity)
Set the opacity of this.

Parameters:
opacity - Whether this should be opaque, i.e. not see the things it in its indirection.

getOpacity

boolean getOpacity()
Get the opacity of this.

Returns:
The opacity.

setAclAndInherit

void setAclAndInherit(LayeredDirectoryNode layeredDirectory,
                      DbAccessControlList acl,
                      java.lang.String name)


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