public class ActivityScreenPlugin extends java.lang.Object implements ShowComponentPlugin, ProcessParametersPlugin, MessageHandlerPlugin, MakeHTMLComponentPlugin, ScreenWorkflowPlugin, ButtonBarPlugin
SCREEN_ACTION_CLOSE, SCREEN_ACTION_DELETE, SCREEN_ACTION_EMAIL, SCREEN_ACTION_PRINT, SCREEN_ACTION_SAVE, SCREEN_ACTION_SAVE_AND_EXIT| Constructor and Description |
|---|
ActivityScreenPlugin(SDBScreen scrn) |
| Modifier and Type | Method and Description |
|---|---|
void |
addButtons(SDBScreenContext context,
HTMLPage page,
java.lang.String next,
java.util.ArrayList list)
Add some more buttons.
|
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
|
HTMLComponent |
getConfirmDeleteMsg(WebClient client,
DBObject baseData,
HTMLComponent txt)
The component for the Confirm Delete message
|
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 |
getRecordNotFndMsg(WebClient client,
HTMLComponent txt)
The component for the Record Not Found message.
|
HTMLComponent |
getValidationErrorItem(WebClient client,
DBObject baseData,
ValidationItem itm,
HTMLComponent txt)
The component for a Validation Error.
|
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
|
boolean |
showComponent(SDBContext context,
SDBComponent component)
Should we show this component ?
|
public ActivityScreenPlugin(SDBScreen scrn)
scrn - public void addButtons(SDBScreenContext context, HTMLPage page, java.lang.String next, java.util.ArrayList list)
ButtonBarPluginaddButtons in interface ButtonBarPlugincontext - the contextpublic void addHiddenFields(SDBContext context, HTMLForm form) throws java.lang.Exception
ProcessParametersPluginaddHiddenFields in interface ProcessParametersPlugincontext - the contextform - java.lang.Exception - a serious problempublic boolean showComponent(SDBContext context, SDBComponent component)
ShowComponentPluginshowComponent in interface ShowComponentPlugincontext - the contextcomponent - public void preProcessParameters(WebClient client, DBObject base) throws java.lang.Exception
ProcessParametersPluginpreProcessParameters in interface ProcessParametersPluginclient - the client to usebase - the base objectjava.lang.Exception - a serious problempublic void setProcessParametersAttribute(WebClient client, FormData fd) throws java.lang.Exception
ProcessParametersPluginsetProcessParametersAttribute in interface ProcessParametersPluginclient - the client to usefd - java.lang.Exception - a serious problempublic void setProcessParametersOrder(WebClient client, java.util.ArrayList orderedList) throws java.lang.Exception
ProcessParametersPluginsetProcessParametersOrder in interface ProcessParametersPluginclient - the client to useorderedList - java.lang.Exception - a serious problempublic void postProcessParameters(WebClient client, DBObject base) throws java.lang.Exception
postProcessParameters in interface ProcessParametersPluginclient - the client to usebase - the base objectjava.lang.Exception - a serious problempublic HTMLComponent getConfirmDeleteMsg(WebClient client, DBObject baseData, HTMLComponent txt)
MessageHandlerPlugingetConfirmDeleteMsg in interface MessageHandlerPluginclient - the clientbaseData - base objecttxt - original tex msgpublic HTMLComponent getRecordNotFndMsg(WebClient client, HTMLComponent txt)
MessageHandlerPlugingetRecordNotFndMsg in interface MessageHandlerPluginclient - the clienttxt - original text msgpublic HTMLComponent getValidationErrorItem(WebClient client, DBObject baseData, ValidationItem itm, HTMLComponent txt)
MessageHandlerPlugingetValidationErrorItem in interface MessageHandlerPluginclient - the clientbaseData - base objectitm - txt - original text msgpublic HTMLComponent makeHTMLComponent(SDBContext context, SDBComponent screenComponent, HTMLComponent htmlComponent) throws java.lang.Exception
MakeHTMLComponentPluginmakeHTMLComponent in interface MakeHTMLComponentPlugincontext - the contextjava.lang.Exception - a serious problempublic java.lang.String determineScreenAction(SDBScreenContext context, java.lang.String nextAction) throws java.lang.Exception
ScreenWorkflowPlugindetermineScreenAction in interface ScreenWorkflowPlugincontext - the contextnextAction - java.lang.Exception - Exception A serious problempublic java.lang.String getNextWindowUrl(SDBScreenContext context, java.lang.String url)
ScreenWorkflowPlugingetNextWindowUrl in interface ScreenWorkflowPlugincontext - the contexturl - public java.lang.String getNextWindowTarget(SDBScreenContext context, java.lang.String target)
ScreenWorkflowPlugingetNextWindowTarget in interface ScreenWorkflowPlugincontext - the contexttarget - stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.