public class LayeredFileNodeImpl extends AVMNodeImpl implements LayeredFileNode
DEBUG| Constructor and Description |
|---|
LayeredFileNodeImpl()
Default constructor.
|
LayeredFileNodeImpl(LayeredFileNode other,
AVMStore store,
Long parentAcl,
ACLCopyMode mode)
Basically a copy constructor.
|
LayeredFileNodeImpl(String indirection,
AVMStore store,
Acl acl)
Make a brand new layered file node.
|
| Modifier and Type | Method and Description |
|---|---|
AVMNode |
copy(org.alfresco.repo.avm.Lookup lPath)
Copy on write logic.
|
LayeredFileNode |
copyLiterally(org.alfresco.repo.avm.Lookup lookup)
Make a copy of this node that is a LayeredFileNode.
|
org.alfresco.service.cmr.repository.ContentData |
getContentData(org.alfresco.repo.avm.Lookup lPath)
Get the ContentData for this file.
|
AVMNodeDescriptor |
getDescriptor(org.alfresco.repo.avm.Lookup lPath)
Get the descriptor for this node.
|
AVMNodeDescriptor |
getDescriptor(org.alfresco.repo.avm.Lookup lPath,
String name)
Get the descriptor for this node.
|
AVMNodeDescriptor |
getDescriptor(String parentPath,
String name,
String parentIndirection,
int parentIndirectionVersion)
Get the descriptor for this node.
|
String |
getIndirection()
Get the indirection.
|
Integer |
getIndirectionVersion()
Get the indirection version.
|
int |
getType()
Get the type of this node.
|
String |
getUnderlying(org.alfresco.repo.avm.Lookup lookup)
Get the underlying path.
|
int |
getUnderlyingVersion(org.alfresco.repo.avm.Lookup lookup)
Get the indirection version.
|
void |
setContentData(org.alfresco.service.cmr.repository.ContentData contentData)
Set the ContentData for this file.
|
void |
setIndirection(String indirection)
Set the indirection.
|
void |
setIndirectionVersion(Integer version)
Set the indirection version for this layered node.
|
String |
toString(org.alfresco.repo.avm.Lookup lPath)
Get a diagnostic String representation.
|
addAspect, addProperties, changeAncestor, checkReadOnly, copyACLs, copyACLs, copyACLs, copyACLs, copyAspects, copyCreationAndOwnerBasicAttributes, copyMetaDataFrom, copyProperties, deleteProperties, deleteProperty, equals, getAcl, getAncestor, getAspects, getBasicAttributes, getGuid, getId, getIsNew, getIsRoot, getMergedFrom, getProperties, getProperty, getStoreNew, getVers, getVersionID, hashCode, removeAspect, setAcl, setAncestor, setAspects, setBasicAttributes, setGuid, setId, setIsRoot, setMergedFrom, setProperties, setProperty, setStoreNew, setVers, setVersionID, toString, updateModTimeclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAspect, addProperties, changeAncestor, copyACLs, copyACLs, copyMetaDataFrom, deleteProperties, deleteProperty, getAcl, getAncestor, getAspects, getBasicAttributes, getGuid, getId, getIsNew, getIsRoot, getMergedFrom, getProperties, getProperty, getStoreNew, getVersionID, removeAspect, setAcl, setAncestor, setGuid, setIsRoot, setMergedFrom, setProperties, setProperty, setStoreNew, setVersionID, updateModTimepublic LayeredFileNodeImpl()
public LayeredFileNodeImpl(LayeredFileNode other, AVMStore store, Long parentAcl, ACLCopyMode mode)
other - The file to make a copy of.store - The store that contains us.public AVMNode copy(org.alfresco.repo.avm.Lookup lPath)
public int getType()
public String getUnderlying(org.alfresco.repo.avm.Lookup lookup)
getUnderlying in interface Layeredlookup - The Lookup. (Unused here.)public String toString(org.alfresco.repo.avm.Lookup lPath)
public AVMNodeDescriptor getDescriptor(org.alfresco.repo.avm.Lookup lPath, String name)
getDescriptor in interface AVMNodelPath - The Lookup.name - The name of this in the current context.public AVMNodeDescriptor getDescriptor(org.alfresco.repo.avm.Lookup lPath)
getDescriptor in interface AVMNodelPath - The Lookup.public AVMNodeDescriptor getDescriptor(String parentPath, String name, String parentIndirection, int parentIndirectionVersion)
getDescriptor in interface AVMNodeparentPath - The parent path.name - The name this was looked up with.parentIndirection - The parent indirection.parentIndirectionVersion - The indirection version of the parent.public String getIndirection()
getIndirection in interface Layeredpublic void setIndirection(String indirection)
indirection - public void setContentData(org.alfresco.service.cmr.repository.ContentData contentData)
setContentData in interface FileNodecontentData - The value to set.public org.alfresco.service.cmr.repository.ContentData getContentData(org.alfresco.repo.avm.Lookup lPath)
getContentData in interface FileNodelPath - The Lookup used to get here.public int getUnderlyingVersion(org.alfresco.repo.avm.Lookup lookup)
LayeredgetUnderlyingVersion in interface Layeredlookup - The lookup path.public Integer getIndirectionVersion()
LayeredFileNodegetIndirectionVersion in interface LayeredFileNodepublic void setIndirectionVersion(Integer version)
LayeredsetIndirectionVersion in interface Layeredversion - The indirection version to set.public LayeredFileNode copyLiterally(org.alfresco.repo.avm.Lookup lookup)
LayeredFileNodecopyLiterally in interface LayeredFileNodelookup - The context.Copyright © 2005–2014 Alfresco Software. All rights reserved.