As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
String query = "PATH:\""+path+"//*\" AND " + "TYPE:\"{http://www.mymodel.pt/model/content/1.0}document\" AND " + "@cm\\:name:\""+documentName+"\""; Query q = new Query(Constants.QUERY_LANG_LUCENE, query); QueryResult queryResult = getRepositoryService().query(STORE, q, false); org.alfresco.webservice.types.ResultSet resultSet = queryResult.getResultSet();
Reference reference = new Reference(STORE, rows[0].getNode().getId(), null);