Class PropertyTreePermissionModel
- java.lang.Object
-
- com.inductiveautomation.perspective.gateway.property.PropertyTreePermissionModel
-
- Direct Known Subclasses:
ClientPermissionModel
,DesignerPermissionModel
,StaticPermissionModel
public abstract class PropertyTreePermissionModel extends java.lang.Object
Object 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 PropertyTreePermissionModel
ALLOW_ALL
-
Constructor Summary
Constructors Constructor Description PropertyTreePermissionModel()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
allowSync(JsonPath path)
boolean
allowWrite(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)
-
-