Class PropertyTreePermissionModel

java.lang.Object
com.inductiveautomation.perspective.gateway.property.PropertyTreePermissionModel
Direct Known Subclasses:
ClientPermissionModel, DesignerPermissionModel, StaticPermissionModel

public abstract class PropertyTreePermissionModel extends Object
Object attached to a property tree that controls which nodes may be written to and sync'ed to the browser.
  • Field Details

  • Constructor Details

    • PropertyTreePermissionModel

      public PropertyTreePermissionModel()
  • Method Details

    • getRestrictions

      protected abstract Stream<org.apache.commons.lang3.tuple.Pair<JsonPath, PropertyAccess>> getRestrictions()
    • allowWrite

      public boolean allowWrite(JsonPath path, Origin source)
    • allowSync

      public boolean allowSync(JsonPath path)