public interface FormEventHandler
Modifier and Type | Method and Description |
---|---|
default void |
afterDelete(DMSForm f)
This method is called after the form has been deleted from
the store.
|
default void |
afterInsert(DMSForm f)
This method is called after the form has been inserted into
the store.
|
default void |
afterUpdate(DMSForm f)
This method is called after the form has been updated in
the store.
|
default void |
beforeDelete(DMSForm f)
This method is called before the form is deleted.
|
default void |
beforeInsert(DMSForm f)
This method is called before the form is inserted into
the store.
|
default void |
beforeShow(DMSForm f,
FormContext ctx,
HttpServletRequest req)
This method will be called before the page for the passed form is build.
|
default 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).
|
default Date |
getChangedAt(DMSForm f)
Deprecated.
|
default String |
getName(DMSForm f)
Returns the name of this form.
|
default void |
onShow(DMSForm f,
ActivityInstance ai,
HTMLPage p,
HttpServletRequest req)
This method is called before the form is sent to the browser.
|
default void beforeInsert(DMSForm f) throws Exception
f
- the form to insertException
default void beforeUpdate(DMSForm f) throws Exception
f
- the form to updateException
default void beforeDelete(DMSForm f) throws Exception
f
- the form to deleteException
default void afterInsert(DMSForm f) throws Exception
f
- the inserted formException
default void afterUpdate(DMSForm f) throws Exception
f
- the updated formException
default void afterDelete(DMSForm f) throws Exception
f
- the deleted formException
default void beforeShow(DMSForm f, FormContext ctx, HttpServletRequest req) throws Exception
f
- the form to showctx
- holds context information for the formreq
- the http request requesting the form's pageException
default void onShow(DMSForm f, ActivityInstance ai, HTMLPage p, HttpServletRequest req) throws 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 pageException
default String getName(DMSForm f) throws Exception
f
- the form which name is wantedException
@Deprecated default Date getChangedAt(DMSForm f) throws Exception
f
- the formException
@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.