public class PreferencePortalPlugin extends java.lang.Object implements MakeHTMLComponentPlugin, ProcessParametersPlugin, ButtonBarPlugin
Constructor and Description |
---|
PreferencePortalPlugin()
constructor
|
PreferencePortalPlugin(SDBScreen scrn)
PreferencePortalPlugin constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addButtons(SDBScreenContext context,
HTMLPage page,
java.lang.String next,
java.util.ArrayList list)
Add buttons to a button bar
|
void |
addHiddenFields(SDBContext context,
HTMLForm form)
add hidden fields
|
HTMLComponent |
makeHTMLComponent(SDBContext context,
SDBComponent screenComponent,
HTMLComponent htmlComponent)
Extend the generation of an HTMLcompnent
|
void |
postProcessParameters(WebClient client,
DBObject base)
The main purpose of this procedure is to ensure that the screen shows
a column preference for each component on the screen
invoice.
|
void |
preProcessParameters(WebClient client,
DBObject base)
pre-process parameters
|
void |
setProcessParametersAttribute(WebClient client,
FormData fd)
set the parameters
|
void |
setProcessParametersOrder(WebClient client,
java.util.ArrayList orderedList)
set the parameters
|
public PreferencePortalPlugin(SDBScreen scrn)
scrn
- - Screen that this plugin is applicable topublic PreferencePortalPlugin()
public 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
- the clientjava.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 ordered 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
makeHTMLComponent
in interface MakeHTMLComponentPlugin
context
- - the current screen contextscreenComponent
- - The screen component that the HTMLComponent is generated fromhtmlComponent
- - System generated HTML componentjava.lang.Exception
- - a serious errorpublic void addButtons(SDBScreenContext context, HTMLPage page, java.lang.String next, java.util.ArrayList list)
addButtons
in interface ButtonBarPlugin
context
- the screen contextpage
- the HTML pagenext
- nextlist
- the list of buttonsstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.