public class EmailTransitionProvider.TransitionLinker extends java.lang.Object implements MessageEditLinker
Constructor and Description |
---|
TransitionLinker(AppContext conn,
MailTarget target) |
Modifier and Type | Method and Description |
---|---|
void |
addButton(ContentBuilder sb,
EditAction action,
java.util.List<java.lang.String> path,
java.lang.String text)
Add a single button form to a HtmlBuilder page that invokes the named
operation on the encapsulated Message
|
void |
addLink(ContentBuilder builder,
java.util.List<java.lang.String> args,
java.lang.String file,
java.lang.String text)
Create a HTML link to the associated message or part of the message.
|
MessageProvider |
getMessageProvider()
Get the MessageProvider associated with this object
|
public TransitionLinker(AppContext conn, MailTarget target)
public MessageProvider getMessageProvider() throws java.lang.Exception
MessageLinker
getMessageProvider
in interface MessageLinker
java.lang.Exception
public void addLink(ContentBuilder builder, java.util.List<java.lang.String> args, java.lang.String file, java.lang.String text)
MessageLinker
addLink
in interface MessageLinker
builder
- HtmlBuilder to add link toargs
- args identifying part of message to accessfile
- filename to add to URLtext
- text of linkpublic void addButton(ContentBuilder sb, EditAction action, java.util.List<java.lang.String> path, java.lang.String text)
MessageEditLinker
addButton
in interface MessageEditLinker