|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.gx.webmanager.handler.forms.foundation.FormHandlerBase
nl.gx.webmanager.handler.forms.handling.ProfileHandler
public class ProfileHandler
Looks for formparts with webusers as a resource and uses those to update or insert a user profile in the webuser database.
| Variable | Type | Mode | Default | Description |
|---|---|---|---|---|
| webUserNameColumn | Parameter | Optional | username | Database column used for the userid. |
| insertuser | Parameter | Optional | false | If set to 'true', the profile is inserted rather than updated. |
| webid | Parameter | Required (if insertuser=true) | - | Only when 'insertuser' is 'true', the 'webid' must be inserted. |
| Field Summary |
|---|
| Fields inherited from class nl.gx.webmanager.handler.forms.foundation.FormHandlerBase |
|---|
DEFAULT_STATEMENT_TIMEOUT, log, staticlog |
| Constructor Summary | |
|---|---|
ProfileHandler()
|
|
| Method Summary | |
|---|---|
void |
doHandle(FormDefinition form,
State formState,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Processes the form. |
void |
init(FormComponentConfig config)
Passes the initialization parameters to the component. |
| Methods inherited from class nl.gx.webmanager.handler.forms.foundation.FormHandlerBase |
|---|
close, close, close, executeInsertWithIdentityMSSQLMYSQL, executeInsertWithIdentityOracle, executeIntegerQuery, executeIntegerQuery, executeIntegersQuery, executeIntegersQuery, executeQuery, executeStringQuery, executeUpdate, fillValues, getDataSource, setArguments, setArguments |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProfileHandler()
| Method Detail |
|---|
public void init(FormComponentConfig config)
throws InitializationException
FormComponent
init in interface FormComponentconfig - The FormComponentConfig object that contains
configutation information for this component.
InitializationException - If initialization failed
public void doHandle(FormDefinition form,
State formState,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws HandleException
Handler
doHandle in interface Handlerform - The definition of the form for which the submitted values
should be handled.formState - The session values for the formreq - The http requestres - The http response
HandleException - If the form values could not be handled correctly
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||