How to get all Child associations with a specific Association Type Alfresco (Java)

前端 未结 1 544
旧时难觅i
旧时难觅i 2021-01-23 06:54

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 Java

1条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-23 07:16

    I think you want the getChildAssocs(NodeRef,QName,QName) nodeservice call. Something like:

    nodeService.getChildAssocs(parentNodeRef, ContentModel.ASSOC_CONTAINS, RegexQNamePattern.MATCH_ALL);
    

    0 讨论(0)
提交回复
热议问题