As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
NodeRef nodeRef = JCRNodeRef.getNodeRef(child); QName type = nodeService.getType(nodeRef); Map map=dictionaryService.getClass(type).getAssociations(); for (Iterator it=map.values().iterator(); it.hasNext(); ) { AssociationDefinition assoc = AsociationDefinition)it.next();}
List<AssociationRef> assocs = registry.getNodeService().getTargetAssocs(nodeRef, RegexQNamePattern.MATCH_ALL); for (AssociationRef assocRef: assocs) { String assocName = assocRef.getTypeQName().toString(); registry.getNodeService().getPath(assocRef.getTargetRef())); }