Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 public static SearchDataObject getSearch(final String name) {
   final DataModel datamodel = getDataModel();
   final SearchDataObject searchDO = datamodel.getSearch(name);
   return searchDO;
 }