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.kuali.student.core.messages.dto.LocaleKeyList; |
19 |
|
import org.kuali.student.core.messages.dto.Message; |
20 |
|
import org.kuali.student.core.messages.dto.MessageGroupKeyList; |
21 |
|
import org.kuali.student.core.messages.dto.MessageList; |
22 |
|
import org.kuali.student.core.messages.service.MessageService; |
23 |
|
|
24 |
|
import com.google.gwt.user.server.rpc.RemoteServiceServlet; |
25 |
|
|
|
|
| 0% |
Uncovered Elements: 18 (18) |
Complexity: 9 |
Complexity Density: 1 |
|
26 |
|
public class MessagesRpcGwtServlet extends RemoteServiceServlet implements org.kuali.student.common.ui.client.service.MessagesRpcService { |
27 |
|
|
28 |
|
private static final long serialVersionUID = 1L; |
29 |
|
|
30 |
|
private MessageService serviceImpl; |
31 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
32 |
0
|
@Override... |
33 |
|
public Message addMessage(Message messageInfo) { |
34 |
0
|
return serviceImpl.addMessage(messageInfo); |
35 |
|
} |
36 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
37 |
0
|
@Override... |
38 |
|
public LocaleKeyList getLocales() { |
39 |
0
|
return serviceImpl.getLocales(); |
40 |
|
} |
41 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
42 |
0
|
@Override... |
43 |
|
public Message getMessage(String localeKey, String messageGroupKey, String messageKey) { |
44 |
0
|
return serviceImpl.getMessage(localeKey, messageGroupKey, messageKey); |
45 |
|
} |
46 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
47 |
0
|
@Override... |
48 |
|
public MessageGroupKeyList getMessageGroups() { |
49 |
0
|
return serviceImpl.getMessageGroups(); |
50 |
|
} |
51 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
52 |
0
|
@Override... |
53 |
|
public MessageList getMessages(String localeKey, String messageGroupKey) { |
54 |
0
|
return serviceImpl.getMessages(localeKey, messageGroupKey); |
55 |
|
} |
56 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
57 |
0
|
@Override... |
58 |
|
public MessageList getMessagesByGroups(String localeKey, MessageGroupKeyList messageGroupKeyList) { |
59 |
0
|
return serviceImpl.getMessagesByGroups(localeKey, messageGroupKeyList); |
60 |
|
} |
61 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
62 |
0
|
@Override... |
63 |
|
public Message updateMessage(String localeKey, String messageGroupKey, String messageKey, Message messageInfo) { |
64 |
0
|
return serviceImpl.updateMessage(localeKey, messageGroupKey, messageKey, messageInfo); |
65 |
|
} |
66 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
67 |
0
|
public MessageService getServiceImpl() {... |
68 |
0
|
return serviceImpl; |
69 |
|
} |
70 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
71 |
0
|
public void setServiceImpl(MessageService impl) {... |
72 |
0
|
this.serviceImpl = impl; |
73 |
|
} |
74 |
|
|
75 |
|
} |