public interface DirectoryNode extends AVMNode
| Modifier and Type | Method and Description |
|---|---|
boolean |
directlyContains(AVMNode node)
Does this directory directly contain the specified node.
|
java.util.List |
getDeletedNames()
Get the names of nodes deleted in this directory.
|
java.util.SortedMap |
getListing(AVMNodeDescriptor dir,
boolean includeDeleted)
Get a listing from a directory specified by an AVMNodeDescriptor.
|
java.util.SortedMap |
getListing(AVMNodeDescriptor dir,
java.lang.String childNamePattern,
boolean includeDeleted)
Get a listing from a directory specified by an AVMNodeDescriptor.
|
java.util.Map |
getListing(org.alfresco.repo.avm.Lookup lPath,
boolean includeDeleted)
Get a directory listing.
|
java.util.Map |
getListing(org.alfresco.repo.avm.Lookup lPath,
java.lang.String childNamePattern,
boolean includeDeleted)
Get a directory listing.
|
java.util.SortedMap |
getListingDirect(AVMNodeDescriptor dir,
boolean includeDeleted)
Get a listing of nodes directly contained by a directory.
|
java.util.Map |
getListingDirect(org.alfresco.repo.avm.Lookup lPath,
boolean includeDeleted)
Get a listing of the nodes directly contained by a directory.
|
void |
link(org.alfresco.repo.avm.Lookup lPath,
java.lang.String name,
AVMNodeDescriptor toLink)
Link a node with the given id into this directory.
|
void |
link(java.lang.String name,
AVMNodeDescriptor toLink)
Dangerous version of link that assumes that a child node of
the given name does not already exist.
|
AVMNodeDescriptor |
lookupChild(AVMNodeDescriptor mine,
java.lang.String name,
boolean includeDeleted)
Lookup a child node using an AVMNodeDescriptor as context.
|
org.alfresco.util.Pair |
lookupChild(org.alfresco.repo.avm.Lookup lPath,
java.lang.String name,
boolean includeDeleted)
Lookup a child node.
|
org.alfresco.util.Pair |
lookupChildEntry(org.alfresco.repo.avm.Lookup lPath,
java.lang.String name,
boolean includeDeleted)
Lookup a child entry.
|
void |
putChild(java.lang.String name,
AVMNode node)
Put child into this directory directly.
|
void |
removeChild(org.alfresco.repo.avm.Lookup lPath,
java.lang.String name)
Remove a child directly.
|
void |
retarget(org.alfresco.repo.avm.Lookup lPath,
java.lang.String target)
Retarget a layered directory.
|
void |
setIsRoot(boolean isRoot)
Set whether this node is a root node.
|
void |
turnPrimary(org.alfresco.repo.avm.Lookup lPath)
Set the directory, which must be in a layer, into a primary
indirection taking its indirection from the Lookup.
|
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, setMergedFrom, setProperties, setProperty, setStoreNew, setVersionID, toString, updateModTimeboolean directlyContains(AVMNode node)
node - The node to check.void putChild(java.lang.String name,
AVMNode node)
name - The name to give it.node - The child.org.alfresco.util.Pair lookupChild(org.alfresco.repo.avm.Lookup lPath,
java.lang.String name,
boolean includeDeleted)
lPath - The Lookup so far.name - The name of the child to lookup.includeDeleted - Include deleted nodes or not.org.alfresco.util.Pair lookupChildEntry(org.alfresco.repo.avm.Lookup lPath,
java.lang.String name,
boolean includeDeleted)
lPath - The Lookup so far.name - The name of the child to lookup.includeDeleted - Include deleted nodes or not.AVMNodeDescriptor lookupChild(AVMNodeDescriptor mine, java.lang.String name, boolean includeDeleted)
mine - The node descriptor for this.name - The name of the child to lookup.void removeChild(org.alfresco.repo.avm.Lookup lPath,
java.lang.String name)
lPath - The lookup through which this node was reached.name - The name of the child to remove.java.util.Map getListing(org.alfresco.repo.avm.Lookup lPath,
boolean includeDeleted)
lPath - The lookup context.java.util.Map getListing(org.alfresco.repo.avm.Lookup lPath,
java.lang.String childNamePattern,
boolean includeDeleted)
lPath - The lookup context.java.util.Map getListingDirect(org.alfresco.repo.avm.Lookup lPath,
boolean includeDeleted)
lPath - The Lookup to this directory.java.util.SortedMap getListingDirect(AVMNodeDescriptor dir, boolean includeDeleted)
dir - The descriptor for the directory.includeDeleted - Whether to include deleted nodes.java.util.SortedMap getListing(AVMNodeDescriptor dir, boolean includeDeleted)
dir - The directory to list.java.util.SortedMap getListing(AVMNodeDescriptor dir, java.lang.String childNamePattern, boolean includeDeleted)
dir - The directory to list.childNamePattern - - child name pattern to matchincludeDeleted - = include deleted childrenjava.util.List getDeletedNames()
void turnPrimary(org.alfresco.repo.avm.Lookup lPath)
lPath - The Lookup.void retarget(org.alfresco.repo.avm.Lookup lPath,
java.lang.String target)
lPath - The Lookup.target - The target path.void setIsRoot(boolean isRoot)
void link(org.alfresco.repo.avm.Lookup lPath,
java.lang.String name,
AVMNodeDescriptor toLink)
lPath - The Lookup for this node.name - The name to give the node.toLink - The node to link in.void link(java.lang.String name,
AVMNodeDescriptor toLink)
name - The name to give the child.toLink - The child to link in.Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.