Package com.axelor.meta.headless
Interface ActionInteraction
public interface ActionInteraction
The only way a session asks for a decision: wherever the browser would put a dialog in front of
the user. The session never decides policy itself.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ActionInteractionAnswers every question withDecision.CANCEL.static final ActionInteractionAnswers every question withDecision.CONTINUE: Yes to everything a user is asked. -
Method Summary
Modifier and TypeMethodDescriptiononAlert(ActionAlert alert) An action's alert, or a button's prompt.default DecisiononIdentityCheck(ActionAlert alert) The server asks the user to re-authenticate.
-
Field Details
-
CANCEL_ALL
Answers every question withDecision.CANCEL. -
CONTINUE_ALL
Answers every question withDecision.CONTINUE: Yes to everything a user is asked.
-
-
Method Details
-
onAlert
An action's alert, or a button's prompt. -
onIdentityCheck
The server asks the user to re-authenticate. Nobody can do that for them, so the default isDecision.CANCEL.
-