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
ProcessParametersPlugin
addHiddenFields
in interface ProcessParametersPlugin
context
- the contextform
- the formjava.lang.Exception
- a serious problempublic void postProcessParameters(WebClient client, DBObject base) throws java.lang.Exception
ProcessParametersPlugin
postProcessParameters
in interface ProcessParametersPlugin
client
- the web clientbase
- the base objectjava.lang.Exception
- a serious problempublic void preProcessParameters(WebClient client, DBObject base) throws java.lang.Exception
ProcessParametersPlugin
preProcessParameters
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
ProcessParametersPlugin
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
ProcessParametersPlugin
setProcessParametersOrder
in interface ProcessParametersPlugin
client
- the web clientorderedList
- the listjava.lang.Exception
- a serious problempublic boolean showComponent(SDBContext context, SDBComponent component)
ShowComponentPlugin
showComponent
in interface ShowComponentPlugin
context
- the contextpublic DBObject getBaseObject(WebClient client) throws java.lang.Exception
getBaseObject
in interface RetrieveBasePlugin
client
- the client to usejava.lang.Exception
- Exception A serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.