Class PropertyTreePermissionModel
- java.lang.Object
-
- com.inductiveautomation.perspective.gateway.property.PropertyTreePermissionModel
-
- Direct Known Subclasses:
ClientPermissionModel,DesignerPermissionModel,StaticPermissionModel
public abstract class PropertyTreePermissionModel extends java.lang.ObjectObject attached to a property tree that controls which nodes may be written to and sync'ed to the browser.
-
-
Field Summary
Fields Modifier and Type Field Description static PropertyTreePermissionModelALLOW_ALL
-
Constructor Summary
Constructors Constructor Description PropertyTreePermissionModel()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanallowSync(JsonPath path)booleanallowWrite(JsonPath path, Origin source)protected abstract java.util.stream.Stream<org.apache.commons.lang3.tuple.Pair<JsonPath,PropertyAccess>>getRestrictions()
-
-
-
Field Detail
-
ALLOW_ALL
public static final PropertyTreePermissionModel ALLOW_ALL
-
-
Method Detail
-
getRestrictions
protected abstract java.util.stream.Stream<org.apache.commons.lang3.tuple.Pair<JsonPath,PropertyAccess>> getRestrictions()
-
allowSync
public boolean allowSync(JsonPath path)
-
-