08-10-2015 05:03 PM
08-11-2015 05:05 PM
private static void performMetadataExport(Session session, ItemIterable<QueryResult> results){
try {
for (QueryResult result : results){
String[] valueList = new String[8];
valueList[0] = (String)result.getPropertyValueByQueryName("cmis:name");
valueList[1] = (String)result.getPropertyValueByQueryName("cmis:createdBy");
valueList[2] = (String)result.getPropertyValueByQueryName("cmis:lastModifiedBy");
valueList[3] = (String)result.getPropertyValueByQueryName("cmis:objectId");
valueList[4] = (String)result.getPropertyValueByQueryName("cmis:versionLabel");
//valueList[5] = (String)result.getPropertyValueByQueryName("cmis:objectTypeId");
//valueList[6] = (String)result.getPropertyValueByQueryName("cmis:parentTypeId ");
}
LOGGER.info("CmisMetadataExport: Exported: " + results.getTotalNumItems() + " items.");
}
catch(Exception e){
LOGGER.error(e.toString());
}
LOGGER.info("CmisMetadataExport: Export Complete.");
}
08-17-2015 02:44 PM
08-18-2015 03:17 AM
08-18-2015 09:56 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.