Class VisibilityPermissionCollection
- java.lang.Object
-
- com.thingworx.security.permissions.AssignedPermissionMap
-
- com.thingworx.security.permissions.VisibilityPermissionCollection
-
- All Implemented Interfaces:
IDiffableObject
,java.lang.Cloneable
@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public final class VisibilityPermissionCollection extends AssignedPermissionMap implements java.lang.Cloneable
-
-
Constructor Summary
Constructors Constructor Description VisibilityPermissionCollection()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VisibilityPermissionCollection
fromJSON(org.json.JSONObject jsonObject)
void
mergePermissions(VisibilityPermissionCollection permissions)
org.json.JSONObject
toJSON()
-
Methods inherited from class com.thingworx.security.permissions.AssignedPermissionMap
addPermission, deleteAllPermissions, deletePermission
-
-
-
-
Method Detail
-
mergePermissions
@ThingworxExtensionApiMethod(since={6,6}) public void mergePermissions(VisibilityPermissionCollection permissions)
-
toJSON
@ThingworxExtensionApiMethod(since={6,6}) public org.json.JSONObject toJSON() throws java.lang.Exception
- Throws:
java.lang.Exception
- If an error occurs
-
fromJSON
@ThingworxExtensionApiMethod(since={6,6}) public static VisibilityPermissionCollection fromJSON(org.json.JSONObject jsonObject) throws java.lang.Exception
- Throws:
java.lang.Exception
- If an error occurs
-
-