public interface AVMNode
| Modifier and Type | Method and Description |
|---|---|
void |
addAspect(org.alfresco.service.namespace.QName aspectQName) |
void |
addProperties(java.util.Map properties)
Add properties to those that already exist.
|
void |
changeAncestor(AVMNode ancestor)
Change the ancestor of a node.
|
AVMNode |
copy(org.alfresco.repo.avm.Lookup lPath)
Possibly copy ourselves.
|
void |
copyACLs(Acl otherAcl,
Acl parentAcl,
ACLCopyMode mode) |
void |
copyACLs(AVMNode other,
ACLCopyMode mode)
Copy ACL from another node.
|
void |
copyMetaDataFrom(AVMNode other,
java.lang.Long parentAcl)
Copy metadata from another node.
|
void |
deleteProperties()
Delete all properties from this node.
|
void |
deleteProperty(org.alfresco.service.namespace.QName qname)
Delete a property from this node.
|
Acl |
getAcl()
Get the ACL on this node.
|
AVMNode |
getAncestor()
Get the ancestor of this node.
|
java.util.Set |
getAspects()
Get the Aspects that this node has.
|
BasicAttributes |
getBasicAttributes()
Get the Basic Attributes on this node.
|
AVMNodeDescriptor |
getDescriptor(org.alfresco.repo.avm.Lookup lPath)
Get the descriptor for this node.
|
AVMNodeDescriptor |
getDescriptor(org.alfresco.repo.avm.Lookup lPath,
java.lang.String name)
Get the descriptor for this node.
|
AVMNodeDescriptor |
getDescriptor(java.lang.String parentPath,
java.lang.String name,
java.lang.String parentIndirection,
int parentIndirectionVersion)
Get a node descriptor for this node.
|
java.lang.String |
getGuid()
Get the GUID associated with this version.
|
long |
getId()
Get the object id.
|
boolean |
getIsNew()
Get the newnews.
|
boolean |
getIsRoot()
Get whether this node is a root of a AVMStore.
|
AVMNode |
getMergedFrom()
Get the node this was merged from.
|
java.util.Map |
getProperties()
Get all the properties associated with this node.
|
PropertyValue |
getProperty(org.alfresco.service.namespace.QName name)
Get a property by name.
|
AVMStore |
getStoreNew()
Get the possibly null store that we're new in.
|
int |
getType()
Get the type of this node.
|
int |
getVersionID()
Get the version number.
|
void |
removeAspect(org.alfresco.service.namespace.QName aspectQName) |
void |
setAcl(Acl acl)
Set an ACL on this node.
|
void |
setAncestor(AVMNode ancestor)
Set the ancestor of this node.
|
void |
setGuid(java.lang.String guid)
Set the GUID associated with this version.
|
void |
setIsRoot(boolean isRoot)
Set whether this node to be a root of a AVMStore
|
void |
setMergedFrom(AVMNode mergedFrom)
Set the merged from node.
|
void |
setProperties(java.util.Map properties)
Set a collection of properties on this node.
|
void |
setProperty(org.alfresco.service.namespace.QName qname,
PropertyValue value)
Set a property.
|
void |
setStoreNew(AVMStore store)
Set the store that we are new in.
|
void |
setVersionID(int version)
Set the version number.
|
java.lang.String |
toString(org.alfresco.repo.avm.Lookup lPath)
Get a string representation for debugging.
|
void |
updateModTime()
Update the modification time of this node.
|
void setAncestor(AVMNode ancestor)
ancestor - The ancestor to set.void changeAncestor(AVMNode ancestor)
ancestor - The ancestor node that should be set.AVMNode getAncestor()
void setMergedFrom(AVMNode mergedFrom)
mergedFrom - The merged from node.AVMNode getMergedFrom()
int getVersionID()
void setVersionID(int version)
version - The version number to set.AVMNode copy(org.alfresco.repo.avm.Lookup lPath)
lPath - The Lookup for this node.int getType()
AVMNodeDescriptor getDescriptor(org.alfresco.repo.avm.Lookup lPath, java.lang.String name)
lPath - The Lookup.name - The name of this in the current context.AVMNodeDescriptor getDescriptor(org.alfresco.repo.avm.Lookup lPath)
lPath - The Lookup.AVMNodeDescriptor getDescriptor(java.lang.String parentPath, java.lang.String name, java.lang.String parentIndirection, int parentIndirectionVersion)
parentPath - The parent path.name - The name looked up as.parentIndirection - The indirection of the parent.parentIndirectionVersion - The indirection version of the parent.long getId()
boolean getIsNew()
java.lang.String toString(org.alfresco.repo.avm.Lookup lPath)
lPath - The Lookup.void setIsRoot(boolean isRoot)
isRoot - boolean getIsRoot()
void updateModTime()
void setProperty(org.alfresco.service.namespace.QName qname,
PropertyValue value)
qname - the QNamevalue - The value to set.void setProperties(java.util.Map properties)
properties - The Map of QNames to PropertyValues.void addProperties(java.util.Map properties)
properties - The properties to add.PropertyValue getProperty(org.alfresco.service.namespace.QName name)
name - The name of the property to get.java.util.Map getProperties()
void deleteProperty(org.alfresco.service.namespace.QName qname)
qnameEntityId - the ID of the QName to deletevoid deleteProperties()
void setAcl(Acl acl)
acl - The ACL to set.Acl getAcl()
void setStoreNew(AVMStore store)
store - The store we are new in.AVMStore getStoreNew()
void copyACLs(AVMNode other, ACLCopyMode mode)
other - mode - void copyACLs(Acl otherAcl, Acl parentAcl, ACLCopyMode mode)
void copyMetaDataFrom(AVMNode other, java.lang.Long parentAcl)
other - The other node.java.lang.String getGuid()
void setGuid(java.lang.String guid)
guid - java.util.Set getAspects()
void addAspect(org.alfresco.service.namespace.QName aspectQName)
void removeAspect(org.alfresco.service.namespace.QName aspectQName)
BasicAttributes getBasicAttributes()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.