public interface Invokable
#getTagSequence
.SessionStd
,
Dialog
Modifier and Type | Method and Description |
---|---|
void |
afterOutput()
Called by SessionStd after the servlet response is written.
|
void |
beforeOutput()
Called by SessionStd before the servlet response is written.
|
void |
destroy()
Destroy this object in order to free resources and weak references more early than
garbage collector.
|
void |
fetchValuesFromRequest(GeneralizedRequest request)
Causes the invokable to delegate this function to all embedded markupables
to fetch their current value as edited by the user from the request.
|
java.lang.Class<? extends Invokable> |
getInvokableInAdvance()
Returns a Invokable class which is to be invoked before this Invokable can be shown.
|
int |
getStackMovement()
Returns the wished stack movement.
|
Submission |
getSubmission()
Informs the next invokable in stack about the submission details.
|
void |
init()
Initializes the invokable in order to reuse the component without garbage
from previous usage.
|
boolean |
isCancelable()
Indicates whether the invokable accepts to be canceled.
|
boolean |
isSuitableDialog(GeneralizedRequest request)
Indicates whether the request fits to this dialog.
|
void |
process(GeneralizedRequest request)
Allows the invokable to react to the request.
|
void |
setSubmitter(Invokable submitter)
Informs this invokable, from which previous invokable it is submitted.
|
boolean |
wantToBeFinalized()
Returns true if the invokable wants to be finalized after request is worked off.
|
void init()
java.lang.Class<? extends Invokable> getInvokableInAdvance()
void beforeOutput()
SessionStd
void afterOutput()
SessionStd
boolean isCancelable()
boolean isSuitableDialog(GeneralizedRequest request)
request
- the request to checkvoid fetchValuesFromRequest(GeneralizedRequest request)
request
- the request from where the values are to be fetchedMarkupable#fetchYourValueFromRequest
void process(GeneralizedRequest request)
request
- the request to react tovoid setSubmitter(Invokable submitter)
submitter
- the invokable that submitted this invokableSubmission getSubmission()
int getStackMovement()
boolean wantToBeFinalized()
SessionStd
void destroy()
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de