Package io.vertigo.ui.core
Class ViewContextUpdateSecurity
java.lang.Object
io.vertigo.ui.core.ViewContextUpdateSecurity
- All Implemented Interfaces:
Serializable
Keep the viewContext updatable data allowed.
A state securedUpdates, defined when this security is enabled (controllers could always update data).
- Author:
- npiedeloup
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddUpdatableKey(String object) voidaddUpdatableKey(String object, String fieldName, String rowIndex) voidassertAllowedFields(Enumeration<String> parameterNames) voidassertIsUpdatable(String object) voidassertIsUpdatable(String object, String fieldName) String[]voidsetCheckUpdates(boolean checkUpdates) Fixe le mode d'update : filtré ou non (par les champs éditables de l'ihm).static ViewContextUpdateSecurity
-
Constructor Details
-
ViewContextUpdateSecurity
public ViewContextUpdateSecurity()
-
-
Method Details
-
unmodifiable
-
assertIsUpdatable
-
assertIsUpdatable
-
setCheckUpdates
public void setCheckUpdates(boolean checkUpdates) Fixe le mode d'update : filtré ou non (par les champs éditables de l'ihm). -
addUpdatableKey
-
addUpdatableKey
-
assertAllowedFields
-
getAllowedFields
-