08-04-2010 11:03 AM
08-04-2010 12:13 PM
// note: untested example ….
Map<QName, Serializable> allNodeProps = nodeService.getProperties(nodeRef);
Map<QName, PropertyDefinition> aspectPropDefs = dictionaryService.getAspect(aspectQName).getProperties(); // including inherited props
Map<QName, Serializable> nodeProps = new HashMap<QName, Serializable>(aspectPropDefs.size());
for (QName propQName : aspectPropDefs.keySet())
{
Serializable value = allNodeProps.get(propQName);
if (value != null)
{
nodeProps.put(propQName, value);
}
}
Regards,08-04-2010 12:36 PM
12-10-2013 12:16 AM
12-10-2013 05:57 AM
12-22-2014 04:43 AM
12-10-2013 10:07 PM
12-11-2013 05:09 AM
12-22-2014 04:32 AM
01-13-2015 06:33 AM
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.