public class SendEmailScreenPlugin extends java.lang.Object implements ProcessParametersPlugin, MakeHTMLComponentPlugin, ScreenWorkflowPlugin
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PARAM_ATTACHMENTS |
SCREEN_ACTION_CLOSE, SCREEN_ACTION_DELETE, SCREEN_ACTION_EMAIL, SCREEN_ACTION_PRINT, SCREEN_ACTION_SAVE, SCREEN_ACTION_SAVE_AND_EXIT
Constructor and Description |
---|
SendEmailScreenPlugin(SDBScreen scrn) |
Modifier and Type | Method and Description |
---|---|
void |
addHiddenFields(SDBContext context,
HTMLForm form)
add hidden fields to the form
|
java.lang.String |
determineScreenAction(SDBScreenContext context,
java.lang.String nextAction)
The action that is to be performed by the screen
If no processing is required then the nextAction paramater should be
returned without change
|
java.lang.String |
getNextWindowTarget(SDBScreenContext context,
java.lang.String target)
The target window that should be used for nextWindowUrl
If no processing is required then the target parameter should be
returned without change
|
java.lang.String |
getNextWindowUrl(SDBScreenContext context,
java.lang.String url)
The window that should be opened after screen processing has completed
If no processing is required then the url parameter should be
returned without change
|
HTMLComponent |
makeHTMLComponent(SDBContext context,
SDBComponent screenComponent,
HTMLComponent htmlComponent)
Extend the generation of an HTMLcompnent
|
void |
postProcessParameters(WebClient client,
DBObject base)
The data entry screen will call this method AFTER building the universe.
|
void |
preProcessParameters(WebClient client,
DBObject base)
The data entry screen will call this method BEFORE building the universe from the parameters passed.
|
void |
setProcessParametersAttribute(WebClient client,
FormData fd)
set the attribute
|
void |
setProcessParametersOrder(WebClient client,
java.util.ArrayList orderedList)
set the order
|
public static final java.lang.String PARAM_ATTACHMENTS
public SendEmailScreenPlugin(SDBScreen scrn)
scrn
- the screenpublic void preProcessParameters(WebClient client, DBObject base) throws java.lang.Exception
preProcessParameters
in interface ProcessParametersPlugin
client
- the web clientbase
- the base objectjava.lang.Exception
- a serious problempublic void postProcessParameters(WebClient client, DBObject base) throws java.lang.Exception
postProcessParameters
in interface ProcessParametersPlugin
client
- the web clientbase
- the base objectjava.lang.Exception
- a serious problempublic void setProcessParametersAttribute(WebClient client, FormData fd) throws java.lang.Exception
setProcessParametersAttribute
in interface ProcessParametersPlugin
client
- the web clientfd
- form datajava.lang.Exception
- a serious problempublic void setProcessParametersOrder(WebClient client, java.util.ArrayList orderedList) throws java.lang.Exception
setProcessParametersOrder
in interface ProcessParametersPlugin
client
- the web clientorderedList
- the listjava.lang.Exception
- a serious problempublic void addHiddenFields(SDBContext context, HTMLForm form) throws java.lang.Exception
addHiddenFields
in interface ProcessParametersPlugin
context
- the contextform
- the formjava.lang.Exception
- a serious problempublic HTMLComponent makeHTMLComponent(SDBContext context, SDBComponent screenComponent, HTMLComponent htmlComponent) throws java.lang.Exception
MakeHTMLComponentPlugin
makeHTMLComponent
in interface MakeHTMLComponentPlugin
context
- the contextjava.lang.Exception
- a serious problempublic java.lang.String determineScreenAction(SDBScreenContext context, java.lang.String nextAction) throws java.lang.Exception
ScreenWorkflowPlugin
determineScreenAction
in interface ScreenWorkflowPlugin
context
- - screen context containing information about the state of
the screennextAction
- - the default actionjava.lang.Exception
- - processing cannot continuepublic java.lang.String getNextWindowUrl(SDBScreenContext context, java.lang.String url)
ScreenWorkflowPlugin
getNextWindowUrl
in interface ScreenWorkflowPlugin
context
- - screen context containing information about the state of
the screenurl
- - the default urlpublic java.lang.String getNextWindowTarget(SDBScreenContext context, java.lang.String target)
ScreenWorkflowPlugin
getNextWindowTarget
in interface ScreenWorkflowPlugin
context
- - screen context containing information about the state of
the screentarget
- - the default targetstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.