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

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

public class MessageServiceImpl
extends BusinessObjectServiceImpl
implements MessageService

MessageService implementation

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

Field Summary
 
Fields inherited from class org.kuali.rice.kcb.service.impl.BusinessObjectServiceImpl
dao
 
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
 void saveMessage(Message message)
          Saves a message
 
Methods inherited from class org.kuali.rice.kcb.service.impl.BusinessObjectServiceImpl
setGenericDao
 
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 void 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)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.