@Override public void run(Object in, String[] tail) throws UIException { Request q = (Request) in; ctl = new CacheTermList(q.getCache()); termlist(q.getCache(), q.getStorage(), q.getUIRequest(), StringUtils.join(tail, "/")); }
public void run(Object in, String[] tail) throws UIException { Request q = (Request) in; if (search) searchtype( q.getStorage(), q.getUIRequest(), q.getUIRequest().getRequestArgument("query"), q.getUIRequest().getRequestArgument("pageSize"), q.getUIRequest().getRequestArgument("pageNum")); else searchtype( q.getStorage(), q.getUIRequest(), null, q.getUIRequest().getRequestArgument("pageSize"), q.getUIRequest().getRequestArgument("pageNum")); }