}
@Override
- public boolean submit(PrintWriter out, HttpServletRequest req) throws GigiApiException {
+ public boolean submit(HttpServletRequest req) throws GigiApiException {
String request = req.getParameter("domain");
Domain d = null;
if (request.matches("#[0-9]+")) {
throw new GigiApiException(SprintfCommand.createSimple("No personal domains found matching the id {0}", request.substring(1)));
}
} else {
- d = Domain.searchUserIdByDomain(request);
+ d = Domain.searchDomain(request);
}
if (d == null) {
throw new GigiApiException(SprintfCommand.createSimple("No personal domains found matching {0}", request));