public class TimeSheetScreenPlugin extends java.lang.Object implements ProcessParametersPlugin
Constructor and Description |
---|
TimeSheetScreenPlugin(SDBScreen scrn) |
Modifier and Type | Method and Description |
---|---|
void |
addHiddenFields(SDBContext context,
HTMLForm form)
add hidden fields to the form
|
void |
postProcessParameters(WebClient client,
DBObject base)
The main purpose of this procedure is to ensure that the screen shows
at least one entry for each activity assigned to the current user
In the case where there is no pre-existing time entry an empty one
is created
|
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
|
public TimeSheetScreenPlugin(SDBScreen scrn)
public 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 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
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 void addHiddenFields(SDBContext context, HTMLForm form) throws java.lang.Exception
ProcessParametersPlugin
addHiddenFields
in interface ProcessParametersPlugin
context
- the contextform
- the formjava.lang.Exception
- a serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.