@Transactional
public interface MessageService
Modifier and Type | Method and Description |
---|---|
Message |
create(String subject,
String message)
Deprecated.
|
Message |
create(String sender,
String subject,
String message)
Deprecated.
|
Message |
create(String recipients,
String sender,
String subject,
String message)
Deprecated.
|
Message |
createMessage(String subject,
String message) |
Message |
createMessage(String sender,
String subject,
String message) |
Message |
createMessage(String recipients,
String sender,
String subject,
String message)
TODO Auto generated method comment
|
Message |
createMessage(String recipients,
String sender,
String subject,
String message,
String attachment,
String attachmentContentType,
String attachmentFileName) |
List |
getAllTemplates() |
MessagePreparator |
getMessagePreparator() |
MessageSender |
getMessageSender() |
Template |
getTemplate(Integer id) |
List |
getTemplatesByName(String name) |
Message |
prepare(String templateName,
Map data)
Deprecated.
|
Message |
prepare(Template template)
Deprecated.
|
Message |
prepareMessage(String templateName,
Map data) |
Message |
prepareMessage(Template template) |
void |
send(Message message)
Deprecated.
|
void |
send(Message message,
Collection<User> users)
Deprecated.
|
void |
send(Message message,
Integer userId)
Deprecated.
|
void |
send(Message message,
Role role)
Deprecated.
|
void |
send(Message message,
String roleName)
Deprecated.
|
void |
send(Message message,
User user)
Deprecated.
|
void |
send(String recipients,
String sender,
String subject,
String message)
Deprecated.
|
void |
sendMessage(Message message)
TODO Auto generated method comment
|
void |
sendMessage(Message message,
Collection<User> users) |
void |
sendMessage(Message message,
Integer userId) |
void |
sendMessage(Message message,
Role role) |
void |
sendMessage(Message message,
String roleName) |
void |
sendMessage(Message message,
User user) |
void |
sendMessage(String recipients,
String sender,
String subject,
String message) |
void |
setMessagePreparator(MessagePreparator preparator) |
void |
setMessageSender(MessageSender sender) |
void setMessageSender(MessageSender sender)
MessageSender getMessageSender()
void setMessagePreparator(MessagePreparator preparator)
MessagePreparator getMessagePreparator()
void sendMessage(Message message) throws MessageException
message
- MessageException
void sendMessage(Message message, String roleName) throws MessageException
MessageException
void sendMessage(Message message, Integer userId) throws MessageException
MessageException
void sendMessage(Message message, User user) throws MessageException
MessageException
void sendMessage(Message message, Role role) throws MessageException
MessageException
void sendMessage(Message message, Collection<User> users) throws MessageException
MessageException
void sendMessage(String recipients, String sender, String subject, String message) throws MessageException
MessageException
Message createMessage(String subject, String message) throws MessageException
MessageException
Message createMessage(String sender, String subject, String message) throws MessageException
MessageException
Message createMessage(String recipients, String sender, String subject, String message) throws MessageException
recipients
- sender
- subject
- message
- MessageException
Message createMessage(String recipients, String sender, String subject, String message, String attachment, String attachmentContentType, String attachmentFileName) throws MessageException
MessageException
Message prepareMessage(String templateName, Map data) throws MessageException
MessageException
Message prepareMessage(Template template) throws MessageException
MessageException
List getAllTemplates() throws MessageException
MessageException
Template getTemplate(Integer id) throws MessageException
MessageException
List getTemplatesByName(String name) throws MessageException
MessageException
@Deprecated void send(Message message) throws MessageException
MessageException
@Deprecated void send(Message message, String roleName) throws MessageException
MessageException
@Deprecated void send(Message message, Integer userId) throws MessageException
MessageException
@Deprecated void send(Message message, User user) throws MessageException
MessageException
@Deprecated void send(Message message, Role role) throws MessageException
MessageException
@Deprecated void send(Message message, Collection<User> users) throws MessageException
MessageException
@Deprecated void send(String recipients, String sender, String subject, String message) throws MessageException
MessageException
@Deprecated Message create(String subject, String message) throws MessageException
MessageException
@Deprecated Message create(String sender, String subject, String message) throws MessageException
MessageException
@Deprecated Message create(String recipients, String sender, String subject, String message) throws MessageException
MessageException
@Deprecated Message prepare(String templateName, Map data) throws MessageException
MessageException
@Deprecated Message prepare(Template template) throws MessageException
MessageException
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.