public class AbstractMessageHandlerFactory.Composer extends AbstractMessageHandlerFactory.Handler implements MessageComposer
provider| 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() |
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, getContext, getFactory, getMessageProvider, getPath, getTypeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waiteditReplyTocanView, getFactory, getMessageProvider, getPath, getTypeNamepublic Composer(H provider)
provider - public FormResult send(SessionService<?> operator) throws java.lang.Exception
MessageComposersend in interface MessageComposerjava.lang.Exceptionpublic void repopulate(SessionService<?> operator) throws java.lang.Exception
MessageComposerrepopulate in interface MessageComposerjava.lang.Exceptionpublic void populate(SessionService<?> operator) throws java.lang.Exception
MessageComposerpopulate in interface MessageComposerjava.lang.Exceptionpublic FormResult abort() throws DataFault
MessageComposerabort in interface MessageComposerDataFaultpublic boolean canEdit(java.util.List<java.lang.String> path,
SessionService<?> operator)
MessageComposercanEdit in interface MessageComposerpath - being editedpublic Input<java.lang.String> getEmailInput()
MessageComposerInput 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 addgetEmailInput in interface MessageComposerpublic boolean editRecipients()
editRecipients in interface MessageComposerpublic boolean bccOnly()
bccOnly in interface MessageComposerpublic boolean allowNewAttachments()
allowNewAttachments in interface MessageComposerpublic boolean showBcc()
showBcc in interface MessageComposer