1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.student.lum.program.server; |
17 |
|
|
18 |
|
import java.util.List; |
19 |
|
|
20 |
|
import org.kuali.student.common.ui.client.widgets.rules.ReqComponentInfoUi; |
21 |
|
import org.kuali.student.common.ui.server.gwt.BaseRpcGwtServletAbstract; |
22 |
|
import org.kuali.student.common.versionmanagement.dto.VersionDisplayInfo; |
23 |
|
import org.kuali.student.core.statement.dto.ReqComponentInfo; |
24 |
|
import org.kuali.student.core.statement.dto.ReqComponentTypeInfo; |
25 |
|
import org.kuali.student.core.statement.dto.StatementTreeViewInfo; |
26 |
|
import org.kuali.student.core.statement.dto.StatementTypeInfo; |
27 |
|
import org.kuali.student.lum.lu.dto.CluInfo; |
28 |
|
import org.kuali.student.lum.lu.service.LuService; |
29 |
|
import org.kuali.student.lum.program.client.rpc.StatementRpcService; |
30 |
|
|
|
|
| 0% |
Uncovered Elements: 18 (18) |
Complexity: 9 |
Complexity Density: 1 |
|
31 |
|
public class StatementRpcServlet extends BaseRpcGwtServletAbstract<LuService> implements StatementRpcService { |
32 |
|
|
33 |
|
private static final long serialVersionUID = 1L; |
34 |
|
private StatementRpcService statmentDataService; |
35 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
36 |
0
|
public void setStatmentDataService(StatementRpcService statmentDataService) {... |
37 |
0
|
this.statmentDataService = statmentDataService; |
38 |
|
} |
39 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
40 |
0
|
@Override... |
41 |
|
public List<StatementTypeInfo> getStatementTypesForStatementTypeForCourse( |
42 |
|
String statementTypeKey) throws Exception { |
43 |
0
|
return statmentDataService |
44 |
|
.getStatementTypesForStatementTypeForCourse(statementTypeKey); |
45 |
|
} |
46 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
47 |
0
|
@Override... |
48 |
|
public List<StatementTypeInfo> getStatementTypesForStatementType( |
49 |
|
String statementTypeKey) throws Exception { |
50 |
0
|
return statmentDataService |
51 |
|
.getStatementTypesForStatementType(statementTypeKey); |
52 |
|
} |
53 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
54 |
0
|
@Override... |
55 |
|
public List<ReqComponentTypeInfo> getReqComponentTypesForStatementType( |
56 |
|
String luStatementTypeKey) throws Exception { |
57 |
0
|
return statmentDataService |
58 |
|
.getReqComponentTypesForStatementType(luStatementTypeKey); |
59 |
|
} |
60 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
61 |
0
|
@Override... |
62 |
|
public String translateReqComponentToNL(ReqComponentInfo reqComponentInfo, |
63 |
|
String nlUsageTypeKey, String language) throws Exception { |
64 |
0
|
return statmentDataService.translateReqComponentToNL(reqComponentInfo, |
65 |
|
nlUsageTypeKey, language); |
66 |
|
} |
67 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
68 |
0
|
@Override... |
69 |
|
public String translateStatementTreeViewToNL( |
70 |
|
StatementTreeViewInfo statementTreeViewInfo, String nlUsageTypeKey, |
71 |
|
String language) throws Exception { |
72 |
0
|
return statmentDataService.translateStatementTreeViewToNL( |
73 |
|
statementTreeViewInfo, nlUsageTypeKey, language); |
74 |
|
} |
75 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
76 |
0
|
@Override... |
77 |
|
public List<String> translateReqComponentToNLs( |
78 |
|
ReqComponentInfoUi reqComponentInfo, String[] nlUsageTypeKeys, |
79 |
|
String language) throws Exception { |
80 |
0
|
return statmentDataService.translateReqComponentToNLs(reqComponentInfo, |
81 |
|
nlUsageTypeKeys, language); |
82 |
|
} |
83 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
84 |
0
|
@Override... |
85 |
|
public CluInfo getClu(String cluId) throws Exception { |
86 |
0
|
return statmentDataService.getClu(cluId); |
87 |
|
} |
88 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
89 |
0
|
@Override... |
90 |
|
public VersionDisplayInfo getCurrentVersion(String refObjectTypeURI, |
91 |
|
String refObjectId) throws Exception { |
92 |
0
|
return statmentDataService.getCurrentVersion(refObjectTypeURI, |
93 |
|
refObjectId); |
94 |
|
} |
95 |
|
|
96 |
|
} |