public interface MessageCreator extends MessageHandlerFactory
| Modifier and Type | Method and Description |
|---|---|
void |
buildMessageCreatorForm(Form f,
SessionService operator)
build the email creation form for this email type.
|
boolean |
canCreateMessage(SessionService op)
Can the current operator create emails.
|
boolean |
createDirectly()
should direct or form creation be used.
|
FormResult |
directCreate()
Create the email directly.
|
getHandlergetContextboolean canCreateMessage(SessionService op)
op - boolean createDirectly()
FormResult directCreate() throws java.lang.Exception
java.lang.Exceptionvoid buildMessageCreatorForm(Form f, SessionService operator)
f - Formoperator - current user.