public static ResultList<ResultItem> getResults(final String name) { final DataModel datamodel = getDataModel(); final SearchDataObject searchDO = datamodel.getSearch(name); if (searchDO == null) { return null; } final ResultList<ResultItem> results = searchDO.getResults(); return results; }
public static SearchDataObject getSearch(final String name) { final DataModel datamodel = getDataModel(); final SearchDataObject searchDO = datamodel.getSearch(name); return searchDO; }