Hi,i'm a total newbie to java and Alfresco and i have this simple problem: i need to get all child Associations of a noderef with Association Type = "risposteAssociate". In Javascript i do something like:var risposte = node.childAssocs["crl:risposteAssociate"];
In Java i have to do something like:List<ChildAssociationRef> risposteAssociate = nodeService.getChildAssocs(node,….);
I just don't know how to specify the association type!Then i must get the value of a property of the child associations. I have to do something likefor (ChildAssociationRef childAssocRef : risposteAssociate) {
// do something with each document in the workflow package
NodeRef risposta = childAssocRef.getChildRef();
String dataRisposta = nodeService.getProperty(risposta , arg1)
}Where arg1 is the qname of the property…in that case should i use something like "crl:data_risposta" or something like {http://www.somesite.it/model/atti/1.0}data_risposta"?Thanx in advance