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 Details

    • saveMessage

      Message saveMessage(Message message)
      Saves a message
      Parameters:
      message - a Message
    • deleteMessage

      void deleteMessage(Message message)
      Deletes a message
      Parameters:
      message - a Message
    • getMessage

      Message getMessage(Long id)
      Finds a message by id
      Parameters:
      id - the message id
      Returns:
      the message object if found
    • getMessageByOriginId

      Message getMessageByOriginId(String originId)
      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