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