05-03-2006 04:23 AM
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();}
05-07-2006 03:06 AM
List<AssociationRef> assocs = registry.getNodeService().getTargetAssocs(nodeRef, RegexQNamePattern.MATCH_ALL);
for (AssociationRef assocRef: assocs)
{
String assocName = assocRef.getTypeQName().toString();
registry.getNodeService().getPath(assocRef.getTargetRef()));
}
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.