| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
package org.kuali.student.common.ui.server.gwt; |
| 17 |
|
|
| 18 |
|
import org.apache.log4j.Logger; |
| 19 |
|
import org.kuali.student.common.ui.client.service.SearchRpcService; |
| 20 |
|
import org.kuali.student.core.exceptions.MissingParameterException; |
| 21 |
|
import org.kuali.student.core.search.dto.SearchRequest; |
| 22 |
|
import org.kuali.student.core.search.dto.SearchResult; |
| 23 |
|
import org.kuali.student.core.search.service.SearchDispatcher; |
| 24 |
|
|
| 25 |
|
import com.google.gwt.user.server.rpc.RemoteServiceServlet; |
| 26 |
|
|
|
|
|
| 0% |
Uncovered Elements: 6 (6) |
Complexity: 3 |
Complexity Density: 1 |
|
| 27 |
|
public class SearchDispatchRpcGwtServlet extends RemoteServiceServlet implements SearchRpcService{ |
| 28 |
|
|
| 29 |
|
private static final long serialVersionUID = 1L; |
| 30 |
|
|
| 31 |
|
final Logger LOG = Logger.getLogger(SearchDispatchRpcGwtServlet.class); |
| 32 |
|
private SearchDispatcher searchDispatcher; |
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 33 |
0
|
public SearchDispatchRpcGwtServlet() {... |
| 34 |
0
|
super(); |
| 35 |
|
} |
| 36 |
|
|
| 37 |
|
|
| 38 |
|
|
| 39 |
|
@param |
| 40 |
|
@return |
| 41 |
|
@throws |
| 42 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 43 |
0
|
@Override... |
| 44 |
|
public SearchResult search(SearchRequest searchRequest) { |
| 45 |
0
|
return searchDispatcher.dispatchSearch(searchRequest); |
| 46 |
|
} |
| 47 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 48 |
0
|
public void setSearchDispatcher(SearchDispatcher searchDispatcher) {... |
| 49 |
0
|
this.searchDispatcher = searchDispatcher; |
| 50 |
|
} |
| 51 |
|
} |