public interface FormEventHandler
Modifier and Type | Method and Description |
---|---|
void |
afterDelete(DMSForm f)
This method is called after the form has been deleted from
the store.
|
void |
afterInsert(DMSForm f)
This method is called after the form has been inserted into
the store.
|
void |
afterUpdate(DMSForm f)
This method is called after the form has been updated in
the store.
|
void |
beforeDelete(DMSForm f)
This method is called before the form is deleted.
|
void |
beforeInsert(DMSForm f)
This method is called before the form is inserted into
the store.
|
void |
beforeShow(DMSForm f,
FormContext ctx,
javax.servlet.http.HttpServletRequest req)
This method will be called before the page for the passed form is build.
|
void |
beforeUpdate(DMSForm f)
This method is called before the form is updated in the
store (the existing form in the store will be overwritten with the
values of this form).
|
java.lang.String |
getName(DMSForm f)
Returns the name of this form.
|
void |
onShow(DMSForm f,
ActivityInstance ai,
HTMLPage p,
javax.servlet.http.HttpServletRequest req)
This method is called before the form is sent to the browser.
|
void beforeInsert(DMSForm f) throws java.lang.Exception
f
- the form to insertjava.lang.Exception
void beforeUpdate(DMSForm f) throws java.lang.Exception
f
- the form to updatejava.lang.Exception
void beforeDelete(DMSForm f) throws java.lang.Exception
f
- the form to deletejava.lang.Exception
void afterInsert(DMSForm f) throws java.lang.Exception
f
- the inserted formjava.lang.Exception
void afterUpdate(DMSForm f) throws java.lang.Exception
f
- the updated formjava.lang.Exception
void afterDelete(DMSForm f) throws java.lang.Exception
f
- the deleted formjava.lang.Exception
void beforeShow(DMSForm f, FormContext ctx, javax.servlet.http.HttpServletRequest req) throws java.lang.Exception
f
- the form to showctx
- holds context information for the formreq
- the http request requesting the form's pagejava.lang.Exception
void onShow(DMSForm f, ActivityInstance ai, HTMLPage p, javax.servlet.http.HttpServletRequest req) throws java.lang.Exception
f
- the form to showai
- the actual activity instance (in case of process forms)p
- the html page which will be sent to the browserreq
- the http request requesting the form's pagejava.lang.Exception
java.lang.String getName(DMSForm f) throws java.lang.Exception
f
- the form which name is wantedjava.lang.Exception
@enterprise 9.0.33982 Copyright © 2001-2023 Groiss Informatics GmbH. All Rights Reserved.