org.kuali.rice.kcb.service.impl
Class MessageServiceImpl

java.lang.Object
  extended by org.kuali.rice.kcb.service.impl.MessageServiceImpl
All Implemented Interfaces:
MessageService

public class MessageServiceImpl
extends Object
implements MessageService

MessageService implementation

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
MessageServiceImpl()
           
 
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
 Message saveMessage(Message message)
          Saves a message
 void setDataObjectService(DataObjectService dataObjectService)
          Sets the data object service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageServiceImpl

public MessageServiceImpl()
Method Detail

deleteMessage

public void deleteMessage(Message message)
Description copied from interface: MessageService
Deletes a message

Specified by:
deleteMessage in interface MessageService
Parameters:
message - a Message
See Also:
MessageService.deleteMessage(org.kuali.rice.kcb.bo.Message)

getMessage

public Message getMessage(Long id)
Description copied from interface: MessageService
Finds a message by id

Specified by:
getMessage in interface MessageService
Parameters:
id - the message id
Returns:
the message object if found
See Also:
MessageService.getMessage(java.lang.Long)

getAllMessages

public Collection<Message> getAllMessages()
Description copied from interface: MessageService
Returns all messages in the system

Specified by:
getAllMessages in interface MessageService
Returns:
all messages in the system
See Also:
MessageService.getAllMessages()

saveMessage

public Message saveMessage(Message message)
Description copied from interface: MessageService
Saves a message

Specified by:
saveMessage in interface MessageService
Parameters:
message - a Message
See Also:
MessageService.saveMessage(org.kuali.rice.kcb.bo.Message)

getMessageByOriginId

public Message getMessageByOriginId(String originId)
Description copied from interface: MessageService
Finds a message by origin id

Specified by:
getMessageByOriginId in interface MessageService
Returns:
the message object if found
See Also:
MessageService.getMessageByOriginId(java.lang.String)

setDataObjectService

public void setDataObjectService(DataObjectService dataObjectService)
Sets the data object service.

Parameters:
dataObjectService - persits data to the datasource.


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.