public class AnswersScreenPlugin extends java.lang.Object implements ProcessParametersPlugin, ShowComponentPlugin, RetrieveBasePlugin
| Constructor and Description |
|---|
AnswersScreenPlugin(SDBScreen scrn) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHiddenFields(SDBContext context,
HTMLForm form)
add hidden fields to the form
|
DBObject |
getBaseObject(WebClient client) |
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
|
boolean |
showComponent(SDBContext context,
SDBComponent component)
Should we show this component ?
|
public AnswersScreenPlugin(SDBScreen scrn)
scrn - public void addHiddenFields(SDBContext context, HTMLForm form) throws java.lang.Exception
ProcessParametersPluginaddHiddenFields in interface ProcessParametersPlugincontext - the contextform - the formjava.lang.Exception - a serious problempublic void postProcessParameters(WebClient client, DBObject base) throws java.lang.Exception
ProcessParametersPluginpostProcessParameters in interface ProcessParametersPluginclient - the web clientbase - the base objectjava.lang.Exception - a serious problempublic void preProcessParameters(WebClient client, DBObject base) throws java.lang.Exception
ProcessParametersPluginpreProcessParameters in interface ProcessParametersPluginclient - the web clientbase - the base objectjava.lang.Exception - a serious problempublic void setProcessParametersAttribute(WebClient client, FormData fd) throws java.lang.Exception
ProcessParametersPluginsetProcessParametersAttribute in interface ProcessParametersPluginclient - the web clientfd - form datajava.lang.Exception - a serious problempublic void setProcessParametersOrder(WebClient client, java.util.ArrayList orderedList) throws java.lang.Exception
ProcessParametersPluginsetProcessParametersOrder in interface ProcessParametersPluginclient - the web clientorderedList - the listjava.lang.Exception - a serious problempublic boolean showComponent(SDBContext context, SDBComponent component)
ShowComponentPluginshowComponent in interface ShowComponentPlugincontext - the contextpublic DBObject getBaseObject(WebClient client) throws java.lang.Exception
getBaseObject in interface RetrieveBasePluginclient - the client to usejava.lang.Exception - Exception A serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.