07-15-2009 03:08 PM
RepositoryServiceSoapBindingStub repositoryService = WebServiceFactory.getRepositoryService();
QueryResult queryResult = repositoryService.query(searchStore, searchQuery, false);
ResultSet resultSet = queryResult.getResultSet();
ResultSetMetaData resultSetMetadata = resultSet.getMetaData();
ResultSetRow[] rows = resultSet.getRows();
for(ResultSetRow row : rows)
{
NameValue [] rowColumnNameValues = row.getColumns();
…
}
If I query for the parents of a match, here I get all of the relevant name/value properties (title, author, date, etc.), but the metadata relates to the folder (or workflow), not the document.07-26-2009 09:55 PM
07-27-2009 07:37 AM
Reference r = new Reference(STORE, uuid, null);
Node[] a = repositoryService.get(new Predicate(new Reference[]{r}, STORE, null));
for(int i=0;i<a[0].getProperties().length;i++){
if(a[0].getProperties(i).getName().equalsIgnoreCase("{http://www.alfresco.org/model/content/1.0}content")){
url=a[0].getProperties(i).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.