Class ViewContextUpdateSecurity

  • All Implemented Interfaces:
    Serializable

    public final class ViewContextUpdateSecurity
    extends Object
    implements 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:
    Serialized Form
    • Constructor Detail

      • ViewContextUpdateSecurity

        public ViewContextUpdateSecurity()
    • Method Detail

      • assertIsUpdatable

        public void assertIsUpdatable​(String object,
                                      String fieldName)
      • assertIsUpdatable

        public void assertIsUpdatable​(String object)
      • setCheckUpdates

        public void setCheckUpdates​(boolean checkUpdates)
        Fixe le mode d'update : filtré ou non (par les champs éditables de l'ihm).
      • addUpdatableKey

        public void addUpdatableKey​(String object,
                                    String fieldName,
                                    String rowIndex)
      • addUpdatableKey

        public void addUpdatableKey​(String object)
      • assertAllowedFields

        public void assertAllowedFields​(Enumeration<String> parameterNames)
      • getAllowedFields

        public String[] getAllowedFields()