public class ChildAssociation extends Object implements Scopeable, Serializable
Constructor and Description |
---|
ChildAssociation(ServiceRegistry services,
org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef) |
ChildAssociation(ServiceRegistry services,
org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef,
org.mozilla.javascript.Scriptable scope)
Constructor
|
Modifier and Type | Method and Description |
---|---|
ScriptNode |
getChild() |
org.alfresco.service.cmr.repository.ChildAssociationRef |
getChildAssociationRef() |
String |
getName() |
int |
getNthSibling() |
ScriptNode |
getParent() |
String |
getType() |
boolean |
isPrimary() |
void |
setScope(org.mozilla.javascript.Scriptable scope)
Set the Scriptable global scope
|
public ChildAssociation(ServiceRegistry services, org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef)
public ChildAssociation(ServiceRegistry services, org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef, org.mozilla.javascript.Scriptable scope)
services
- ServiceRegistrychildAssocRef
- ChildAssociationRefscope
- Scriptablepublic void setScope(org.mozilla.javascript.Scriptable scope)
Scopeable
setScope
in interface Scopeable
scope
- relative global scopeScopeable.setScope(org.mozilla.javascript.Scriptable)
public org.alfresco.service.cmr.repository.ChildAssociationRef getChildAssociationRef()
public String getType()
public String getName()
public ScriptNode getParent()
public ScriptNode getChild()
public boolean isPrimary()
public int getNthSibling()
Copyright © 2005–2017 Alfresco Software. All rights reserved.