Package org.kuali.rice.kcb.service
Interface MessageService
- All Known Implementing Classes:
MessageServiceImpl
public interface MessageService
The MessageService class is responsible various functions regarding the
Message records that exist within the system.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteMessage(Message message) Deletes a messageReturns all messages in the systemgetMessage(Long id) Finds a message by idgetMessageByOriginId(String originId) Finds a message by origin idsaveMessage(Message message) Saves a message
-
Method Details
-
saveMessage
Saves a message- Parameters:
message- a Message
-
deleteMessage
Deletes a message- Parameters:
message- a Message
-
getMessage
Finds a message by id- Parameters:
id- the message id- Returns:
- the message object if found
-
getMessageByOriginId
Finds a message by origin id- Parameters:
id- the origin message id- Returns:
- the message object if found
-
getAllMessages
Collection<Message> getAllMessages()Returns all messages in the system- Returns:
- all messages in the system
-