1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.common.spring;
17
18 import java.io.Serializable;
19 import java.util.List;
20
21
22 import org.kuali.student.r2.common.dto.ContextInfo;
23 import org.kuali.student.r2.common.dto.LocaleInfo;
24 import org.kuali.student.r2.common.dto.StatusInfo;
25 import org.kuali.student.r2.common.dto.ValidationResultInfo;
26 import org.kuali.student.r2.common.exceptions.DataValidationErrorException;
27 import org.kuali.student.r2.common.exceptions.DoesNotExistException;
28 import org.kuali.student.r2.common.exceptions.InvalidParameterException;
29 import org.kuali.student.r2.common.exceptions.MissingParameterException;
30 import org.kuali.student.r2.common.exceptions.OperationFailedException;
31 import org.kuali.student.r2.common.exceptions.PermissionDeniedException;
32 import org.kuali.student.r2.common.exceptions.ReadOnlyException;
33 import org.kuali.student.r2.common.exceptions.VersionMismatchException;
34 import org.kuali.student.r2.common.messages.dto.MessageInfo;
35 import org.kuali.student.r2.common.messages.service.MessageService;
36
37
38
39
40
41
42
43 public class FakeMessageServiceImpl
44 extends AbstractFakeService implements MessageService, Serializable {
45
46
47
48
49 public FakeMessageServiceImpl() {
50
51 }
52
53 @Override
54 public List<LocaleInfo> getLocales(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
55 return null;
56 }
57
58 @Override
59 public List<String> getMessageGroupKeys(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
60 throw new UnsupportedOperationException("Not supported yet.");
61 }
62
63 @Override
64 public MessageInfo getMessage(LocaleInfo localeInfo, String messageGroupKey, String messageKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
65 return null;
66 }
67
68 @Override
69 public List<MessageInfo> getMessagesByKeys(List<String> messageKeys, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
70 throw new UnsupportedOperationException("Not supported yet.");
71
72 }
73
74 @Override
75 public List<MessageInfo> getMessagesByGroup(LocaleInfo localeInfo, String messageGroupKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
76 return null;
77 }
78
79 @Override
80 public List<MessageInfo> getMessagesByGroups(LocaleInfo localeInfo, List<String> messageGroupKeys, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
81 return null;
82 }
83
84 @Override
85 public List<ValidationResultInfo> validateMessage(String validationTypeKey, MessageInfo messageInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException {
86 return null;
87 }
88
89 @Override
90 public StatusInfo createMessage(LocaleInfo localeInfo, String messageGroupKey, String messageKey, MessageInfo messageInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
91 return null;
92 }
93
94 @Override
95 public MessageInfo updateMessage(LocaleInfo localeInfo, String messageGroupKey, String messageKey, MessageInfo messageInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException {
96 return null;
97 }
98
99 @Override
100 public StatusInfo deleteMessage(LocaleInfo localeInfo, String messageGroupKey, String messageKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
101 return null;
102 }
103
104 @Override
105 public String toString() {
106 return getClass().getName();
107 }
108 }