public interface MessageComposer extends MessageHandler
Modifier and Type | Method and Description |
---|---|
FormResult |
abort()
Abort the composition of the message
|
boolean |
allowNewAttachments() |
boolean |
bccOnly() |
boolean |
canEdit(java.util.List<java.lang.String> path,
SessionService<?> operator)
Is the specified person allowed to edit this message
|
boolean |
editRecipients() |
default boolean |
editReplyTo() |
Input<java.lang.String> |
getEmailInput()
get an
Input for email addresses. |
void |
populate(SessionService<?> operator)
Initialise the message to a starting state if it has not already been set.
|
void |
repopulate(SessionService<?> operator)
re-initialise the message to its starting state
|
FormResult |
send(SessionService<?> operator)
Send the message
|
boolean |
showBcc() |
canView, getFactory, getMessageProvider, getPath, getTypeName
FormResult send(SessionService<?> operator) throws java.lang.Exception
operator
- java.lang.Exception
void repopulate(SessionService<?> operator) throws java.lang.Exception
operator
- java.lang.Exception
void populate(SessionService<?> operator) throws java.lang.Exception
operator
- java.lang.Exception
FormResult abort() throws DataFault
DataFault
boolean canEdit(java.util.List<java.lang.String> path, SessionService<?> operator)
path
- being editedoperator
- Input<java.lang.String> getEmailInput()
Input
for email addresses.
Only used if the composer allows.
Normally this will just be and EmailInput
but a MessageComposer
can substitute something else to make it easier to find the desired email. The
action will accept a comma separated list of multiple values if the composer wishes
to support bulk addboolean editRecipients()
boolean showBcc()
boolean bccOnly()
boolean allowNewAttachments()
default boolean editReplyTo()