Commit b433214a authored by Marco Descher's avatar Marco Descher 🏔

[16515] Add missing IMessageService

parent b198a8ea
Pipeline #11255 passed with stages
in 4 minutes and 28 seconds
package ch.elexis.core.services;
import org.eclipse.core.runtime.IStatus;
import ch.elexis.core.model.IMessage;
import ch.elexis.core.model.IMessageParty;
import ch.elexis.core.model.message.MessageParty;
/**
* Handles transportation of an {@link IMessage} between {@link IMessageParty} participants.
*/
public interface IMessageService {
/**
* Create an {@link IMessage} object for further parameterization
*
* @param sender
* @param receiver
* @return
*/
IMessage prepare(MessageParty sender, MessageParty... receiver);
/**
* Send the message
*
* @param message
* @return
*/
IStatus send(IMessage message);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment