09-08-2009 07:22 AM
09-08-2009 08:14 AM
09-08-2009 09:25 AM
09-16-2009 11:19 AM
PATH:"//app:company_home/app:user_homes/cm:myProjects/cm:Invoices//." AND TYPE:\{http\://www.alfresco.org/model/content/1.0\}content
Node [] nodes = WebServiceFactory.getRepositoryService().get(new Predicate(null,STORE,query));
09-17-2009 07:40 AM
public List<DMSData> getDocuments(final String queryString) {
final List<DMSData> results = new LinkedList<DMSData>();
final Query query = new Query(Constants.QUERY_LANG_LUCENE, queryString );
Node [] nodes = null;
try {
nodes = WebServiceFactory.getRepositoryService().get(new Predicate(null,STORE,query));
} catch (RepositoryFault e) {
e.printStackTrace();
return results;
} catch (RemoteException e) {
e.printStackTrace();
return results;
}
//no results found
if (nodes == null){
return results;
}
for(final Node row : nodes) {
dmsData = new DMSData();
for (final NamedValue namedValue : row.getProperties()) {
final String name = namedValue.getName();
final String value = namedValue.getValue();
dmsData.setValue(value);
….
}
results.add(dmsData);
}
return results;
}
09-17-2009 10:39 AM
09-17-2009 11:32 AM
09-18-2009 04:38 AM
09-21-2009 09:06 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.