public final class KActionContext extends HashMap<String,Serializable>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
static String |
CTX
Clée de l'id de context dans le context.
|
| Constructor and Description |
|---|
KActionContext()
Constructeur.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(Object key) |
String |
findKey(io.vertigo.dynamo.domain.model.DtObject dtObject) |
String |
findKey(io.vertigo.vega.webservice.model.UiObject<?> uiObject) |
Serializable |
get(Object key) |
Boolean |
getBoolean(String key) |
String |
getId() |
Integer |
getInteger(String key) |
Long |
getLong(String key) |
String |
getString(String key) |
<O extends io.vertigo.dynamo.domain.model.DtObject> |
getUiList(String key) |
<O extends io.vertigo.dynamo.domain.model.DtObject> |
getUiListModifiable(String key) |
<O extends io.vertigo.dynamo.domain.model.DtObject> |
getUiObject(String key) |
boolean |
isDirty() |
void |
makeModifiable()
Génère un nouvel Id et passe le context en modifiable.
|
void |
makeUnmodifiable()
passe le context en non-modifiable.
|
void |
markDirty()
Mark this context as Dirty : shouldn't be stored and keep old id.
|
Serializable |
put(String key,
Serializable value) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic static final String CTX
public Serializable get(Object key)
get in interface Map<String,Serializable>get in class HashMap<String,Serializable>public <O extends io.vertigo.dynamo.domain.model.DtObject> io.vertigo.vega.webservice.model.UiObject<O> getUiObject(String key)
key - Clé de contextpublic <O extends io.vertigo.dynamo.domain.model.DtObject> io.vertigo.vega.webservice.model.UiList<O> getUiList(String key)
key - Clé de contextpublic <O extends io.vertigo.dynamo.domain.model.DtObject> StrutsUiListModifiable<O> getUiListModifiable(String key)
key - Clé de contextpublic String getString(String key)
key - Clé de contextpublic Integer getInteger(String key)
key - Clé de contextpublic Boolean getBoolean(String key)
key - Clé de contextpublic boolean containsKey(Object key)
containsKey in interface Map<String,Serializable>containsKey in class HashMap<String,Serializable>public String findKey(io.vertigo.vega.webservice.model.UiObject<?> uiObject)
uiObject - UiObject recherchépublic String findKey(io.vertigo.dynamo.domain.model.DtObject dtObject)
dtObject - DtObject recherchépublic Serializable put(String key, Serializable value)
put in interface Map<String,Serializable>put in class HashMap<String,Serializable>public String getId()
public void makeModifiable()
public void makeUnmodifiable()
public void markDirty()
public boolean isDirty()
Copyright © 2017. All Rights Reserved.