public abstract class AbstractStatefulAction<INPUT,OUTPUT> extends AbstractComponentWidgetAdapterAware implements CockpitAction<INPUT,OUTPUT>
| Constructor and Description |
|---|
AbstractStatefulAction() |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
getActionUID(ActionContext<?> context)
Reads unique identity of action.
|
protected <V> V |
getValue(ActionContext<INPUT> actionContext,
String key)
Reads a value from parent's widget model.
|
protected static <V> V |
restoreModelValue(ActionContext<?> context,
String key)
Reads a value from parent's widget model.
|
protected void |
setValue(ActionContext<INPUT> actionContext,
String key,
Object value)
Puts a value to parent's widget model.
|
protected static void |
storeModelValue(ActionContext<?> context,
String key,
Object value)
Puts a value to parent's widget model.
|
addSocketInputEventListener, getComponentID, handleSocketInputEvent, initialize, initializeDefaultEventListeners, registerStubInstance, sendOutput, setComponentID, unregisterStubInstanceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanPerform, getConfirmationMessage, needsConfirmation, performprotected <V> V getValue(ActionContext<INPUT> actionContext, String key)
Method is resistant to situation when many instances of a particular action used in single parent widgets.
V - value typeactionContext - action contextkey - value keynullprotected void setValue(ActionContext<INPUT> actionContext, String key, Object value)
Method is resistant to situation when many instances of a particular action used in single parent widgets.
actionContext - action contextkey - value keyvalue - value to be putprotected static <V> V restoreModelValue(ActionContext<?> context, String key)
Method is resistant to situation when many instances of a particular action used in single parent widgets.
V - value typecontext - action contextkey - value keynullprotected static void storeModelValue(ActionContext<?> context, String key, Object value)
Method is resistant to situation when many instances of a particular action used in single parent widgets.
context - action contextkey - value keyvalue - value to be putprotected static String getActionUID(ActionContext<?> context)
context - action contextCopyright © 2018. All rights reserved.