Deleted.

cancel
Showing results for 
Search instead for 
Did you mean: 
anon26949
Established Member
1 Solution

Accepted Solutions
angelborroy
Alfresco Employee
8 Replies
ratik_singhal
Established Member

Re: How to get associations from the data list?

Jump to solution

Hi,

try either two.. Hope you will be able to retrieve the association. 

(1)

List<ChildAssociationRef> nodes = nodeService.getChildAssocs(node);
List<ChildAssociationRef> testAssociate = new List<ChildAssociationRef>();
for (ChildAssociationRef element : nodes) {
if ("testAssociate".equalsIgnoreCase(element.getTypeQName().toString())) {
testAssociate.add(element);
}
}

(2)

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

anon26949
Established Member
anon26949
Established Member

Deleted.

Jump to solution

Deleted.

anon26949
Established Member

Deleted.

Jump to solution

Deleted.

angelborroy
Alfresco Employee

Re: How to get associations from the data list?

Jump to solution
ratik_singhal
Established Member

Re: How to get associations from the data list?

Jump to solution

yes

anon26949
Established Member

Deleted.

Jump to solution

Deleted.

anon26949
Established Member

Deleted.

Jump to solution

Deleted.