mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Source Association methods added to jscript/freemarker APIs
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7654 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -85,28 +85,13 @@ public class Association implements Scopeable, Serializable
|
||||
return assocRef.getTypeQName().toString();
|
||||
}
|
||||
|
||||
public String jsGet_type()
|
||||
{
|
||||
return getType();
|
||||
}
|
||||
|
||||
public ScriptNode getSource()
|
||||
{
|
||||
return (ScriptNode)new ValueConverter().convertValueForScript(this.services, this.scope, null, assocRef.getSourceRef());
|
||||
}
|
||||
|
||||
public ScriptNode jsGet_source()
|
||||
{
|
||||
return getSource();
|
||||
}
|
||||
|
||||
public ScriptNode getTarget()
|
||||
{
|
||||
return (ScriptNode)new ValueConverter().convertValueForScript(this.services, this.scope, null, assocRef.getTargetRef());
|
||||
}
|
||||
|
||||
public ScriptNode jsGet_target()
|
||||
{
|
||||
return getTarget();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user