public class MessageServiceImpl extends BusinessObjectServiceImpl implements MessageService
dao
Constructor and Description |
---|
MessageServiceImpl() |
Modifier and Type | Method and Description |
---|---|
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
|
setGenericDao
public MessageServiceImpl()
public void deleteMessage(Message message)
MessageService
deleteMessage
in interface MessageService
message
- a MessageMessageService.deleteMessage(org.kuali.rice.kcb.bo.Message)
public Message getMessage(Long id)
MessageService
getMessage
in interface MessageService
id
- the message idMessageService.getMessage(java.lang.Long)
public Collection<Message> getAllMessages()
MessageService
getAllMessages
in interface MessageService
MessageService.getAllMessages()
public void saveMessage(Message message)
MessageService
saveMessage
in interface MessageService
message
- a MessageMessageService.saveMessage(org.kuali.rice.kcb.bo.Message)
public Message getMessageByOriginId(String originId)
MessageService
getMessageByOriginId
in interface MessageService
MessageService.getMessageByOriginId(java.lang.String)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.