public class AVMNode extends ScriptNode
ScriptNode.NodeValueConverter, ScriptNode.ScriptContentDataaspects, converter, id, imageResolver, nodeRef, parent, scope, services, siteName, siteNameResolved| Constructor and Description |
|---|
AVMNode(org.alfresco.service.cmr.repository.NodeRef nodeRef,
ServiceRegistry services) |
AVMNode(org.alfresco.service.cmr.repository.NodeRef nodeRef,
ServiceRegistry services,
org.mozilla.javascript.Scriptable scope) |
AVMNode(java.lang.String path,
int version,
ServiceRegistry services,
org.mozilla.javascript.Scriptable scope) |
| Modifier and Type | Method and Description |
|---|---|
ScriptNode |
copy(ScriptNode destination)
Copy this Node into a new parent destination.
|
ScriptNode |
copy(java.lang.String destination)
Copy this Node into a new parent destination.
|
java.util.Set |
getAspectsSet() |
boolean |
getIsLocked() |
java.lang.String |
getName() |
java.lang.String |
getParentPath() |
java.lang.String |
getPath() |
java.lang.String |
getType() |
int |
getVersion() |
boolean |
hasLockAccess() |
boolean |
isDirectory() |
boolean |
isFile() |
boolean |
isLockOwner() |
boolean |
move(ScriptNode destination)
Move this Node to a new parent destination node.
|
boolean |
move(java.lang.String destination)
Move this Node to a new parent destination path.
|
ScriptNode |
newInstance(org.alfresco.service.cmr.repository.NodeRef nodeRef,
ServiceRegistry services,
org.mozilla.javascript.Scriptable scope)
Factory methods
|
ScriptNode |
newInstance(java.lang.String path,
int version,
ServiceRegistry services,
org.mozilla.javascript.Scriptable scope) |
boolean |
rename(java.lang.String name)
Rename this node to the specified name
|
java.lang.String |
toString()
Override Object.toString() to provide useful debug output
|
addAspect, addAspect, addNode, addTag, addTags, cancelCheckout, checkin, checkin, checkin, checkout, checkout, checkoutForUpload, childByNamePath, childFileFolders, childFileFolders, childFileFolders, childFileFolders, childFileFolders, childrenByTags, childrenByXPath, clearTags, copy, createAssociation, createFile, createFile, createFolder, createFolder, createNode, createNode, createNode, createNode, createNode, createQName, createThumbnail, createThumbnail, createValueConverter, createVersion, ensureVersioningEnabled, equals, exists, getActiveWorkflows, getAspects, getAssociations, getAssocs, getChildAssociations, getChildAssocs, getChildAssocsByType, getChildren, getContent, getCrossRepositoryCopyHelper, getDirectPermissions, getDisplayPath, getDownloadUrl, getFullPermissions, getHasChildren, getIcon16, getIcon32, getId, getIsCategory, getIsContainer, getIsDocument, getIsLinkToContainer, getIsLinkToDocument, getIsTagScope, getIsVersioned, getMimetype, getNamespacePrefixResolver, getNodeRef, getOwner, getParent, getParentAssociations, getParentAssocs, getParents, getPermissions, getPrimaryParentAssoc, getProperties, getPropertyNames, getQnamePath, getQNameType, getSettablePermissions, getShortQName, getSiteShortName, getSize, getSourceAssociations, getSourceAssocs, getStoreId, getStoreType, getTags, getTagScope, getThumbnail, getThumbnailDefinitions, getThumbnailDefintions, getThumbnails, getTypePropertyNames, getTypePropertyNames, getTypeShort, getUrl, getValueConverter, getVersion, getVersionHistory, getWebdavUrl, hasAspect, hashCode, hasPermission, inheritsPermissions, isScriptContent, isSubType, jsGet_downloadUrl, move, newInstance, processTemplate, processTemplate, processTemplate, processTemplate, remove, removeAspect, removeAssociation, removeNode, removePermission, removePermission, removeTag, removeTags, reset, retrieveAllSetPermissions, revert, revert, save, setContent, setInheritsPermissions, setIsTagScope, setMimetype, setName, setOwner, setPermission, setPermission, setScope, setTags, specializeType, takeOwnership, toJSON, toJSON, transformDocument, transformDocument, transformImage, transformImage, transformImage, transformImage, unlockpublic AVMNode(org.alfresco.service.cmr.repository.NodeRef nodeRef,
ServiceRegistry services)
public AVMNode(org.alfresco.service.cmr.repository.NodeRef nodeRef,
ServiceRegistry services,
org.mozilla.javascript.Scriptable scope)
public AVMNode(java.lang.String path,
int version,
ServiceRegistry services,
org.mozilla.javascript.Scriptable scope)
public ScriptNode newInstance(org.alfresco.service.cmr.repository.NodeRef nodeRef, ServiceRegistry services, org.mozilla.javascript.Scriptable scope)
newInstance in class ScriptNodepublic ScriptNode newInstance(java.lang.String path, int version, ServiceRegistry services, org.mozilla.javascript.Scriptable scope)
public java.lang.String getPath()
public int getVersion()
public java.lang.String getParentPath()
public java.lang.String getType()
getType in class ScriptNodepublic boolean isDirectory()
public boolean isFile()
public java.lang.String getName()
getName in class ScriptNodepublic boolean getIsLocked()
getIsLocked in class ScriptNodepublic boolean isLockOwner()
public boolean hasLockAccess()
public ScriptNode copy(ScriptNode destination)
copy in class ScriptNodedestination - Parent node for the copypublic ScriptNode copy(java.lang.String destination)
destination - Parent path for the copypublic boolean move(ScriptNode destination)
move in class ScriptNodedestination - Nodepublic boolean move(java.lang.String destination)
destination - Pathpublic boolean rename(java.lang.String name)
name - New name for the nodepublic java.util.Set getAspectsSet()
getAspectsSet in class ScriptNodepublic java.lang.String toString()
ScriptNodetoString in class ScriptNodeCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.