Interface UpdateViewProperties

  • All Superinterfaces:
    PendingUpdate<java.util.Map<java.lang.String,​java.lang.String>>

    public interface UpdateViewProperties
    extends PendingUpdate<java.util.Map<java.lang.String,​java.lang.String>>
    API for updating view properties.

    Apply returns the updated view properties as a map for validation.

    When committing, these changes will be applied to the current view metadata. Commit conflicts will be resolved by applying the pending changes to the new view metadata.

    • Method Detail

      • set

        UpdateViewProperties set​(java.lang.String key,
                                 java.lang.String value)
        Add a key/value property to the view.
        Parameters:
        key - a String key
        value - a String value
        Returns:
        this for method chaining
        Throws:
        java.lang.NullPointerException - If either the key or value is null
      • remove

        UpdateViewProperties remove​(java.lang.String key)
        Remove the given property key from the view.
        Parameters:
        key - a String key
        Returns:
        this for method chaining
        Throws:
        java.lang.NullPointerException - If the key is null