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.
|
getHandler
getContext
boolean canCreateMessage(SessionService op)
op
- boolean createDirectly()
FormResult directCreate() throws java.lang.Exception
java.lang.Exception
void buildMessageCreatorForm(Form f, SessionService operator)
f
- Formoperator
- current user.