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.
ResultSetRow[] resultSetRow = queryResult.getResultSet().getRows(); this.tmp = new Reference[resultSetRow.length]; if(resultSetRow != null){ // Iterate content items for (int i = 0; i < resultSetRow.length; i++) { ResultSetRow row = resultSetRow[i]; if(row != null){ // Get the properties of actual content item ContentItem contentResult = new ContentItem(); for(NamedValue namedValue : row.getColumns()){ // IF FOLDER if (namedValue.getName().endsWith(Constants.TYPE_FOLDER) == true) { contentResult.setType(true); if (namedValue.getName().endsWith(Constants.PROP_TITLE) == true) contentResult.setTitle(namedValue.getValue()); else if (namedValue.getName().endsWith(Constants.PROP_NAME) == true) contentResult.setName(namedValue.getValue()); else if (namedValue.getName().endsWith(Constants.PROP_DESCRIPTION) == true) contentResult.setDescription(namedValue.getValue()); } // IF CONTENT if (namedValue.getName().endsWith(Constants.TYPE_CONTENT) == true) { contentResult.setType(false); if (namedValue.getName().endsWith(Constants.PROP_NAME) == true) { contentResult.setName(namedValue.getValue()); }else if (namedValue.getName().endsWith(Constants.PROP_TITLE) == true) { contentResult.setTitle(namedValue.getValue()); } } } this.tmp[i]= new Reference(store, row.getNode().getId(), null); contentResults.add(contentResult); } } }
— <ns1:columns> <ns1:name>{http://www.alfresco.org/model/content/1.0}name</ns1:name> <ns1:isMultiValue>false</ns1:isMultiValue> <ns1:value>motorhaube</ns1:value> </ns1:columns> <ns1:columns> <ns1:name>{http://www.alfresco.org/model/content/1.0}title</ns1:name> <ns1:isMultiValue>false</ns1:isMultiValue> <ns1:value>Öffnen der Motorhaube</ns1:value> </ns1:columns> <ns1:columns> <ns1:name>{http://www.alfresco.org/model/content/1.0}description</ns1:name> <ns1:isMultiValue>false</ns1:isMultiValue> <ns1:value>Hier wird Schritt für Schritt das öffnen der Motorhaube beschrieben</ns1:value> </ns1:columns> ….