16,6 → 16,7 |
import org.apache.log4j.Logger; |
|
import javax.servlet.http.HttpServletRequest; |
import javax.servlet.http.HttpServletResponse; |
|
import jomm.ir.lucene.LuceneUtils; |
|
49,8 → 50,8 |
* @return Cluster of Results for each Module with total module results, only return modules with results |
* @throws Throwable on notAuthorized or internal error |
*/ |
public ICommonSearchResults search(HttpServletRequest request, String query, SearchTypeEnum searchType) throws Throwable { |
return search(RequestUtils.getRequester(request), query, searchType); |
public ICommonSearchResults search(HttpServletRequest request,HttpServletResponse response, String query, SearchTypeEnum searchType) throws Throwable { |
return search(RequestUtils.getRequester(request, response), query, searchType); |
} |
|
/** |
96,8 → 97,8 |
* @throws Throwable on not authorized and internal error |
*/ |
|
public ISearchResults search(HttpServletRequest request, String query, SearchTypeEnum searchType, String moduleKey, int page) throws Throwable { |
return search(RequestUtils.getRequester(request), query, searchType, ModuleEnum.parse(moduleKey), page); |
public ISearchResults search(HttpServletRequest request,HttpServletResponse response, String query, SearchTypeEnum searchType, String moduleKey, int page) throws Throwable { |
return search(RequestUtils.getRequester(request, response), query, searchType, ModuleEnum.parse(moduleKey), page); |
} |
|
/** |
196,12 → 197,12 |
return toDoCats; |
} |
|
public IToDoCat getToDoCats(HttpServletRequest request, String moduleKey) throws Throwable { |
return getToDoCats(RequestUtils.getRequester(request), ModuleEnum.parse(moduleKey)); |
public IToDoCat getToDoCats(HttpServletRequest request, HttpServletResponse response, String moduleKey) throws Throwable { |
return getToDoCats(RequestUtils.getRequester(request, response), ModuleEnum.parse(moduleKey)); |
} |
|
public IToDoCat getToDoCats(HttpServletRequest request, ModuleEnum module) throws Throwable { |
return getToDoCats(RequestUtils.getRequester(request), module); |
public IToDoCat getToDoCats(HttpServletRequest request, HttpServletResponse response, ModuleEnum module) throws Throwable { |
return getToDoCats(RequestUtils.getRequester(request, response), module); |
} |
|
/** |