|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageService
The MessageService class is responsible various functions regarding the Message records that exist within the system.
Method Summary | |
---|---|
void |
deleteMessage(Message message)
Deletes a message |
Collection<Message> |
getAllMessages()
Returns all messages in the system |
Message |
getMessage(Long id)
Finds a message by id |
Message |
getMessageByOriginId(String originId)
Finds a message by origin id |
void |
saveMessage(Message message)
Saves a message |
Method Detail |
---|
void saveMessage(Message message)
message
- a Messagevoid deleteMessage(Message message)
message
- a MessageMessage getMessage(Long id)
id
- the message id
Message getMessageByOriginId(String originId)
id
- the origin message id
Collection<Message> getAllMessages()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |