03-12-2009 01:05 PM
03-16-2009 08:11 AM
03-18-2009 04:34 AM
04-07-2009 02:54 AM
ResultSetRow row = resultSet.getRows();
// Get document properties
NamedValue[] props = row.getColumns();
HashMap<String, Serializable> properties = getPropertyMap(props);
// print path property
System.out.println(properties.get("{http://www.alfresco.org/model/content/1.0}path"));
private HashMap<String, Serializable> getPropertyMap(NamedValue[] namedValues) {
HashMap<String, Serializable> properties = new HashMap<String, Serializable>();
if (namedValues != null) {
for (NamedValue value : namedValues) {
properties.put(value.getName(), value.getValue());
}
}
return properties;
}
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.