public class DisplayAlertsPlugin extends java.lang.Object implements MakeHTMLComponentPlugin, ProcessParametersPlugin
| Constructor and Description |
|---|
DisplayAlertsPlugin(SDBScreen scrn)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addHiddenFields(SDBContext context,
HTMLForm form)
Adds additional hidden fields to the form
|
HTMLComponent |
makeHTMLComponent(SDBContext context,
SDBComponent screenComponent,
HTMLComponent htmlComponent)
Creates a component for displaying the text of the alert
The text is colored based on the settings of the alert
A link is created to point to either the object that the alert
refers to or the alert if non exists.
|
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 processing the list of parameters
|
void |
setProcessParametersAttribute(WebClient client,
FormData fd)
Allows modification of instructions for each parameter, i.e is auto entered
|
void |
setProcessParametersOrder(WebClient client,
java.util.ArrayList orderedList)
Allows modification on the order that the parameters will be applied to the database
|
public DisplayAlertsPlugin(SDBScreen scrn)
scrn - - the screen that the plugin is associated withpublic void preProcessParameters(WebClient client, DBObject base) throws java.lang.Exception
preProcessParameters in interface ProcessParametersPluginclient - - webclientbase - - Global objectjava.lang.Exception - - as serious errorpublic void postProcessParameters(WebClient client, DBObject base) throws java.lang.Exception
postProcessParameters in interface ProcessParametersPluginclient - - webclientbase - - Global objectjava.lang.Exception - - a serious errorpublic HTMLComponent makeHTMLComponent(SDBContext context, SDBComponent screenComponent, HTMLComponent htmlComponent) throws java.lang.Exception
makeHTMLComponent in interface MakeHTMLComponentPlugincontext - - current screen contextscreenComponent - - component that we are generating htmlcomponent forhtmlComponent - - htmlComponent generated by systemjava.lang.Exception - - a serious errorpublic void setProcessParametersAttribute(WebClient client, FormData fd) throws java.lang.Exception
setProcessParametersAttribute in interface ProcessParametersPluginclient - - current clientfd - - parameter detailsjava.lang.Exception - - as serious errorpublic void setProcessParametersOrder(WebClient client, java.util.ArrayList orderedList) throws java.lang.Exception
setProcessParametersOrder in interface ProcessParametersPluginclient - - current clientorderedList - - list of parametersjava.lang.Exception - - a serious errorpublic void addHiddenFields(SDBContext context, HTMLForm form) throws java.lang.Exception
addHiddenFields in interface ProcessParametersPlugincontext - - current screen contextform - - current form to add hidden fields tojava.lang.Exception - - a serious errorstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.