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 public class FakeMessageServiceImpl extends AbstractFakeService implements MessageService, Serializable {
43
44
45
46
47 public FakeMessageServiceImpl() {
48
49 }
50
51 @Override
52 public List<LocaleInfo> getLocales(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
53 return null;
54 }
55
56 @Override
57 public List<String> getMessageGroupKeys(ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
58 throw new UnsupportedOperationException("Not supported yet.");
59 }
60
61 @Override
62 public MessageInfo getMessage(LocaleInfo localeInfo, String messageGroupKey, String messageKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
63 return null;
64 }
65
66 @Override
67 public List<MessageInfo> getMessagesByGroup(LocaleInfo localeInfo, String messageGroupKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
68 return null;
69 }
70
71 @Override
72 public List<MessageInfo> getMessagesByGroups(LocaleInfo localeInfo, List<String> messageGroupKeys, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
73 return null;
74 }
75
76 @Override
77 public MessageInfo updateMessage(LocaleInfo localeInfo, String messageGroupKey, String messageKey, MessageInfo messageInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException {
78 return null;
79 }
80
81 @Override
82 public StatusInfo deleteMessage(LocaleInfo localeInfo, String messageGroupKey, String messageKey, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
83 return null;
84 }
85
86 @Override
87 public StatusInfo createMessage(LocaleInfo localeInfo, String messageGroupKey, String messageKey, MessageInfo messageInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException {
88 return null;
89 }
90
91 @Override
92 public List<ValidationResultInfo> validateProposal(String validationTypeKey, MessageInfo messageInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException {
93 return null;
94 }
95
96
97
98 @Override
99 public String toString() {
100 return getClass().getName();
101 }
102
103
104 }