/** * @deprecated use {@link #findEntitesByTags(String[], String[], boolean, Search)} */ public List<String> findEntityRefsByTags(String[] tags) { if (tagSearchService != null) { ArrayList<String> refs = new ArrayList<String>(); List<EntityData> results = tagSearchService.findEntitesByTags(tags, null, false, null); for (EntityData entitySearchResult : results) { refs.add( entitySearchResult.getEntityReference() ); } return refs; } else { log.warn("No tagSearchService defined"); return new ArrayList<String>(); } }
sb.append(" <caption style='font-weight:bold;'>Entity Data</caption>\n"); if (! entityData.isDataOnly()) { sb.append(" <tr><td>entityReference</td><td>"+StringEscapeUtils.escapeHtml(entityData.getEntityReference())+"</td></tr>\n"); sb.append(" <tr><td>entityURL</td><td>"+StringEscapeUtils.escapeHtml(entityData.getEntityURL())+"</td></tr>\n"); if (entityData.getEntityRef() != null) { entityProps.put(ENTITY_REFERENCE, entityData.getEntityReference()); entityProps.put(ENTITY_URL, entityData.getEntityURL()); if (entityData.getEntityRef().getId() != null) {
sb.append(" <caption style='font-weight:bold;'>Entity Data</caption>\n"); if (! entityData.isDataOnly()) { sb.append(" <tr><td>entityReference</td><td>"+StringEscapeUtils.escapeHtml(entityData.getEntityReference())+"</td></tr>\n"); sb.append(" <tr><td>entityURL</td><td>"+StringEscapeUtils.escapeHtml(entityData.getEntityURL())+"</td></tr>\n"); if (entityData.getEntityRef() != null) { entityProps.put(ENTITY_REFERENCE, entityData.getEntityReference()); entityProps.put(ENTITY_URL, entityData.getEntityURL()); if (entityData.getEntityRef().getId() != null) {
String reference = ed.getEntityReference().toString(); ed.getEntityProperties().put("tags", refToTags.get(reference));