org.kuali.student.common.spring
Class FakeMessageServiceImpl
java.lang.Object
org.kuali.student.common.spring.AbstractFakeService
org.kuali.student.common.spring.FakeMessageServiceImpl
- All Implemented Interfaces:
- Serializable, MessageService
public class FakeMessageServiceImpl
- extends AbstractFakeService
- implements MessageService, Serializable
- Author:
- Kuali Student Team
This class exists purely to test the WebServiceAwareSpringBeanPostProcessor class.
- See Also:
- Serialized Form
Method Summary |
StatusInfo |
createMessage(LocaleInfo localeInfo,
String messageGroupKey,
String messageKey,
MessageInfo messageInfo,
ContextInfo contextInfo)
|
StatusInfo |
deleteMessage(LocaleInfo localeInfo,
String messageGroupKey,
String messageKey,
ContextInfo contextInfo)
|
List<LocaleInfo> |
getLocales(ContextInfo contextInfo)
|
MessageInfo |
getMessage(LocaleInfo localeInfo,
String messageGroupKey,
String messageKey,
ContextInfo contextInfo)
|
List<String> |
getMessageGroupKeys(ContextInfo contextInfo)
|
List<MessageInfo> |
getMessagesByGroup(LocaleInfo localeInfo,
String messageGroupKey,
ContextInfo contextInfo)
|
List<MessageInfo> |
getMessagesByGroups(LocaleInfo localeInfo,
List<String> messageGroupKeys,
ContextInfo contextInfo)
|
String |
toString()
|
MessageInfo |
updateMessage(LocaleInfo localeInfo,
String messageGroupKey,
String messageKey,
MessageInfo messageInfo,
ContextInfo contextInfo)
|
List<ValidationResultInfo> |
validateProposal(String validationTypeKey,
MessageInfo messageInfo,
ContextInfo contextInfo)
|
FakeMessageServiceImpl
public FakeMessageServiceImpl()
getLocales
public List<LocaleInfo> getLocales(ContextInfo contextInfo)
throws InvalidParameterException,
MissingParameterException,
OperationFailedException,
PermissionDeniedException
- Specified by:
getLocales
in interface MessageService
- Throws:
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
getMessageGroupKeys
public List<String> getMessageGroupKeys(ContextInfo contextInfo)
throws InvalidParameterException,
MissingParameterException,
OperationFailedException,
PermissionDeniedException
- Specified by:
getMessageGroupKeys
in interface MessageService
- Throws:
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
getMessage
public MessageInfo getMessage(LocaleInfo localeInfo,
String messageGroupKey,
String messageKey,
ContextInfo contextInfo)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException,
PermissionDeniedException
- Specified by:
getMessage
in interface MessageService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
getMessagesByGroup
public List<MessageInfo> getMessagesByGroup(LocaleInfo localeInfo,
String messageGroupKey,
ContextInfo contextInfo)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException,
PermissionDeniedException
- Specified by:
getMessagesByGroup
in interface MessageService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
getMessagesByGroups
public List<MessageInfo> getMessagesByGroups(LocaleInfo localeInfo,
List<String> messageGroupKeys,
ContextInfo contextInfo)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException,
PermissionDeniedException
- Specified by:
getMessagesByGroups
in interface MessageService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
updateMessage
public MessageInfo updateMessage(LocaleInfo localeInfo,
String messageGroupKey,
String messageKey,
MessageInfo messageInfo,
ContextInfo contextInfo)
throws DataValidationErrorException,
DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException,
PermissionDeniedException,
ReadOnlyException,
VersionMismatchException
- Specified by:
updateMessage
in interface MessageService
- Throws:
DataValidationErrorException
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
ReadOnlyException
VersionMismatchException
deleteMessage
public StatusInfo deleteMessage(LocaleInfo localeInfo,
String messageGroupKey,
String messageKey,
ContextInfo contextInfo)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException,
PermissionDeniedException
- Specified by:
deleteMessage
in interface MessageService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
createMessage
public StatusInfo createMessage(LocaleInfo localeInfo,
String messageGroupKey,
String messageKey,
MessageInfo messageInfo,
ContextInfo contextInfo)
throws DataValidationErrorException,
DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException,
PermissionDeniedException
- Specified by:
createMessage
in interface MessageService
- Throws:
DataValidationErrorException
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
PermissionDeniedException
validateProposal
public List<ValidationResultInfo> validateProposal(String validationTypeKey,
MessageInfo messageInfo,
ContextInfo contextInfo)
throws DoesNotExistException,
InvalidParameterException,
MissingParameterException,
OperationFailedException
- Specified by:
validateProposal
in interface MessageService
- Throws:
DoesNotExistException
InvalidParameterException
MissingParameterException
OperationFailedException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.