mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-02 17:35:18 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3128 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
80 lines
1.9 KiB
Java
80 lines
1.9 KiB
Java
package org.alfresco.repo.avm;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* Interface for Layered Directories.
|
|
* @author britt
|
|
*/
|
|
interface LayeredDirectoryNode extends DirectoryNode, Layered
|
|
{
|
|
/**
|
|
* Does this node have a primary indirection.
|
|
* @returns Whether this is a primary indirection.
|
|
*/
|
|
public boolean getPrimaryIndirection();
|
|
|
|
/**
|
|
* Set whether this has a primary indirection.
|
|
* @param has Whether this has a primary indirection.
|
|
*/
|
|
public void setPrimaryIndirection(boolean has);
|
|
|
|
/**
|
|
* Get the layer id for this node.
|
|
* @return The layer id.
|
|
*/
|
|
public long getLayerID();
|
|
|
|
/**
|
|
* Set the layer id for this node.
|
|
* @param layerID The id to set.
|
|
*/
|
|
public void setLayerID(long id);
|
|
|
|
/**
|
|
* Set this to be a primary indirection from the path
|
|
* passed in.
|
|
* @param path The indirection path.
|
|
*/
|
|
public void rawSetPrimary(String path);
|
|
|
|
/**
|
|
* Turn this node into a primary indirection node with the indirection
|
|
* taken from the Lookup passed in.
|
|
* Performs a copy on write.
|
|
* @param lPath
|
|
*/
|
|
public void turnPrimary(Lookup lPath);
|
|
|
|
/**
|
|
* Retarget this directory.
|
|
* @param lPath The Lookup.
|
|
* @param target The new target path.
|
|
*/
|
|
public void retarget(Lookup lPath, String target);
|
|
|
|
/**
|
|
* Make visible a node deleted in a layer.
|
|
* @param lPath The Lookup.
|
|
* @param name The name to make visible.
|
|
*/
|
|
public void uncover(Lookup lPath, String name);
|
|
|
|
/**
|
|
* Set the indirection.
|
|
* @param indirection
|
|
*/
|
|
public void setIndirection(String indirection);
|
|
|
|
/**
|
|
* Get the indirection by another name.
|
|
*/
|
|
public String getUnderlying();
|
|
|
|
/**
|
|
* Get all deleted children for this directory.
|
|
* @return All deleted children.
|
|
*/
|
|
public List<DeletedChild> getDeleted();
|
|
} |