02-10-2010 04:34 AM
02-10-2010 07:40 AM
Query query = new Query("lucene","+PATH:\"/app:company_home//*\"");
Store STORE = new Store(Constants.WORKSPACE_STORE, "SpacesStore");
Node [] nodes = null;
nodes = WebServiceFactory.getRepositoryService().get(new Predicate(null,STORE,query));
if (null != nodes){
NamedValue[] props = null;
for (final Node node : nodes) {
props = node.getProperties();
for(NamedValue prop : props) {
if(prop.getName().endsWith(Constants.PROP_NAME) == true) {
System.out.println(prop.getValue());
}
}
}
}
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.