Class DesignTimePermissionCollection
- java.lang.Object
-
- com.thingworx.security.permissions.AssignedPermissionMap
-
- com.thingworx.security.permissions.DesignTimePermissionCollection
-
- All Implemented Interfaces:
IDiffableObject
,java.lang.Cloneable
@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public class DesignTimePermissionCollection extends AssignedPermissionMap implements java.lang.Cloneable
-
-
Constructor Summary
Constructors Constructor Description DesignTimePermissionCollection()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DesignTimePermissionCollection
fromJSON(org.json.JSONObject jsonObject)
void
mergePermissions(DesignTimePermissionCollection 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(DesignTimePermissionCollection 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 DesignTimePermissionCollection fromJSON(org.json.JSONObject jsonObject) throws java.lang.Exception
- Throws:
java.lang.Exception
- If an error occurs
-
-